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

Steven Liu lq at chinaffmpeg.org
Thu Jul 20 14:00:02 EEST 2023


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

diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 87a1093136..bfb7faf726 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO VP9, FLV IVF, VP9_PARSER)
 fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf\
 		flv "-c copy" "-c copy"
 
+FATE_ENHANCED_FLVENC_FFMPEG-$(call TRANSCODE, RAWVIDEO AV1, FLV IVF, AV1_PARSER) += fate-enhanced-flv-av1
+fate-enhanced-flv-av1: CMD = transcode ivf $(TARGET_SAMPLES)/av1/decode_model.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..120c880ddd
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,32 @@
+b40c54b7a26854fd3a4da13dcbba37a3 *tests/data/fate/enhanced-flv-av1.flv
+22742 tests/data/fate/enhanced-flv-av1.flv
+#extradata 0:       35, 0x527207cd
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 240x100
+#sar 0: 1/1
+0,          0,          0,       41,     8170, 0x56e3ab74
+0,         42,         42,       41,     7042, 0x85b9890b, F=0x0
+0,         83,         83,       41,        6, 0x026000f4, F=0x0
+0,        125,        125,       41,       50, 0x4d311090, F=0x0
+0,        167,        167,       41,        6, 0x0288010c, F=0x0
+0,        208,        208,       41,      281, 0x7d34844b, F=0x0
+0,        250,        250,       41,        6, 0x023000e4, F=0x0
+0,        292,        292,       41,       65, 0xa0511848, F=0x0
+0,        333,        333,       41,        6, 0x02d8013c, F=0x0
+0,        375,        375,       41,     1067, 0x193503be, F=0x0
+0,        417,        417,       41,        6, 0x020000d4, F=0x0
+0,        458,        458,       41,       54, 0x7dcd1303, F=0x0
+0,        500,        500,       41,        6, 0x0288011c, F=0x0
+0,        542,        542,       41,      691, 0x4f2149f9, F=0x0
+0,        583,        583,       41,        6, 0x02500104, F=0x0
+0,        625,        625,       41,      211, 0x212267a2, F=0x0
+0,        667,        667,       41,       44, 0xed810e43, F=0x0
+0,        708,        708,       41,     3523, 0xcf33e296, F=0x0
+0,        750,        750,       41,       65, 0x4a0418a1, F=0x0
+0,        792,        792,       41,      388, 0xcbc0c26b, F=0x0
+0,        833,        833,       41,      180, 0x2b635133, F=0x0
+0,        875,        875,       41,       62, 0x76ef1809, F=0x0
+0,        917,        917,       41,       42, 0xb08b0a78, F=0x0
+0,        958,        958,       41,       63, 0xd07b1a32, F=0x0
-- 
2.40.0



More information about the ffmpeg-devel mailing list