[FFmpeg-user] How to properly record sound when capturing web cam?

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue May 1 18:58:46 EEST 2018

2018-05-01 13:52 GMT+02:00, Jean Louis <ffmpeg at rcdrun.com>:

> admin-> ffmpeg -y -f v4l2 -video_size 320x240 -i /dev/video0
> -thread_queue_size 800 -f alsa -i default -q:v 4 output.mp4

I don't know if this makes a difference but you can try to
swap inputs:

$ ffmpeg -f alsa -i default -video_size 320x240 -i /dev/video0
-thread_queue_size 800 -qscale 4 out.mp4

Carl Eugen

More information about the ffmpeg-user mailing list