[FFmpeg-devel] Problem with av_find_stream_info and possible solution(s)
Fri Jan 30 16:36:22 CET 2009
Michael Niedermayer wrote:
>>> I think the most obvious thing is the simple question if the user
>>> app wants the guessed frame rate or not.
>>> ffplay does not give a damn about it and ffmpeg in some cases
>>> should not need it either but for some cases like avi output
>>> it is essential to have some "reasonable minimal" timebase and not
>>> Adding a flag to enable/disable it should be easy ...
>> Ok; I'll have a look at adding this flag.
>> Anyway, double thinking about it I suspect this flag depends on the
>> input format... Is adding a flag in the input AVFormat reasonable?
> it belongs in AVFormatContext
> It is a flag set by the user app not fixed per input format
Ok... Sorry for the misunderstanding.
I tried implementing this flag; the result is attached. I am not good
at finding names, so I used the first one I could think about: AVFMT_FLAG_NOTB.
If anyone suggests a more appropriate name, I'll happily change it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2833 bytes
Desc: not available
More information about the ffmpeg-devel