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

Steven Liu lq at chinaffmpeg.org
Wed Jul 19 12:03:16 EEST 2023


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

diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 2012892ef5..9cfe55535e 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -9,6 +9,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, IVF, FLV_MUXER) += fate-enhanced-flv-v
 fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf\
 		flv "-vcodec copy -frames 1"
 
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, IVF, FLV_MUXER) += fate-enhanced-flv-av1
+fate-enhanced-flv-av1: CMD = transcode ivf $(TARGET_SAMPLES)/av1/decode_model.ivf\
+		flv "-vcodec copy -frames 1"
+
 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..7e3392ab30
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-av1
@@ -0,0 +1,8 @@
+811d8a96cefb28ed2d4bd445e6bdabb4 *tests/data/fate/enhanced-flv-av1.flv
+8412 tests/data/fate/enhanced-flv-av1.flv
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 240x100
+#sar 0: 1/1
+0,          0,          0,        1,    36000, 0x1e8fa12e
-- 
2.40.0



More information about the ffmpeg-devel mailing list