diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-08-26 07:42:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-08-26 07:42:25 +0000 |
commit | 922bc38d55995536e84db1b704fdccc140870d26 (patch) | |
tree | 4fc62daffb1badfa2042b0ba71271be898a2a9c5 /tests/regression.sh | |
parent | e4eadb4b44a5bd446d2f83e92a7baeddb82448ad (diff) | |
download | ffmpeg-922bc38d55995536e84db1b704fdccc140870d26.tar.gz |
mpeg2 regression test
add mpeg2video_decoder, thats more consistant with the encoders, note, both mpeg1video and mpeg2video decoder will happily decode both mpeg1 and 2
Originally committed as revision 2166 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-x | tests/regression.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/regression.sh b/tests/regression.sh index 72ae9d0a9a..397bdc89a8 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -32,6 +32,7 @@ elif [ "$1" = "libavtest" ] ; then outfile="$datadir/b-" else do_mpeg=y + do_mpeg2=y do_msmpeg4v2=y do_msmpeg4=y do_wmv1=y @@ -121,10 +122,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -f mpeg1video $file # mpeg1 decoding do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +fi + +################################### +if [ -n "$do_mpeg2" ] ; then +# mpeg2 encoding +file=${outfile}mpeg2.vob +do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video $file # mpeg2 decoding -#do_ffmpeg /tmp/out-mpeg2.yuv -y -f mpegvideo -i a.vob \ -# -f rawvideo /tmp/out-mpeg2.yuv +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst fi ################################### |