[FFmpeg-devel] [PATCH 6/6] Implement v4l2 input size autodetection.

Michael Niedermayer michaelni
Tue Apr 27 15:57:17 CEST 2010

On Tue, Apr 27, 2010 at 10:59:30AM +0200, Luca Abeni wrote:
> Luca Abeni wrote:
>> Stefano Sabatini wrote:
>> [...]
>>> BTW, I'm noticing that:
>>> ffplay -f video4linux2 /dev/video0
>>> starts with a smooth playback, then the framerate seems to linearly
>>> decrease and becomes very slow just after few seconds.
>> After a first look, the problem seems to be that ffplay does not
>> release all the frames (it releases some of them, but sometimes
>> some frame is not freed... After few seconds, all the v4l2 buffers
>> are busy and not freed, and VIDIOC_DQBUF fails).
> Update: setting "framedrop" to 0 in ffplay.c fixes the problem (BTW,
> how can I change the framedrop value using the command line? "-framedrop"
> does not seem to allow it).


> This is not a solution to the problem, but points to the faulty code
> (the frame dropping code in ffplay.c).

if you decide not to look into the ffplay issue then please open a
roundup issue so i wont forget about it


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100427/b6d727f5/attachment.pgp>

More information about the ffmpeg-devel mailing list