[FFmpeg-devel] Fix ffmpeg -re behaviour

Luca Abeni lucabe72
Tue Nov 25 17:49:25 CET 2008

Hi Michael,

Michael Niedermayer wrote:
>> Yes, I can agree with most of this. But (I think) the point of this 
>> patch is not to provide a "correct" streaming support. I think the point 
>> of this patch is to fix "-re", which currently works only in some 
>> special cases (it does not work for audio only-files, and it does not 
>> work for some input containers/codecs - flv, if I remember well).
>> In this sense, I think the patch is actually fixing a bug (then, it can 
>> be questioned if "-re" is the right thing for streaming, etc... But I 
>> think it's a different issue ;-). And I think the code after applying 
>> this patch is more compliant with the definition of "-re" given by 
>> ffmpeg (but this is just my opinion).
> ohh well, fine, lets fix the -re hack

good, thanks

> but please use pts instead of next_pts unless that works less well.

Ok. I'll run some tests this night


More information about the ffmpeg-devel mailing list