[FFmpeg-cvslog] fate/vpx: add a vp9_superframe_bsf test

James Almer git at videolan.org
Fri Mar 10 21:30:41 EET 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Mar  7 11:38:05 2023 -0300| [e60cd2e98b8ea11e4e40584b20e9599ca291fbaa] | committer: James Almer

fate/vpx: add a vp9_superframe_bsf test

This splits a sample and merges it again, so it also tests the vp9_superframe_split bsf

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e60cd2e98b8ea11e4e40584b20e9599ca291fbaa
---

 tests/fate/vpx.mak                |  4 ++++
 tests/ref/fate/vp9-superframe-bsf | 30 ++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/tests/fate/vpx.mak b/tests/fate/vpx.mak
index e18f3df38b..b0a3cd2fd7 100644
--- a/tests/fate/vpx.mak
+++ b/tests/fate/vpx.mak
@@ -138,6 +138,10 @@ fate-vp9-05-resize: REF = $(SRC_PATH)/tests/ref/fate/vp9-05-resize
 fate-vp9-encparams: CMD = venc_data $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-segmentation-aq-akiyo.webm 0 5
 FATE_SAMPLES_DUMP_DATA-$(call DEMDEC, MATROSKA, VP9) += fate-vp9-encparams
 
+FATE_VP9-$(call ALLYES, MATROSKA_DEMUXER VP9_PARSER VP9_SUPERFRAME_SPLIT_BSF \
+                        VP9_SUPERFRAME_BSF FILE_PROTOCOL FRAMECRC_MUXER) += fate-vp9-superframe-bsf
+fate-vp9-superframe-bsf: CMD = framecrc -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-segmentation-sf-akiyo.webm -c:v copy -bsf:v vp9_superframe_split,vp9_superframe
+
 FATE_VP9-$(call DEMDEC, MATROSKA, VP9) += fate-vp9-encparams
 
 FATE_SAMPLES_FFMPEG += $(FATE_VP9-yes)
diff --git a/tests/ref/fate/vp9-superframe-bsf b/tests/ref/fate/vp9-superframe-bsf
new file mode 100644
index 0000000000..d7985c6973
--- /dev/null
+++ b/tests/ref/fate/vp9-superframe-bsf
@@ -0,0 +1,30 @@
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: vp9
+#dimensions 0: 352x288
+#sar 0: 1/1
+0,          0,          0,       33,     6958, 0x38e58ee6, S=1,       12
+0,         33,         33,       33,      852, 0x3edf9ed0, F=0x0
+0,         66,         66,       33,       27, 0x62d007e5, F=0x0
+0,        100,        100,       33,       25, 0x51980749, F=0x0
+0,        133,        133,       33,       50, 0xcc45133d, F=0x0
+0,        166,        166,       33,       50, 0xd1fe14e2, F=0x0
+0,        200,        200,       33,       32, 0x98ff0ab7, F=0x0
+0,        233,        233,       33,       45, 0x4f6b0fbb, F=0x0
+0,        266,        266,       33,       54, 0xe975139c, F=0x0
+0,        300,        300,       33,       36, 0xd8ff0e13, F=0x0
+0,        333,        333,       33,       47, 0xc31915b5, F=0x0
+0,        367,        367,       33,       50, 0xbe84156d, F=0x0
+0,        400,        400,       33,       37, 0xbb3c0ba7, F=0x0
+0,        433,        433,       33,       48, 0xb01913e2, F=0x0
+0,        467,        467,       33,       39, 0xe8cc0d02, F=0x0
+0,        500,        500,       33,       51, 0x05fe157f, F=0x0
+0,        533,        533,       33,       24, 0x4c500657, F=0x0
+0,        567,        567,       33,       52, 0xcf501420, F=0x0
+0,        600,        600,       33,       59, 0x8a451926, F=0x0
+0,        633,        633,       33,       74, 0xec501f1e, F=0x0
+0,        667,        667,       33,       53, 0x027a1607, F=0x0
+0,        700,        700,       33,       71, 0x81a41ccf, F=0x0
+0,        734,        734,       33,       58, 0x653f17b2, F=0x0
+0,        767,        767,       33,       40, 0x1fdd106c, F=0x0
+0,        800,        800,       33,       54, 0x9dd11210, F=0x0



More information about the ffmpeg-cvslog mailing list