[FFmpeg-devel] [PATCH v4] avformat/imf: add IMF CPL with repeated resources to FATE

pal at sandflow.com pal at sandflow.com
Sat Jan 8 01:10:26 EET 2022


From: Pierre-Anthony Lemieux <pal at palemieux.com>

Signed-off-by: Pierre-Anthony Lemieux <pal at palemieux.com>
---

Notes:
    The `fate-imf-cpl-with-repeat` target requires following files (<100 kB)
    to placed under $(TARGET_SAMPLES)/imf/countdown/:
        http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/ASSETMAP.xml
        http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/CPL_bb2ce11c-1bb6-4781-8e69-967183d02b9b.xml
        http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/PKL_c8f6716b-0dfa-4062-8569-98fc77637287.xml
        http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown-small/countdown-small.mxf

 tests/Makefile                     |  1 +
 tests/fate/imf.mak                 |  6 ++++
 tests/ref/fate/imf-cpl-with-repeat | 46 ++++++++++++++++++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 tests/fate/imf.mak
 create mode 100644 tests/ref/fate/imf-cpl-with-repeat

diff --git a/tests/Makefile b/tests/Makefile
index 87807ed31f..c4c31ae871 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -153,6 +153,7 @@ include $(SRC_PATH)/tests/fate/hlsenc.mak
 include $(SRC_PATH)/tests/fate/hw.mak
 include $(SRC_PATH)/tests/fate/id3v2.mak
 include $(SRC_PATH)/tests/fate/image.mak
+include $(SRC_PATH)/tests/fate/imf.mak
 include $(SRC_PATH)/tests/fate/indeo.mak
 include $(SRC_PATH)/tests/fate/libavcodec.mak
 include $(SRC_PATH)/tests/fate/libavdevice.mak
diff --git a/tests/fate/imf.mak b/tests/fate/imf.mak
new file mode 100644
index 0000000000..d4519bd0eb
--- /dev/null
+++ b/tests/fate/imf.mak
@@ -0,0 +1,6 @@
+FATE_IMF += fate-imf-cpl-with-repeat
+fate-imf-cpl-with-repeat: CMD = framecrc -i $(TARGET_SAMPLES)/imf/countdown/CPL_bb2ce11c-1bb6-4781-8e69-967183d02b9b.xml -c:v copy
+
+FATE_SAMPLES_FFMPEG-$(CONFIG_IMF_DEMUXER) += $(FATE_IMF)
+
+fate-imf: $(FATE_IMF)
diff --git a/tests/ref/fate/imf-cpl-with-repeat b/tests/ref/fate/imf-cpl-with-repeat
new file mode 100644
index 0000000000..fe3106d5c6
--- /dev/null
+++ b/tests/ref/fate/imf-cpl-with-repeat
@@ -0,0 +1,46 @@
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: jpeg2000
+#dimensions 0: 640x360
+#sar 0: 0/1
+0,          0,          0,        1,     1698, 0xd8730ea4
+0,          1,          1,        1,     1966, 0x6562867e
+0,          2,          2,        1,     2063, 0x18f4bb7d
+0,          3,          3,        1,     1618, 0x0770dca6
+0,          4,          4,        1,     2100, 0xd0a1c42b
+0,          5,          5,        1,     2068, 0xd411c582
+0,          6,          6,        1,     2520, 0x7b539dfc
+0,          7,          7,        1,     1964, 0x106d867a
+0,          8,          8,        1,     1964, 0x106d867a
+0,          9,          9,        1,     1964, 0x106d867a
+0,         10,         10,        1,     1964, 0x106d867a
+0,         11,         11,        1,     1964, 0x106d867a
+0,         12,         12,        1,     1964, 0x106d867a
+0,         13,         13,        1,     1964, 0x106d867a
+0,         14,         14,        1,     1964, 0x106d867a
+0,         15,         15,        1,     1964, 0x106d867a
+0,         16,         16,        1,     1964, 0x106d867a
+0,         17,         17,        1,     1964, 0x106d867a
+0,         18,         18,        1,     1964, 0x106d867a
+0,         19,         19,        1,     1964, 0x106d867a
+0,         20,         20,        1,     1964, 0x106d867a
+0,         21,         21,        1,     1964, 0x106d867a
+0,         22,         22,        1,     1964, 0x106d867a
+0,         23,         23,        1,     1964, 0x106d867a
+0,         24,         24,        1,     1964, 0x106d867a
+0,         25,         25,        1,     1964, 0x106d867a
+0,         26,         26,        1,     1964, 0x106d867a
+0,         27,         27,        1,     1964, 0x106d867a
+0,         28,         28,        1,     1964, 0x106d867a
+0,         29,         29,        1,     1964, 0x106d867a
+0,         30,         30,        1,     1964, 0x106d867a
+0,         30,         31,        1,     2068, 0xd411c582
+0,         30,         32,        1,     2520, 0x7b539dfc
+0,         30,         33,        1,     1846, 0x9d184658
+0,         30,         34,        1,     2475, 0x2967a123
+0,         30,         35,        1,     2540, 0xdc61ad87
+0,         30,         36,        1,     2214, 0xa7da105f
+0,         30,         37,        1,     2486, 0xa68d89b4
+0,         30,         38,        1,     2615, 0xbc35d5ad
+0,         30,         39,        1,     2150, 0x643aea98
+0,         30,         40,        1,     2628, 0x2880c4ad
-- 
2.17.1



More information about the ffmpeg-devel mailing list