[FFmpeg-devel] [PATCH] Frame rate emulation
Ramiro Ribeiro Polla
ramiro
Fri Jun 29 22:03:03 CEST 2007
Luca Abeni wrote:
> Hi Michael,
>
> Michael Niedermayer wrote:
> [...]
>
>>> (and I think v4l2 is not doing "frame rate emulation", it is just
>>> synchronizing with the real rate of the input...)
>>>
>> yes but IMHO no demuxer or protocol should be blocking like they do
>>
> Ok. After reading your email, I agree with you.
>
> But I think this would be a big change in the current behaviour, and we
> need to be careful about it. For example, most of the code using
> libavformat will have to be changed (if I understand ffmpeg.c correctly,
> just returning EAGAIN if a frame is not available would not change
> anything in the current behaviour, but will cause a 100% CPU load).
>
Any new ideas on how to not make it a busy wait?
Ramiro Polla
More information about the ffmpeg-devel
mailing list