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

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


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

diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index 6b2fbe8c89..2012892ef5 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -5,6 +5,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, MOV, FLV_MUXER) += fate-enhanced-flv-h
 fate-enhanced-flv-hevc: CMD = transcode mov $(TARGET_SAMPLES)/hevc/dv84.mov\
 		flv "-vcodec copy -map 0:v -frames 1"
 
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, IVF, FLV_MUXER) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: CMD = transcode ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.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-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..9a2b5ba7c9
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,8 @@
+00bf4de153bb8bcb0af32f1610dc7b6d *tests/data/fate/enhanced-flv-vp9.flv
+4179 tests/data/fate/enhanced-flv-vp9.flv
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 0/1
+0,          0,          0,        1,   152064, 0x452f964c
-- 
2.40.0



More information about the ffmpeg-devel mailing list