From 3838e8fc210aa09a9f9058506c0ce80b6ad9b9c3 Mon Sep 17 00:00:00 2001 From: Jan Ekström Date: Sun, 20 Sep 2020 15:26:42 +0300 Subject: avformat/movenc: implement writing of the btrt box This is utilized by various media ingests to figure out the bit rate of the content you are pushing towards it, so write it for video, audio and subtitle tracks in case at least one nonzero value is available. It is only mentioned for timed metadata sample descriptions in QTFF, so limit it only to ISOBMFF (MODE_MP4) mode. Updates the FATE tests which have their results changed due to the 20 extra bytes being written per track. --- tests/fate/mov.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fate/mov.mak') diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak index 8d3b6c7224..0fd20fef96 100644 --- a/tests/fate/mov.mak +++ b/tests/fate/mov.mak @@ -113,7 +113,7 @@ fate-mov-spherical-mono: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries str fate-mov-gpmf-remux: CMD = md5 -i $(TARGET_SAMPLES)/mov/fake-gp-media-with-real-gpmf.mp4 -map 0 -c copy -fflags +bitexact -f mp4 fate-mov-gpmf-remux: CMP = oneline -fate-mov-gpmf-remux: REF = 8f48e435ee1f6b7e173ea756141eabf3 +fate-mov-gpmf-remux: REF = 6361cf3c2b9e6962c2eafbda138125f4 fate-mov-guess-delay-1: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=has_b_frames -select_streams v $(TARGET_SAMPLES)/h264/h264_3bf_nopyramid_nobsrestriction.mp4 fate-mov-guess-delay-2: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=has_b_frames -select_streams v $(TARGET_SAMPLES)/h264/h264_3bf_pyramid_nobsrestriction.mp4 -- cgit v1.2.3