diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-09-20 15:22:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-09-20 15:22:24 +0000 |
commit | 1dbb6d9026e75e1df2ebd919f071d9a872984a80 (patch) | |
tree | aa050bd2ccebc328d2ea412e329927edb77fef47 /tests/regression.sh | |
parent | 084c726ba306eb19077ac525764acec6c110f1d4 (diff) | |
download | ffmpeg-1dbb6d9026e75e1df2ebd919f071d9a872984a80.tar.gz |
regression test for ratecontrol & adv mpeg4 stuff
Originally committed as revision 962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-x | tests/regression.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/regression.sh b/tests/regression.sh index cd64d398f2..081f58c33e 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -29,6 +29,8 @@ else do_rv10=y do_mp2=y do_ac3=y + do_rc=y + do_mpeg4adv=y fi @@ -134,6 +136,26 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst fi ################################### +if [ -n "$do_rc" ] ; then +# mpeg4 rate control +file=${outfile}mpeg4-rc.avi +do_ffmpeg $file -y -b 400 -bf 2 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file + +# mpeg4 rate control decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +fi + +################################### +if [ -n "$do_mpeg4adv" ] ; then +# mpeg4 +file=${outfile}mpeg4-adv.avi +do_ffmpeg $file -y -qscale 9 -4mv -hq -part -ps 1000 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file + +# mpeg4 decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +fi + +################################### if [ -n "$do_mjpeg" ] ; then # mjpeg file=${outfile}mjpeg.avi |