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

Jean Louis ffmpeg at rcdrun.com
Tue May 1 18:58:42 EEST 2018


On Tue, May 01, 2018 at 05:58:46PM +0200, Carl Eugen Hoyos wrote:
> 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

Tried it. Again the same non-functional
result. Even worse, now is sound not in sync with
video.

Jean


More information about the ffmpeg-user mailing list