mbox series

[FFmpeg-devel,0/5] avformat/movenc: btrt box support

Message ID 20200920170629.26504-1-jeebjp@gmail.com
Headers show
Series avformat/movenc: btrt box support | expand

Message

Jan Ekström Sept. 20, 2020, 5:06 p.m. UTC
Various media ingest servers read the incoming stream's advertised bit
rate from this box.

As it is only defined for timed metadata tracks in QTFF, limit it to
just MODE_MP4 (ISOBMFF) for now.

Unifies the MPEG-4 bit rate value calculation, and attempts to utilize
it everywhere matching.

Jan Ekström (5):
  avformat/movenc: split MPEG-4 bit rate value calculation
  avformat/movenc: utilize the maximum bit rate in ISML writing
  avformat/movenc: implement writing of the btrt box
  avformat/movenc: use more fall-back values for average bit rate fields
  avformat/movenc: simplify ISML manifest bit rate setting

 libavformat/movenc.c               | 103 ++++++++++++++++++++++-------
 tests/fate/mov.mak                 |   2 +-
 tests/ref/fate/binsub-movtextenc   |   2 +-
 tests/ref/fate/copy-trac3074       |   4 +-
 tests/ref/fate/movenc              | 102 ++++++++++++++--------------
 tests/ref/lavf-fate/av1.mp4        |   4 +-
 tests/ref/lavf-fate/h264.mp4       |   4 +-
 tests/ref/lavf/ismv                |   6 +-
 tests/ref/lavf/mp4                 |  12 ++--
 tests/ref/vsynth/vsynth1-mpeg4     |   4 +-
 tests/ref/vsynth/vsynth2-mpeg4     |   4 +-
 tests/ref/vsynth/vsynth3-mpeg4     |   4 +-
 tests/ref/vsynth/vsynth_lena-mpeg4 |   4 +-
 13 files changed, 156 insertions(+), 99 deletions(-)