This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 1a684e515a avformat/movenc: leave standalone MP4 tracks outside an
alternate group
1a684e515a is described below
commit 1a684e515ac4f1626ead92a19f80ff59cf0068e0
Author: Baptiste Coudurier <[email protected]>
AuthorDate: Fri Nov 13 21:24:50 2026 -0800
Commit: Baptiste Coudurier <[email protected]>
CommitDate: Wed Nov 18 23:55:35 2026 +0000
avformat/movenc: leave standalone MP4 tracks outside an alternate group
Zero is the default tkhd alternate_group in ISO/IEC 14496-12;
use it for single-stream MP4.
Signed-off-by: Baptiste Coudurier <[email protected]>
---
libavformat/movenc.c | 2 +-
tests/fate/mov.mak | 2 +-
tests/ref/fate/binsub-movtextenc | 2 +-
tests/ref/fate/copy-trac3074 | 2 +-
tests/ref/fate/generic-tags-remux-mov | 2 +-
tests/ref/fate/mov-mp4-chapters | 2 +-
tests/ref/fate/mov-mp4-edst-remainder | 2 +-
tests/ref/fate/mov-mp4-iamf-5_1_4 | 2 +-
tests/ref/fate/mov-mp4-iamf-ambisonic_1 | 2 +-
tests/ref/fate/mov-mp4-iamf-stereo | 2 +-
tests/ref/fate/mov-mp4-iamf-stereo-id-collision | 2 +-
tests/ref/fate/mov-mp4-loci | 2 +-
tests/ref/fate/mov-mp4-loci-no-altitude | 2 +-
tests/ref/fate/mov-mp4-mpegh-5_1_4-copy | 2 +-
tests/ref/fate/mov-mp4-pcm-float | 2 +-
tests/ref/fate/mov-mp4-ttml-dfxp | 2 +-
tests/ref/fate/mov-mp4-ttml-stpp | 2 +-
tests/ref/lavf-fate/eac3.mp4 | 2 +-
18 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 293a85633e..8826337b16 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -4158,7 +4158,7 @@ static int mov_write_tkhd_tag(AVIOContext *pb,
MOVMuxContext *mov,
const AVPacketSideData *sd;
if (mov->per_stream_grouping)
group = st->index;
- else
+ else if (mov->mode != MODE_MP4 || mov->nb_streams > 1)
group = st->codecpar->codec_type;
sd = av_packet_side_data_get(st->codecpar->coded_side_data,
diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak
index be39d60d21..723457d0f4 100644
--- a/tests/fate/mov.mak
+++ b/tests/fate/mov.mak
@@ -413,7 +413,7 @@ fate-mov-mp4-pcm-float: CMD = transcode wav
$(TARGET_PATH)/tests/data/asynth-441
fate-mov-pcm-remux: tests/data/asynth-44100-1.wav
fate-mov-pcm-remux: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav
-map 0 -c copy -fflags +bitexact -f mp4
fate-mov-pcm-remux: CMP = oneline
-fate-mov-pcm-remux: REF = 389df40a487ac8397ba20bda472434d7
+fate-mov-pcm-remux: REF = ce5e16a7335763cdacdade35b2c50c8b
FATE_MOV_FFMPEG-$(call TRANSCODE, RAWVIDEO, MOV, TESTSRC_FILTER SETPTS_FILTER)
+= fate-mov-vfr
fate-mov-vfr: CMD = md5 -filter_complex
testsrc=size=2x2:duration=1,setpts=N*N:strip_fps=1 -c rawvideo -fflags
+bitexact -f mov
diff --git a/tests/ref/fate/binsub-movtextenc b/tests/ref/fate/binsub-movtextenc
index 950094931b..87b81cb669 100644
--- a/tests/ref/fate/binsub-movtextenc
+++ b/tests/ref/fate/binsub-movtextenc
@@ -1 +1 @@
-0d86c9474810be37c4a1ce3136f9b933
+659b6b494ba4c60da039abf4f9c9310b
diff --git a/tests/ref/fate/copy-trac3074 b/tests/ref/fate/copy-trac3074
index 66509c7064..a033d5d4a5 100644
--- a/tests/ref/fate/copy-trac3074
+++ b/tests/ref/fate/copy-trac3074
@@ -1,4 +1,4 @@
-b73942f473de4f3c88dffe0a14f80c53 *tests/data/fate/copy-trac3074.mp4
+48dd5bdfdefc03c04989192c85555d4e *tests/data/fate/copy-trac3074.mp4
334015 tests/data/fate/copy-trac3074.mp4
#extradata 0: 5, 0x007c0028
#tb 0: 1/48000
diff --git a/tests/ref/fate/generic-tags-remux-mov
b/tests/ref/fate/generic-tags-remux-mov
index 25bc866092..6a7d5aff78 100644
--- a/tests/ref/fate/generic-tags-remux-mov
+++ b/tests/ref/fate/generic-tags-remux-mov
@@ -1,4 +1,4 @@
-f6544f83b6b59a90f6aa2b50c04b5776 *tests/data/fate/generic-tags-remux-mov.mp4
+6283a9b823636f4550b0f4056d72e9b2 *tests/data/fate/generic-tags-remux-mov.mp4
18063 tests/data/fate/generic-tags-remux-mov.mp4
#tb 0: 1/44100
#media_type 0: audio
diff --git a/tests/ref/fate/mov-mp4-chapters b/tests/ref/fate/mov-mp4-chapters
index 02f267a0fb..6b3ae00513 100644
--- a/tests/ref/fate/mov-mp4-chapters
+++ b/tests/ref/fate/mov-mp4-chapters
@@ -1,4 +1,4 @@
-f0289770c1fb126b195755ba7ccc1f50 *tests/data/fate/mov-mp4-chapters.mp4
+a87b2e58d0aeddc0e77e57be44860c83 *tests/data/fate/mov-mp4-chapters.mp4
111288 tests/data/fate/mov-mp4-chapters.mp4
#extradata 0: 3469, 0xc6769ddc
#tb 0: 1/44100
diff --git a/tests/ref/fate/mov-mp4-edst-remainder
b/tests/ref/fate/mov-mp4-edst-remainder
index ee20c2a9fb..4abf59fbe3 100644
--- a/tests/ref/fate/mov-mp4-edst-remainder
+++ b/tests/ref/fate/mov-mp4-edst-remainder
@@ -1,4 +1,4 @@
-5467a1538d7a9779895b29f078661217 *tests/data/fate/mov-mp4-edst-remainder.mp4
+3cd0b039814a19e49a23b7d63443db91 *tests/data/fate/mov-mp4-edst-remainder.mp4
25934 tests/data/fate/mov-mp4-edst-remainder.mp4
#extradata 0: 2, 0x00340022
#tb 0: 1/44100
diff --git a/tests/ref/fate/mov-mp4-iamf-5_1_4
b/tests/ref/fate/mov-mp4-iamf-5_1_4
index e7bcce54d0..2f12d416c2 100644
--- a/tests/ref/fate/mov-mp4-iamf-5_1_4
+++ b/tests/ref/fate/mov-mp4-iamf-5_1_4
@@ -1,4 +1,4 @@
-b8a3031c9ce9abe17368842c9744a18c *tests/data/fate/mov-mp4-iamf-5_1_4.mp4
+8e716b0da4d680223653e672b4ece910 *tests/data/fate/mov-mp4-iamf-5_1_4.mp4
86156 tests/data/fate/mov-mp4-iamf-5_1_4.mp4
#extradata 0: 34, 0xa77c0cd6
#extradata 1: 34, 0xa77c0cd6
diff --git a/tests/ref/fate/mov-mp4-iamf-ambisonic_1
b/tests/ref/fate/mov-mp4-iamf-ambisonic_1
index d3504a6bc7..cfd03c0cac 100644
--- a/tests/ref/fate/mov-mp4-iamf-ambisonic_1
+++ b/tests/ref/fate/mov-mp4-iamf-ambisonic_1
@@ -1,4 +1,4 @@
-5b419591f207d4a2636ef93a41446244 *tests/data/fate/mov-mp4-iamf-ambisonic_1.mp4
+055fee0d65af7d634591dd7c382db256 *tests/data/fate/mov-mp4-iamf-ambisonic_1.mp4
57611 tests/data/fate/mov-mp4-iamf-ambisonic_1.mp4
#extradata 0: 34, 0x9f9f0c6b
#extradata 1: 34, 0x9f9f0c6b
diff --git a/tests/ref/fate/mov-mp4-iamf-stereo
b/tests/ref/fate/mov-mp4-iamf-stereo
index ce00ebc72e..0121d4cefb 100644
--- a/tests/ref/fate/mov-mp4-iamf-stereo
+++ b/tests/ref/fate/mov-mp4-iamf-stereo
@@ -1,4 +1,4 @@
-e3da79a8ab08184a51dd0bc2c752b3b3 *tests/data/fate/mov-mp4-iamf-stereo.mp4
+d268398dd4374413f9b26d540ea99182 *tests/data/fate/mov-mp4-iamf-stereo.mp4
15130 tests/data/fate/mov-mp4-iamf-stereo.mp4
#extradata 0: 34, 0xa77c0cd6
#tb 0: 1/44100
diff --git a/tests/ref/fate/mov-mp4-iamf-stereo-id-collision
b/tests/ref/fate/mov-mp4-iamf-stereo-id-collision
index 42ff3baa2e..29c07a933c 100644
--- a/tests/ref/fate/mov-mp4-iamf-stereo-id-collision
+++ b/tests/ref/fate/mov-mp4-iamf-stereo-id-collision
@@ -1,4 +1,4 @@
-70db394605b10ad0ae367fd93eca5d77
*tests/data/fate/mov-mp4-iamf-stereo-id-collision.mp4
+8a3f028128f356a389f27a592d32a18d
*tests/data/fate/mov-mp4-iamf-stereo-id-collision.mp4
29290 tests/data/fate/mov-mp4-iamf-stereo-id-collision.mp4
#extradata 0: 34, 0xa77c0cd6
#extradata 1: 34, 0xa77c0cd6
diff --git a/tests/ref/fate/mov-mp4-loci b/tests/ref/fate/mov-mp4-loci
index 61d8ec6046..1ec1d268c7 100644
--- a/tests/ref/fate/mov-mp4-loci
+++ b/tests/ref/fate/mov-mp4-loci
@@ -1,4 +1,4 @@
-354a338c45ee40362460a8f6e950289a *tests/data/fate/mov-mp4-loci.mp4
+dae33c0bab1bf673ace752eaedc65955 *tests/data/fate/mov-mp4-loci.mp4
9570 tests/data/fate/mov-mp4-loci.mp4
#tb 0: 1/44100
#media_type 0: audio
diff --git a/tests/ref/fate/mov-mp4-loci-no-altitude
b/tests/ref/fate/mov-mp4-loci-no-altitude
index 255d784fd4..63a325dbf1 100644
--- a/tests/ref/fate/mov-mp4-loci-no-altitude
+++ b/tests/ref/fate/mov-mp4-loci-no-altitude
@@ -1,4 +1,4 @@
-5b04c9d342ab6b21efc99dbcf9421113 *tests/data/fate/mov-mp4-loci-no-altitude.mp4
+5eb276592731d1c6d781a69f9520e61a *tests/data/fate/mov-mp4-loci-no-altitude.mp4
9565 tests/data/fate/mov-mp4-loci-no-altitude.mp4
#tb 0: 1/44100
#media_type 0: audio
diff --git a/tests/ref/fate/mov-mp4-mpegh-5_1_4-copy
b/tests/ref/fate/mov-mp4-mpegh-5_1_4-copy
index b45dd7cb05..8d0507ada7 100644
--- a/tests/ref/fate/mov-mp4-mpegh-5_1_4-copy
+++ b/tests/ref/fate/mov-mp4-mpegh-5_1_4-copy
@@ -1,4 +1,4 @@
-e803ae1117ebeef12af29ef9e0e0a617 *tests/data/fate/mov-mp4-mpegh-5_1_4-copy.mp4
+7b6a5cc01d7ef3775a59da7e920263c6 *tests/data/fate/mov-mp4-mpegh-5_1_4-copy.mp4
13411 tests/data/fate/mov-mp4-mpegh-5_1_4-copy.mp4
#extradata 0: 182, 0xca4e2e16
#tb 0: 1/48000
diff --git a/tests/ref/fate/mov-mp4-pcm-float b/tests/ref/fate/mov-mp4-pcm-float
index efac089554..14b474cfb2 100644
--- a/tests/ref/fate/mov-mp4-pcm-float
+++ b/tests/ref/fate/mov-mp4-pcm-float
@@ -1,4 +1,4 @@
-242e67fb3cf7d49cd9fcef06904c0091 *tests/data/fate/mov-mp4-pcm-float.mp4
+f1ee9fb87cf1dfff74fdfd01ba4688a9 *tests/data/fate/mov-mp4-pcm-float.mp4
3175929 tests/data/fate/mov-mp4-pcm-float.mp4
#tb 0: 1/44100
#media_type 0: audio
diff --git a/tests/ref/fate/mov-mp4-ttml-dfxp b/tests/ref/fate/mov-mp4-ttml-dfxp
index 865ffee105..80e32742e7 100644
--- a/tests/ref/fate/mov-mp4-ttml-dfxp
+++ b/tests/ref/fate/mov-mp4-ttml-dfxp
@@ -1,4 +1,4 @@
-2e7e01c821c111466e7a2844826b7f6d *tests/data/fate/mov-mp4-ttml-dfxp.mp4
+c8bbc26b95da815371a05eb66dcd82c2 *tests/data/fate/mov-mp4-ttml-dfxp.mp4
8519 tests/data/fate/mov-mp4-ttml-dfxp.mp4
#tb 0: 1/1000
#media_type 0: subtitle
diff --git a/tests/ref/fate/mov-mp4-ttml-stpp b/tests/ref/fate/mov-mp4-ttml-stpp
index 200a477df8..3562711a1e 100644
--- a/tests/ref/fate/mov-mp4-ttml-stpp
+++ b/tests/ref/fate/mov-mp4-ttml-stpp
@@ -1,4 +1,4 @@
-cbd2c7ff864a663b0d893deac5a0caec *tests/data/fate/mov-mp4-ttml-stpp.mp4
+a796a328b8babfb135b3cb52a83dd5d7 *tests/data/fate/mov-mp4-ttml-stpp.mp4
8547 tests/data/fate/mov-mp4-ttml-stpp.mp4
#extradata 0: 48, 0x62100c0d
#tb 0: 1/1000
diff --git a/tests/ref/lavf-fate/eac3.mp4 b/tests/ref/lavf-fate/eac3.mp4
index 5eb0945586..80bd3b977f 100644
--- a/tests/ref/lavf-fate/eac3.mp4
+++ b/tests/ref/lavf-fate/eac3.mp4
@@ -1,3 +1,3 @@
-a6381a110c8ae457934e1ba7e9f157cb *tests/data/lavf-fate/lavf.eac3.mp4
+fd5c19f0cf81bcedb80c2a199a1a8b6c *tests/data/lavf-fate/lavf.eac3.mp4
724180 tests/data/lavf-fate/lavf.eac3.mp4
tests/data/lavf-fate/lavf.eac3.mp4 CRC=0x7a2b48f0
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]