[FFmpeg-devel] Problem with av_find_stream_info and possible solution(s)

Michael Niedermayer michaelni
Fri Jan 30 16:45:39 CET 2009

On Fri, Jan 30, 2009 at 04:36:22PM +0100, Luca Abeni wrote:
> Hi Michael,
> 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
>>>> 1/90000
>>>> 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?
>> no
>> 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: 
> If anyone suggests a more appropriate name, I'll happily change it.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- 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/20090130/54dc977d/attachment.pgp>

More information about the ffmpeg-devel mailing list