[FFmpeg-cvslog] tests/fate/vcodec: add vsynth tests for FFV1 version 2

Anton Khirnov git at videolan.org
Thu Aug 1 11:16:30 EEST 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jul 16 13:46:33 2024 +0200| [8e19c24634a0a442586b4c543da33d2843a1baa3] | committer: Anton Khirnov

tests/fate/vcodec: add vsynth tests for FFV1 version 2

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

 tests/fate/vcodec.mak                | 3 ++-
 tests/ref/vsynth/vsynth1-ffv1-v2     | 4 ++++
 tests/ref/vsynth/vsynth2-ffv1-v2     | 4 ++++
 tests/ref/vsynth/vsynth3-ffv1-v2     | 4 ++++
 tests/ref/vsynth/vsynth_lena-ffv1-v2 | 4 ++++
 5 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index abdc481f8a..b9829be027 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -154,13 +154,14 @@ $(FATE_VCODEC_DV:%=fate-vsynth\%-%): CODEC    = dvvideo
 $(FATE_VCODEC_DV:%=fate-vsynth\%-%): FMT      = dv
 $(FATE_VCODEC_DV:%=fate-vsynth\%-%): DECOPTS += $(DEFAULT_SIZE)
 
-FATE_VCODEC-$(call ENCDEC, FFV1, AVI)   += ffv1 ffv1-v0 \
+FATE_VCODEC-$(call ENCDEC, FFV1, AVI)   += ffv1 ffv1-v0 ffv1-v2 \
                                            ffv1-v3-yuv420p \
                                            ffv1-2pass
 FATE_VCODEC_SCALE-$(call ENCDEC, FFV1, AVI) += ffv1-v3-yuv422p10 ffv1-v3-yuv444p16 \
                                                ffv1-v3-bgr0 ffv1-v3-rgb48
 fate-vsynth%-ffv1:               ENCOPTS = -slices 4
 fate-vsynth%-ffv1-v0:            CODEC   = ffv1
+fate-vsynth%-ffv1-v2:            ENCOPTS = -level 2 -strict experimental
 fate-vsynth%-ffv1-v3-yuv420p:    ENCOPTS = -level 3 -pix_fmt yuv420p
 fate-vsynth%-ffv1-v3-yuv422p10:  ENCOPTS = -level 3 -pix_fmt yuv422p10 \
                                            -sws_flags neighbor+bitexact
diff --git a/tests/ref/vsynth/vsynth1-ffv1-v2 b/tests/ref/vsynth/vsynth1-ffv1-v2
new file mode 100644
index 0000000000..69536fb390
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffv1-v2
@@ -0,0 +1,4 @@
+0f9298229cf53ce257648ccec70c893f *tests/data/fate/vsynth1-ffv1-v2.avi
+2689724 tests/data/fate/vsynth1-ffv1-v2.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ffv1-v2.out.rawvideo
+stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-ffv1-v2 b/tests/ref/vsynth/vsynth2-ffv1-v2
new file mode 100644
index 0000000000..0b3f288f8f
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffv1-v2
@@ -0,0 +1,4 @@
+3144d06b9af1af98d072ccf05ff116ba *tests/data/fate/vsynth2-ffv1-v2.avi
+3716500 tests/data/fate/vsynth2-ffv1-v2.avi
+36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-ffv1-v2.out.rawvideo
+stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth3-ffv1-v2 b/tests/ref/vsynth/vsynth3-ffv1-v2
new file mode 100644
index 0000000000..3b0397ec02
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-ffv1-v2
@@ -0,0 +1,4 @@
+72f1126e9e270f019d90f74959bcf0cb *tests/data/fate/vsynth3-ffv1-v2.avi
+60648 tests/data/fate/vsynth3-ffv1-v2.avi
+a038ad7c3c09f776304ef7accdea9c74 *tests/data/fate/vsynth3-ffv1-v2.out.rawvideo
+stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth_lena-ffv1-v2 b/tests/ref/vsynth/vsynth_lena-ffv1-v2
new file mode 100644
index 0000000000..5f180462b5
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-ffv1-v2
@@ -0,0 +1,4 @@
+4a0dbd5b50fa68fc7d5a8d6d64bd695a *tests/data/fate/vsynth_lena-ffv1-v2.avi
+3546264 tests/data/fate/vsynth_lena-ffv1-v2.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth_lena-ffv1-v2.out.rawvideo
+stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200



More information about the ffmpeg-cvslog mailing list