[FFmpeg-user] Webcam capture
Paul B Mahol
onemda at gmail.com
Mon Jul 20 10:57:56 EEST 2020
On 7/20/20, Rodolfo Medina <rodolfo.medina at gmail.com> wrote:
> Hi all.
>
> When capturing video from webcam, with:
>
> $ ffmpeg -f video4linux2 -s 3200x2400 -i /dev/video0 -vb 20M out.mpg
3200x2400 is very big resolution
>
> , out.mpg stops, freezes, gets stuck at the beginning for a few seconds.
> Only
> at the beginning and only for a few seconds. I thought the problem was
> related
> to the cheap low-quality webcam but it completely disappears when I do
> instead:
>
> $ mencoder tv:// -tv
> driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:alsa:adevice=hw.1,0
> -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi
>
> So what could the cause be of the problem with ffmpeg?
>
> Thanks for any help.
>
> Rodolfo
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list