diff options
author | Zhao Zhili <[email protected]> | 2025-09-01 14:55:44 +0800 |
---|---|---|
committer | James Almer <[email protected]> | 2025-09-01 12:41:38 +0000 |
commit | 9a34ddc345ddbc4810799fad65c7fa9d65b15eb1 (patch) | |
tree | ea7d29d56d0efebb54995ac73074b2d337374ef7 /tests | |
parent | 126671e73065e29c9582e47bc74774af2200fc8f (diff) |
avformat/movenc: remove mvex from final mp4 in hybrid_fragmented mode
In hybrid_fragmented mode, the first moov at start should contain
mvex tag, since it's fmp4. When writing the moov at the second time,
it's not fmp4 any more, so mvex should be skipped.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/mov.mak | 2 | ||||
-rw-r--r-- | tests/ref/lavf/mov_hybrid_frag | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak index 421845969b..8e0988000d 100644 --- a/tests/fate/mov.mak +++ b/tests/fate/mov.mak @@ -92,7 +92,7 @@ fate-mov-frag-overlap: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/frag_overlap.mp4 fate-mov-mp4-frag-flush: CMD = md5 -f lavfi -i color=blue,format=rgb24,trim=duration=0.04 -f lavfi -i anullsrc,aformat=s16,atrim=duration=2 -c:v png -c:a pcm_s16le -movflags +empty_moov+hybrid_fragmented -frag_duration 1000000 -frag_interleave 1 -bitexact -f mp4 fate-mov-mp4-frag-flush: CMP = oneline -fate-mov-mp4-frag-flush: REF = c9d0236bde4a0b24a01f6a032fd72e04 +fate-mov-mp4-frag-flush: REF = a1ac687d15552505f3c01a43285f32d0 FATE_MOV_FFMPEG-$(call ALLYES, LAVFI_INDEV COLOR_FILTER FORMAT_FILTER TRIM_FILTER \ ANULLSRC_FILTER AFORMAT_FILTER ATRIM_FILTER \ WRAPPED_AVFRAME_DECODER PCM_S16LE_DECODER PCM_S16BE_DECODER \ diff --git a/tests/ref/lavf/mov_hybrid_frag b/tests/ref/lavf/mov_hybrid_frag index cd449712b9..64f4e9085e 100644 --- a/tests/ref/lavf/mov_hybrid_frag +++ b/tests/ref/lavf/mov_hybrid_frag @@ -1,3 +1,3 @@ -4871796f41234350f1b050317d0288a3 *tests/data/lavf/lavf.mov_hybrid_frag -358508 tests/data/lavf/lavf.mov_hybrid_frag +7f79311fa73287c093aa029f58b71476 *tests/data/lavf/lavf.mov_hybrid_frag +358436 tests/data/lavf/lavf.mov_hybrid_frag tests/data/lavf/lavf.mov_hybrid_frag CRC=0xbb2b949b |