mv/mb reuse regression test

Originally committed as revision 3686 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 20 years ago
parent 096c3b7e90
commit 7f8038ce88
  1. 4
      tests/ffmpeg.regression.ref
  2. 9
      tests/regression.sh
  3. 4
      tests/rotozoom.regression.ref

@ -19,6 +19,10 @@ d3d2fd4dd186d8c9de7666398d5af13a *./data/a-mpeg2thread.mpg
816506 ./data/a-mpeg2thread.mpg 816506 ./data/a-mpeg2thread.mpg
9db3aca554bb8ee337a109a3b8629575 *./data/out.yuv 9db3aca554bb8ee337a109a3b8629575 *./data/out.yuv
stddev: 7.64 PSNR:30.45 bytes:7602176 stddev: 7.64 PSNR:30.45 bytes:7602176
052bcdb13286f4f7137a50c4db032104 *./data/a-mpeg2reuse.mpg
2115703 ./data/a-mpeg2reuse.mpg
526e6e6818296a1b63d91fc165e0bda8 *./data/out.yuv
stddev: 7.68 PSNR:30.41 bytes:7602176
e7ff3a8780ebdc6687352646c8fbe876 *./data/a-msmpeg4v2.avi e7ff3a8780ebdc6687352646c8fbe876 *./data/a-msmpeg4v2.avi
642666 ./data/a-msmpeg4v2.avi 642666 ./data/a-msmpeg4v2.avi
7646e5cc93452b5fb380c8c4c5f535f4 *./data/out.yuv 7646e5cc93452b5fb380c8c4c5f535f4 *./data/out.yuv

@ -34,6 +34,8 @@ elif [ "$1" = "ac3" ] ; then
do_ac3=y do_ac3=y
elif [ "$1" = "huffyuv" ] ; then elif [ "$1" = "huffyuv" ] ; then
do_huffyuv=y do_huffyuv=y
elif [ "$1" = "mpeg2thread" ] ; then
do_mpeg2thread=y
elif [ "$1" = "libavtest" ] ; then elif [ "$1" = "libavtest" ] ; then
do_libav=y do_libav=y
logfile="$datadir/libav.regression" logfile="$datadir/libav.regression"
@ -182,6 +184,13 @@ if [ -n "$do_mpeg2thread" ] ; then
file=${outfile}mpeg2thread.mpg file=${outfile}mpeg2thread.mpg
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -bf 2 -ildct -ilme -threads 2 $file do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -bf 2 -ildct -ilme -threads 2 $file
# mpeg2 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
# mpeg2 encoding interlaced
file=${outfile}mpeg2reuse.mpg
do_ffmpeg $file -y -sameq -me_threshold 256 -mb_threshold 1024 -i ${outfile}mpeg2thread.mpg -vcodec mpeg2video -f mpeg1video -bf 2 -ildct -ilme -threads 4 $file
# mpeg2 decoding # mpeg2 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi fi

@ -19,6 +19,10 @@ df6924f747ea4355f9072e7ab0fe776d *./data/a-mpeg2thread.mpg
184101 ./data/a-mpeg2thread.mpg 184101 ./data/a-mpeg2thread.mpg
abc276d30f874cb36d2fa113dabc67a8 *./data/out.yuv abc276d30f874cb36d2fa113dabc67a8 *./data/out.yuv
stddev: 4.76 PSNR:34.56 bytes:7602176 stddev: 4.76 PSNR:34.56 bytes:7602176
339be26f8e88f27c8a7811c427e24492 *./data/a-mpeg2reuse.mpg
397244 ./data/a-mpeg2reuse.mpg
caa7723366dd267a5a14775565f2df2e *./data/out.yuv
stddev: 4.77 PSNR:34.54 bytes:7602176
fe0779aa87f6e30c450944c807afb13a *./data/a-msmpeg4v2.avi fe0779aa87f6e30c450944c807afb13a *./data/a-msmpeg4v2.avi
129504 ./data/a-msmpeg4v2.avi 129504 ./data/a-msmpeg4v2.avi
25b5ba0b024fcd4028e707ffbeb80f55 *./data/out.yuv 25b5ba0b024fcd4028e707ffbeb80f55 *./data/out.yuv

Loading…
Cancel
Save