Commit e5080f3e authored by michaelni's avatar michaelni

regression tests for msmpeg4v2 & wmv1


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@910 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9d05dc65
ffmpeg regression test ffmpeg regression test
67be2deabb210740966ca5fda9a64bca *./data/a-mpeg1.mpg 67be2deabb210740966ca5fda9a64bca *./data/a-mpeg1.mpg
59a66b108e8bbd3867c4ee27f4bbe2ca *./data/out.yuv 59a66b108e8bbd3867c4ee27f4bbe2ca *./data/out.yuv
20f237122350f1248d9d51489bb79092 *./data/a-msmpeg4v2.avi
74675eb582376359fbcf76ff2fb034b6 *./data/out.yuv
297793ed0fd5793182a92e63ffd764af *./data/a-msmpeg4.avi 297793ed0fd5793182a92e63ffd764af *./data/a-msmpeg4.avi
951aa2df4ef4c1eeee3ccc8904de8e48 *./data/out.yuv 951aa2df4ef4c1eeee3ccc8904de8e48 *./data/out.yuv
50b4590a3615a556361d75db8c6d43b3 *./data/a-wmv1.avi
3ed8e11a8a8147c3e7d736593fccae79 *./data/out.yuv
abe11239875a32f00fa2910828bba4fb *./data/a-h263.avi abe11239875a32f00fa2910828bba4fb *./data/a-h263.avi
c1f6c8ee7a24d8345deddf1a24ca3756 *./data/out.yuv c1f6c8ee7a24d8345deddf1a24ca3756 *./data/out.yuv
704ea824cf548831fa03efd064114c25 *./data/a-odivx.avi 704ea824cf548831fa03efd064114c25 *./data/a-odivx.avi
......
...@@ -20,7 +20,9 @@ elif [ "$1" = "libavtest" ] ; then ...@@ -20,7 +20,9 @@ elif [ "$1" = "libavtest" ] ; then
logfile="$datadir/libav.regression" logfile="$datadir/libav.regression"
else else
do_mpeg=y do_mpeg=y
do_msmpeg4v2=y
do_msmpeg4=y do_msmpeg4=y
do_wmv1=y
do_h263=y do_h263=y
do_mpeg4=y do_mpeg4=y
do_mjpeg=y do_mjpeg=y
...@@ -81,6 +83,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst ...@@ -81,6 +83,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
# -f rawvideo /tmp/out-mpeg2.yuv # -f rawvideo /tmp/out-mpeg2.yuv
fi fi
###################################
if [ -n "$do_msmpeg4v2" ] ; then
# msmpeg4 encoding
file=${outfile}msmpeg4v2.avi
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec msmpeg4v2 $file
# msmpeg4v2 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
################################### ###################################
if [ -n "$do_msmpeg4" ] ; then if [ -n "$do_msmpeg4" ] ; then
# msmpeg4 encoding # msmpeg4 encoding
...@@ -91,6 +103,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec msmpeg4 $file ...@@ -91,6 +103,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec msmpeg4 $file
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi fi
###################################
if [ -n "$do_wmv1" ] ; then
# wmv1 encoding
file=${outfile}wmv1.avi
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec wmv1 $file
# wmv1 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
################################### ###################################
if [ -n "$do_h263" ] ; then if [ -n "$do_h263" ] ; then
# h263 encoding # h263 encoding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment