@@ -12,5 +12,15 @@ fate-enhanced-flv-hevc: tests/data/enhanced_flv_hevc.flv
fate-enhanced-flv-hevc: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
fate-enhanced-flv-hevc: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_hevc.flv
+tests/data/enhanced_flv_vp9.flv: TAG = GEN
+tests/data/enhanced_flv_vp9.flv: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+ $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
+ -f lavfi -i "testsrc=s=176x144:r=1:n=1:d=0.04" -pix_fmt yuv420p -c:v libvpx-vp9 -threads 1 -t 0.04 -y $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv 2>/dev/null
+
+FATE_FLVENC_FFMPEG_FFPROBE-$(call TRANSCODE, LIBVPX_VP9 VP9, FLV, TESTSRC_FILTER LAVFI_INDEV) += fate-enhanced-flv-vp9
+fate-enhanced-flv-vp9: tests/data/enhanced_flv_vp9.flv
+fate-enhanced-flv-vp9: SRC = $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv
+fate-enhanced-flv-vp9: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TARGET_PATH)/tests/data/enhanced_flv_vp9.flv
+
FATE_FFMPEG_FFPROBE += $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
fate-flvenc: $(FATE_FLVENC_FFMPEG_FFPROBE-yes)
new file mode 100644
@@ -0,0 +1,6 @@
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 176x144
+#sar 0: 0/1
+0, 0, 0, 1, 38016, 0xec80eb63
Signed-off-by: Steven Liu <lq@chinaffmpeg.org> --- tests/fate/flvenc.mak | 10 ++++++++++ tests/ref/fate/enhanced-flv-vp9 | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/ref/fate/enhanced-flv-vp9