[FFmpeg-devel] A change in r_frame_rate values after upgrade to FFmpeg 6.1

Michael Niedermayer michael at niedermayer.cc
Tue Sep 24 02:49:09 EEST 2024


On Mon, Sep 23, 2024 at 09:56:52PM +0200, Anton Khirnov wrote:
> Quoting Kieran Kunhya via ffmpeg-devel (2024-09-23 21:30:09)
> > > On Mon, Sep 23, 2024 at 4:45 PM Kieran Kunhya via ffmpeg-devel <ffmpeg-devel at ffmpeg.org> wrote:
[...]
> > I think the OP is correct here that the behaviour makes no sense. If
> > something says frame_rate it's the rate of frames, not the rate of
> > fields or anything else.
> 
> As I said previously in this thread, r_frame_rate is NOT a frame rate.
> Yes, it is horribly named. It is also unknowable without analysing the
> entire stream,

For containers that have an index its possible to compute this exactly
For video streams that follow a standard which restricts frame durations,
the value can also be found exactly (if one assumes the whole stream
complies to that standard)

thx

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

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240924/97b54186/attachment.sig>


More information about the ffmpeg-devel mailing list