mv/mb reuse regression test

Originally committed as revision 3686 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-11-16 14:02:41 +00:00
parent 096c3b7e90
commit 7f8038ce88
3 changed files with 17 additions and 0 deletions

View File

@ -19,6 +19,10 @@ d3d2fd4dd186d8c9de7666398d5af13a *./data/a-mpeg2thread.mpg
816506 ./data/a-mpeg2thread.mpg
9db3aca554bb8ee337a109a3b8629575 *./data/out.yuv
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
642666 ./data/a-msmpeg4v2.avi
7646e5cc93452b5fb380c8c4c5f535f4 *./data/out.yuv

View File

@ -34,6 +34,8 @@ elif [ "$1" = "ac3" ] ; then
do_ac3=y
elif [ "$1" = "huffyuv" ] ; then
do_huffyuv=y
elif [ "$1" = "mpeg2thread" ] ; then
do_mpeg2thread=y
elif [ "$1" = "libavtest" ] ; then
do_libav=y
logfile="$datadir/libav.regression"
@ -182,6 +184,13 @@ if [ -n "$do_mpeg2thread" ] ; then
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
# 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
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi

View File

@ -19,6 +19,10 @@ df6924f747ea4355f9072e7ab0fe776d *./data/a-mpeg2thread.mpg
184101 ./data/a-mpeg2thread.mpg
abc276d30f874cb36d2fa113dabc67a8 *./data/out.yuv
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
129504 ./data/a-msmpeg4v2.avi
25b5ba0b024fcd4028e707ffbeb80f55 *./data/out.yuv