[Ffmpeg-devel] [PATCH] Clarify definition of r_frame_rate

Michael Niedermayer michaelni
Sun Nov 12 14:49:57 CET 2006


Hi

On Sat, Nov 11, 2006 at 07:30:28PM -0700, Fred Rothganger wrote:
> 
> >this description is wrong, r_frame_rate is NOT the average framerate if it
> >where it would be called average_framerate
> >patch rejected
> >
> >you can add a average_framerate field if you lik but you cannot change the
> >meaning of a different variable to match what you would want it to mean
> >  
> 
> Could you define what r_frame_rate is?

see avformat.h i svn

    /**
     * real base frame rate of the stream.
     * this is the lowest framerate with which all timestamps can be
     * represented accurately (its the least common multiple of all
     * framerates in the stream), Note, this value is just a guess!
     * for example if the timebase is 1/90000 and all frames have either
     * approximately 3600 or 1800 timer ticks then r_frame_rate will be 50/1
     */
    AVRational r_frame_rate;


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list