aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-06 22:59:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-06 22:59:44 +0000
commit6ebd933b8f556d40774e81c9c182a1fd99fc6873 (patch)
tree9abc5da37104f3d98c5b4c2590c4ac49422f6244
parent14207b27b5ea61b33092f0d23286b03ed4bcd894 (diff)
downloadffmpeg-6ebd933b8f556d40774e81c9c182a1fd99fc6873.tar.gz
regression tests for msmpeg4v2 & wmv1
Originally committed as revision 910 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/ffmpeg.regression.ref4
-rwxr-xr-xtests/regression.sh22
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index d4134564d0..2294e724f0 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -1,8 +1,12 @@
ffmpeg regression test
67be2deabb210740966ca5fda9a64bca *./data/a-mpeg1.mpg
59a66b108e8bbd3867c4ee27f4bbe2ca *./data/out.yuv
+20f237122350f1248d9d51489bb79092 *./data/a-msmpeg4v2.avi
+74675eb582376359fbcf76ff2fb034b6 *./data/out.yuv
297793ed0fd5793182a92e63ffd764af *./data/a-msmpeg4.avi
951aa2df4ef4c1eeee3ccc8904de8e48 *./data/out.yuv
+50b4590a3615a556361d75db8c6d43b3 *./data/a-wmv1.avi
+3ed8e11a8a8147c3e7d736593fccae79 *./data/out.yuv
abe11239875a32f00fa2910828bba4fb *./data/a-h263.avi
c1f6c8ee7a24d8345deddf1a24ca3756 *./data/out.yuv
704ea824cf548831fa03efd064114c25 *./data/a-odivx.avi
diff --git a/tests/regression.sh b/tests/regression.sh
index be2cf5a8e9..cd64d398f2 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -20,7 +20,9 @@ elif [ "$1" = "libavtest" ] ; then
logfile="$datadir/libav.regression"
else
do_mpeg=y
+ do_msmpeg4v2=y
do_msmpeg4=y
+ do_wmv1=y
do_h263=y
do_mpeg4=y
do_mjpeg=y
@@ -82,6 +84,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
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
# msmpeg4 encoding
file=${outfile}msmpeg4.avi
@@ -92,6 +104,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
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
# h263 encoding
file=${outfile}h263.avi