From cfadadecd87d6eb7fb59528173783434323eeafd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 8 Feb 2003 12:13:32 +0000 Subject: [PATCH] mpeg1 b frame regression test Originally committed as revision 1554 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/ffmpeg.regression.ref | 2 ++ tests/regression.sh | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index 1e4c65bc44..ee9b073921 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -17,6 +17,8 @@ cbb3e7118b48671c686d046e7c1ae4b0 *./data/a-odivx.avi 580000bfe2d4359d9aa9a9415f953b3b *./data/out.yuv 7e040fda2b7696fea348a21b54eec1be *./data/a-mpeg4-adv.avi 4c5e8754506ff2c53649541e4fcd2438 *./data/out.yuv +3c65a1bc6866649e666286c825bd5b96 *./data/a-mpeg1b.mpg +da8e21c7b78b7a25558dc319524b91d8 *./data/out.yuv 5bcc6fd4b7dde27c74c633c761f0e5b1 *./data/a-mjpeg.avi f23a9e50a559e174766ee808c48fea22 *./data/out.yuv 7a7bc04024061a1dc942fe87573fd8d6 *./data/a-rv10.rm diff --git a/tests/regression.sh b/tests/regression.sh index 004b7bb2c0..92dc9ad953 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -35,6 +35,7 @@ else do_ac3=y do_rc=y do_mpeg4adv=y + do_mpeg1b=y fi @@ -179,6 +180,16 @@ do_ffmpeg $file -y -qscale 9 -4mv -hq -part -ps 1000 -f pgmyuv -i $raw_src -an - do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst fi +################################### +if [ -n "$do_mpeg1b" ] ; then +# mpeg1 +file=${outfile}mpeg1b.mpg +do_ffmpeg $file -y -qscale 8 -bf 3 -f pgmyuv -i $raw_src -an -vcodec mpeg1video $file + +# mpeg1 decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +fi + ################################### if [ -n "$do_mjpeg" ] ; then # mjpeg