[FFmpeg-cvslog] Choose compression level 6 for zmbv test.

Reimar Döffinger git at videolan.org
Tue Dec 6 19:49:54 CET 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Tue Dec  6 19:48:16 2011 +0100| [6ecc78b707945458e5d126a19a8e7e1bbf2b25ee] | committer: Reimar Döffinger

Choose compression level 6 for zmbv test.

The default of 9 gives different results on different FATE systems.
However the zlib test using compression level 6 works, so
try this instead.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

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

 tests/codec-regression.sh |    4 +++-
 tests/ref/vsynth1/zmbv    |    4 ++--
 tests/ref/vsynth2/zmbv    |    4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 2d5d690..c7dea4c 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -330,7 +330,9 @@ do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
 if [ -n "$do_zmbv" ] ; then
-do_video_encoding zmbv.avi "-an -vcodec zmbv"
+# default level of 9 leads to different results with
+# different zlib versions
+do_video_encoding zmbv.avi "-an -vcodec zmbv -compression_level 6"
 do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
diff --git a/tests/ref/vsynth1/zmbv b/tests/ref/vsynth1/zmbv
index 12f1a87..1413cad 100644
--- a/tests/ref/vsynth1/zmbv
+++ b/tests/ref/vsynth1/zmbv
@@ -1,4 +1,4 @@
-5874bd5764a92be48b63d90446b1b386 *./tests/data/vsynth1/zmbv.avi
-2284022 ./tests/data/vsynth1/zmbv.avi
+ed417ff88cc5d8fe204b3dcc0ba71a57 *./tests/data/vsynth1/zmbv.avi
+2325956 ./tests/data/vsynth1/zmbv.avi
 cfbec364e41d70c9b177435b5655d8af *./tests/data/zmbv.vsynth1.out.yuv
 stddev:   46.47 PSNR: 14.79 MAXDIFF:  129 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth2/zmbv b/tests/ref/vsynth2/zmbv
index 8b08379..b5fc304 100644
--- a/tests/ref/vsynth2/zmbv
+++ b/tests/ref/vsynth2/zmbv
@@ -1,4 +1,4 @@
-65825cdc90e550aeba556020365bc2d9 *./tests/data/vsynth2/zmbv.avi
-1807074 ./tests/data/vsynth2/zmbv.avi
+71e6c69ab93b2b71736f71948032c9c4 *./tests/data/vsynth2/zmbv.avi
+1864098 ./tests/data/vsynth2/zmbv.avi
 cfbec364e41d70c9b177435b5655d8af *./tests/data/zmbv.vsynth2.out.yuv
 stddev:   42.07 PSNR: 15.65 MAXDIFF:  112 bytes:  7603200/  7603200



More information about the ffmpeg-cvslog mailing list