[FFmpeg-user] Fwd: problem with analyzeduration
Andrey Utkin
andrey.krieger.utkin at gmail.com
Wed Mar 7 11:14:21 CET 2012
7 марта 2012 г. 1:02 пользователь Маджугин Александр
<madzhugin at yandex.ru> написал:
> Hi.
> I have faced the following problem - i have to make a photo with webcam and i have to do it quickly.
> But while running ffmpeg analizes input stream too long - about 2-3 sec.
> I tried to use the option "-analyzeduration 0", however, it didn't give any result - ffmpeg analizes input stream anyway.
> I also tried to describe input stream totally, but it didn't give any result again.
>
> I use the following command:
> "ffmpeg -f video4linux2,v4l2 -analyzeduration 0 -s 640x480 -qscale 0 -r 30 -pix_fmt yuyv422 -i /dev/video0 -f image2 -c:v mjpeg -pix_fmt yuvj422p -vframes 1 out.jpg"
Try adding
-probesize 0 -fpsprobesize 0
--
Andrey Utkin
More information about the ffmpeg-user
mailing list