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

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


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

diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak
index f34c595f88..b2f2e1a924 100644
--- a/tests/fate/flvenc.mak
+++ b/tests/fate/flvenc.mak
@@ -5,6 +5,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV MOV, FLV_DEMUXER HEVC_PARSER) += f
 fate-enhanced-flv-hevc: CMD = stream_remux mov $(TARGET_SAMPLES)/hevc/dv84.mov\
 		flv "-c copy" "-c copy"
 
+FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER VP9_PARSER) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: CMD = stream_remux ivf $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.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-vp9 b/tests/ref/fate/enhanced-flv-vp9
new file mode 100644
index 0000000000..a4746c3a17
--- /dev/null
+++ b/tests/ref/fate/enhanced-flv-vp9
@@ -0,0 +1,16 @@
+#extradata 0:        8, 0x03b0009c
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: vp9
+#dimensions 0: 352x288
+#sar 0: 0/1
+0,          0,          0,       33,     3964, 0x8ff9b15f
+0,         33,         33,       33,      373, 0x985fb479, F=0x0
+0,         67,         67,       33,      375, 0x2813bc1b, F=0x0
+0,        100,        100,       33,      261, 0x69557ae9, F=0x0
+0,        133,        133,       33,      527, 0xb4a7fe75, F=0x0
+0,        167,        167,       33,      608, 0x80a8212a, F=0x0
+0,        200,        200,       33,     1551, 0x28f2f1f9, F=0x0
+0,        233,        233,       33,      520, 0xbec201ee, F=0x0
+0,        267,        267,       33,      426, 0xf9e0d260, F=0x0
+0,        300,        300,       33,      384, 0xcbd8b904, F=0x0
-- 
2.40.0



More information about the ffmpeg-devel mailing list