[FFmpeg-devel] [PATCH v5 3/3] tests/fate/flvenc: add av1 in enhanced flv test case

Steven Liu lq at chinaffmpeg.org
Mon Jul 24 05:14:13 EEST 2023


Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
 tests/fate/flvenc.mak           |  4 ++
 tests/ref/fate/enhanced-flv-av1 | 70 +++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)
 create mode 100644 tests/ref/fate/enhanced-flv-av1

diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index b2f2e1a924..7585d63ff9 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fa
 fate-enhanced-flv-vp9: CMD = stream_remux ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf\
 		flv "-c copy" "-c copy"
 
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER AV1_PARSER) += fate-enhanced-flv-av1
+fate-enhanced-flv-av1: CMD = stream_remux ivf $(TARGET_SAMPLES)/av1/seq_hdr_op_param_info.ivf\
+		flv "-c copy" "-c copy"
+
 FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
 FATE_SAMPLES_FFMPEG += $(FATE_ENHANCED_FLVENC_FFMPEG-yes)
 fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes) $(FATE_ENHANCED_FLVENC_FFMPEG-yes)
diff --git a/tests/ref/fate/enhanced-flv-av1 b/tests/ref/fate/enhanced-flv-av1
new file mode 100644
index 0000000000..b2a624e41e
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,70 @@
+#extradata 0:       36, 0x70580971
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 320x176
+#sar 0: 1/1
+0,          0,          0,       41,     4718, 0xc4d912ec
+0,         42,         42,       41,     5109, 0xc065dd7d, F=0x0
+0,         83,         83,       41,      192, 0x160c5335, F=0x0
+0,        125,        125,       41,      196, 0x5e82506a, F=0x0
+0,        167,        167,       41,      267, 0x6c737c10, F=0x0
+0,        209,        209,       41,      189, 0x87af4ec0, F=0x0
+0,        250,        250,       41,      226, 0xb62b6409, F=0x0
+0,        292,        292,       41,      228, 0x986a61d9, F=0x0
+0,        334,        334,       41,      175, 0x32d8485c, F=0x0
+0,        375,        375,       41,      154, 0x31463f47, F=0x0
+0,        417,        417,       41,       63, 0xc62e1171, F=0x0
+0,        459,        459,       41,     5002, 0x4dd4904a, F=0x0
+0,        501,        501,       41,      291, 0xda527f77, F=0x0
+0,        542,        542,       41,      354, 0xf629a59e, F=0x0
+0,        584,        584,       41,      379, 0xeeb2ac32, F=0x0
+0,        626,        626,       41,      356, 0x5907a8df, F=0x0
+0,        667,        667,       41,      399, 0x91b3b07e, F=0x0
+0,        709,        709,       41,      331, 0xbe3c9e2c, F=0x0
+0,        751,        751,       41,      298, 0xc5e67db5, F=0x0
+0,        792,        792,       41,      229, 0x297e636a, F=0x0
+0,        834,        834,       41,       63, 0xb6880f3d, F=0x0
+0,        876,        876,       41,     5457, 0xb8918205, F=0x0
+0,        918,        918,       41,      618, 0xdb332843, F=0x0
+0,        959,        959,       41,      679, 0x5b5b469c, F=0x0
+0,       1001,       1001,       41,      701, 0x400452ba, F=0x0
+0,       1043,       1043,       41,      756, 0xf89675d5, F=0x0
+0,       1084,       1084,       41,      594, 0xbd361b4a, F=0x0
+0,       1126,       1126,       41,      647, 0x222a3f63, F=0x0
+0,       1168,       1168,       41,      606, 0xc92724cd, F=0x0
+0,       1210,       1210,       41,      426, 0xb7e0c9ba, F=0x0
+0,       1251,       1251,       41,       59, 0x8d570f88, F=0x0
+0,       1293,       1293,       41,     4383, 0x8fdc95b7, F=0x0
+0,       1335,       1335,       41,     7223, 0x5229e7a0
+0,       1376,       1376,       41,     7817, 0x017601d3, F=0x0
+0,       1418,       1418,       41,     1255, 0x50216daf, F=0x0
+0,       1460,       1460,       41,      740, 0xb7485d42, F=0x0
+0,       1502,       1502,       41,      767, 0x01dc72b4, F=0x0
+0,       1543,       1543,       41,      570, 0x95830ec3, F=0x0
+0,       1585,       1585,       41,      694, 0xbe17386d, F=0x0
+0,       1627,       1627,       41,      644, 0xc2df2bc2, F=0x0
+0,       1668,       1668,       41,      652, 0xac32324a, F=0x0
+0,       1710,       1710,       41,      413, 0x35f4c58d, F=0x0
+0,       1752,       1752,       41,       63, 0xd61910ad, F=0x0
+0,       1793,       1793,       41,     8156, 0x3fb5b502, F=0x0
+0,       1835,       1835,       41,     1071, 0x4eab0795, F=0x0
+0,       1877,       1877,       41,      839, 0x24f2960c, F=0x0
+0,       1919,       1919,       41,      806, 0xc1eb85e1, F=0x0
+0,       1960,       1960,       41,      591, 0xdaba1bdc, F=0x0
+0,       2002,       2002,       41,      814, 0x52427e40, F=0x0
+0,       2044,       2044,       41,      654, 0x454739a1, F=0x0
+0,       2085,       2085,       41,      600, 0xb5630b54, F=0x0
+0,       2127,       2127,       41,      395, 0xb1aab2cf, F=0x0
+0,       2169,       2169,       41,       59, 0xa6fa1094, F=0x0
+0,       2211,       2211,       41,     9135, 0x6573c423, F=0x0
+0,       2252,       2252,       41,     1198, 0xe9aa40dd, F=0x0
+0,       2294,       2294,       41,      818, 0xd83e9e2a, F=0x0
+0,       2336,       2336,       41,      747, 0xced06fee, F=0x0
+0,       2377,       2377,       41,      661, 0x799b4a75, F=0x0
+0,       2419,       2419,       41,      722, 0x594f549d, F=0x0
+0,       2461,       2461,       41,      722, 0x65b05690, F=0x0
+0,       2503,       2503,       41,      515, 0xe655ef15, F=0x0
+0,       2544,       2544,       41,      443, 0xed42d926, F=0x0
+0,       2586,       2586,       41,       60, 0xb75510a8, F=0x0
+0,       2628,       2628,       41,      670, 0xed514c9d, F=0x0
-- 
2.40.0



More information about the ffmpeg-devel mailing list