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

Nicolas George george at nsup.org
Thu Jun 23 17:33:28 EEST 2022


Wujian(Chin) (12022-06-23):
> 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
> 
> Signed-off-by: wujian_nanjing <wujian2 at huawei.com>
> ---
>  fftools/ffprobe.c                                  | 24 ++++++++++++++++++++++
>  tests/ref/fate/concat-demuxer-extended-lavf-mxf    |  2 +-
>  .../ref/fate/concat-demuxer-extended-lavf-mxf_d10  |  2 +-
>  tests/ref/fate/concat-demuxer-simple1-lavf-mxf     |  2 +-
>  tests/ref/fate/concat-demuxer-simple1-lavf-mxf_d10 |  2 +-
>  tests/ref/fate/flv-demux                           |  2 +-
>  tests/ref/fate/mov-zombie                          |  2 +-
>  tests/ref/fate/ts-small-demux                      |  2 +-
>  8 files changed, 31 insertions(+), 7 deletions(-)

I see no documentation update. It is necessary, including the XML
schema.

Please take care to document over what period the bit rate is computed.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220623/dfd9ee96/attachment.sig>


More information about the ffmpeg-devel mailing list