[FFmpeg-user] Play video and simultaneously record audio

Gyan ffmpeg at gyani.pro
Thu Jan 16 10:39:11 EET 2020



On 16-01-2020 01:52 pm, Michael Koch wrote:
> Hello all,
>
> can FFmpeg or FFplay be used for playing a video (without audio) and 
> exactly simultaneously record an audio file? I mean for making sound 
> effects for the video. If this isn't possible, is there any other free 
> software that can do it?

Basic syntax would be,

     ffmpeg -re -i videofile -f audiodevice -i audiourl  -map 1:a 
audioout.wav -map 0:v -f sdl2 -

(At a minimum, you'll need a ffmpeg build with SDL2 enabled; if your 
package includes ffplay, it'll have it)

Gyan


More information about the ffmpeg-user mailing list