[FFmpeg-cvslog] tests/fate/vcodec: Test alternate_scan

Andreas Rheinhardt git at videolan.org
Tue Mar 4 14:35:01 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Jul  2 00:45:50 2024 +0200| [c960b42efca6112584ce2b25e9654bb2adb0ff12] | committer: Andreas Rheinhardt

tests/fate/vcodec: Test alternate_scan

Encoding was untested before this.
Notice that the filesize degradation is partially due to
mpegvideo no longer using progressive_sequence and
progressive_frame.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 tests/fate/vcodec.mak              | 2 +-
 tests/ref/vsynth/vsynth1-mpeg2     | 4 ++--
 tests/ref/vsynth/vsynth2-mpeg2     | 4 ++--
 tests/ref/vsynth/vsynth3-mpeg2     | 8 ++++----
 tests/ref/vsynth/vsynth_lena-mpeg2 | 4 ++--
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index a12eb43f22..a91c0ec3e3 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -263,7 +263,7 @@ FATE_VCODEC-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
 $(FATE_MPEG2:%=fate-vsynth\%-%): FMT    = mpeg2video
 $(FATE_MPEG2:%=fate-vsynth\%-%): CODEC  = mpeg2video
 
-fate-vsynth%-mpeg2:              ENCOPTS = -qscale 10
+fate-vsynth%-mpeg2:              ENCOPTS = -qscale 10 -alternate_scan 1
 fate-vsynth%-mpeg2-422:          ENCOPTS = -b:v 1000k                   \
                                            -bf 2                        \
                                            -trellis 1                   \
diff --git a/tests/ref/vsynth/vsynth1-mpeg2 b/tests/ref/vsynth/vsynth1-mpeg2
index 0f06f380cf..658bf30f98 100644
--- a/tests/ref/vsynth/vsynth1-mpeg2
+++ b/tests/ref/vsynth/vsynth1-mpeg2
@@ -1,4 +1,4 @@
-89d9481c12d2342e256b322d317e81c4 *tests/data/fate/vsynth1-mpeg2.mpeg2video
-728400 tests/data/fate/vsynth1-mpeg2.mpeg2video
+7568d0abb159228f138463c6713f9281 *tests/data/fate/vsynth1-mpeg2.mpeg2video
+739643 tests/data/fate/vsynth1-mpeg2.mpeg2video
 66c2a14725ba0a6f1535b9a62768977b *tests/data/fate/vsynth1-mpeg2.out.rawvideo
 stddev:    7.65 PSNR: 30.45 MAXDIFF:   84 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mpeg2 b/tests/ref/vsynth/vsynth2-mpeg2
index 869948adeb..7a73b9968c 100644
--- a/tests/ref/vsynth/vsynth2-mpeg2
+++ b/tests/ref/vsynth/vsynth2-mpeg2
@@ -1,4 +1,4 @@
-38afa638d9ac0b9c7ccebb8073412920 *tests/data/fate/vsynth2-mpeg2.mpeg2video
-268153 tests/data/fate/vsynth2-mpeg2.mpeg2video
+1f29c2bdddcc13e2e659d7dfc0e6ba0e *tests/data/fate/vsynth2-mpeg2.mpeg2video
+280927 tests/data/fate/vsynth2-mpeg2.mpeg2video
 bbddc9948fadfcc79487b391417ba8ed *tests/data/fate/vsynth2-mpeg2.out.rawvideo
 stddev:    5.55 PSNR: 33.23 MAXDIFF:   77 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth3-mpeg2 b/tests/ref/vsynth/vsynth3-mpeg2
index d2e5b9fffc..f64bb9ccb3 100644
--- a/tests/ref/vsynth/vsynth3-mpeg2
+++ b/tests/ref/vsynth/vsynth3-mpeg2
@@ -1,4 +1,4 @@
-d95da92e3e77e32e3766ed9a95241f98 *tests/data/fate/vsynth3-mpeg2.mpeg2video
-29567 tests/data/fate/vsynth3-mpeg2.mpeg2video
-1df6a406c3959c6de7651b4e4fd98a36 *tests/data/fate/vsynth3-mpeg2.out.rawvideo
-stddev:    9.12 PSNR: 28.93 MAXDIFF:   63 bytes:    86700/    86700
+c28c9a900c9975af2ad4ab7e5ac40a71 *tests/data/fate/vsynth3-mpeg2.mpeg2video
+36239 tests/data/fate/vsynth3-mpeg2.mpeg2video
+c1ece16d7ab1564032dda15553f856f9 *tests/data/fate/vsynth3-mpeg2.out.rawvideo
+stddev:    9.05 PSNR: 28.99 MAXDIFF:   66 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth_lena-mpeg2 b/tests/ref/vsynth/vsynth_lena-mpeg2
index 699a47b652..d0e29f2f33 100644
--- a/tests/ref/vsynth/vsynth_lena-mpeg2
+++ b/tests/ref/vsynth/vsynth_lena-mpeg2
@@ -1,4 +1,4 @@
-6071414a26d41ae9c4cc5477d8ca19eb *tests/data/fate/vsynth_lena-mpeg2.mpeg2video
-198673 tests/data/fate/vsynth_lena-mpeg2.mpeg2video
+2883a9fd2680e34629b6eef87f7cac1b *tests/data/fate/vsynth_lena-mpeg2.mpeg2video
+213032 tests/data/fate/vsynth_lena-mpeg2.mpeg2video
 9efe4846a75d9b7387d1e3bb1e5db29a *tests/data/fate/vsynth_lena-mpeg2.out.rawvideo
 stddev:    4.96 PSNR: 34.20 MAXDIFF:   59 bytes:  7603200/  7603200



More information about the ffmpeg-cvslog mailing list