diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-09 23:52:06 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-09 23:52:06 +0000 |
commit | bbdd42d36f5fc558be23dacb41693b326beb9fa1 (patch) | |
tree | 36278218a3d47ac8d7ac1b585a49c6d78d3f06b4 /tests/regression.sh | |
parent | d4f5d74a54183a0198053b0ceb0faa21ad686551 (diff) | |
download | ffmpeg-bbdd42d36f5fc558be23dacb41693b326beb9fa1.tar.gz |
flv regression test
Originally committed as revision 2025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-x | tests/regression.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/regression.sh b/tests/regression.sh index 6407f365e6..0a50b05bfb 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -46,6 +46,7 @@ else do_mpeg4adv=y do_mpeg1b=y do_asv1=y + do_flv=y fi @@ -265,6 +266,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst fi ################################### +if [ -n "$do_flv" ] ; then +# flv encoding +file=${outfile}flv.flv +do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec flv $file + +# flv decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +fi + +################################### if [ -n "$do_mp2" ] ; then # mp2 encoding file=${outfile}mp2.mp2 @@ -321,6 +332,11 @@ file=${outfile}libav.ffm do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file do_ffmpeg_crc $file -i $file +# flv +file=${outfile}libav.flv +do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file +do_ffmpeg_crc $file -i $file + # XXX: need mov and mpegts tests (add bitstreams or add output capability in ffmpeg) #################### |