Commit e4eee6c222 for ffmpeg
commit e4eee6c222bdb449dcd5647a4ce7fac337eb1d51
Author: James Almer <jamrial@gmail.com>
Date: Sat Oct 17 00:54:17 2026 -0300
tests/fate/mov: add a simple muxing test for AVIF
Signed-off-by: James Almer <jamrial@gmail.com>
diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak
index 8427e6f802..9aa879fc39 100644
--- a/tests/fate/mov.mak
+++ b/tests/fate/mov.mak
@@ -233,6 +233,12 @@ $(eval $(call FATE_MOV_CENC_TEST,h264_iso,H264,matroska,MATROSKA,h264/dts_5frame
$(eval $(call FATE_MOV_CENC_TEST,hevc,HEVC,hevc,HEVC,hevc-conformance/ipcm_A_NEC_3.bit))
$(eval $(call FATE_MOV_CENC_TEST,hevc_iso,HEVC,mov,MOV,hevc/extradata-reload-multi-stsd.mov))
+# avif muxing - still image with 1 item.
+FATE_MOV_FFMPEG_SAMPLES-$(call REMUX, AVIF OBU, AV1_DECODER AV1_PARSER) \
+ += fate-mov-avif-mux-still-image-1-item
+fate-mov-avif-mux-still-image-1-item: CMD = stream_remux obu $(TARGET_SAMPLES)/av1/still_picture_rgb.obu "" avif \
+ "" "-c:v av1" "-c:v copy"
+
# avif demuxing - still image with 1 item.
FATE_MOV_FFMPEG_SAMPLES-$(call FRAMECRC, MOV, AV1, AV1_PARSER) \
+= fate-mov-avif-demux-still-image-1-item
diff --git a/tests/ref/fate/mov-avif-mux-still-image-1-item b/tests/ref/fate/mov-avif-mux-still-image-1-item
new file mode 100644
index 0000000000..7286e24014
--- /dev/null
+++ b/tests/ref/fate/mov-avif-mux-still-image-1-item
@@ -0,0 +1,9 @@
+290ef2eafee354da0c92c5a9d5a9a545 *tests/data/fate/mov-avif-mux-still-image-1-item.avif
+8908 tests/data/fate/mov-avif-mux-still-image-1-item.avif
+#extradata 0: 4, 0x026400a1
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 256x256
+#sar 0: 0/1
+0, 0, 0, 1, 8619, 0xfc43b8fa