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

Luca Abeni lucabe72
Tue Apr 27 09:51:05 CEST 2010

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).

ffmpeg does not have this problem, so I suspect this is an ffplay
issue (maybe related to copying AVPackets, or something like that)...
Since it does not happen for all the frames, I suspect it is related
to some particular condition like dropping a frame, or duplicating
it, or buffering it...


More information about the ffmpeg-devel mailing list