[FFmpeg-devel] [PATCH] fftools/ffprobe.c: Add new Function: The peak bit rate of video streams can be queried

Nicolas Gaullier nicolas.gaullier at cji.paris
Mon Jun 27 11:01:38 EEST 2022


>Please review it! thks!
>
>Code Process
>- Calculate the frame rate first
>- Obtain the maximum value of the total bytes of all packets according to the number of frames per second

Nicolas George already answered you the 23th about required documentation.
In my opinion, there is today a commonplace definition of max bitrate that involves computation over a sliding window of 1s. This is reinforced by ISO/MP4 (14496-12), but even in the broadcast industry with the MXF file format, this is currently how a max bitrate is understood.
I fear that introducing another method of computation will raise some confusion for many end users.

Nicolas


More information about the ffmpeg-devel mailing list