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 | |
parent | d4f5d74a54183a0198053b0ceb0faa21ad686551 (diff) | |
download | ffmpeg-streaming-bbdd42d36f5fc558be23dacb41693b326beb9fa1.zip ffmpeg-streaming-bbdd42d36f5fc558be23dacb41693b326beb9fa1.tar.gz |
flv regression test
Originally committed as revision 2025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ffmpeg.regression.ref | 3 | ||||
-rw-r--r-- | tests/libav.regression.ref | 2 | ||||
-rwxr-xr-x | tests/regression.sh | 16 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 3 |
4 files changed, 24 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index f554cf1..39c02fb 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -44,6 +44,9 @@ stddev: 13.42 bytes:7602176 89ad858355f9b0a92d024c5ba6e369dd *./data/a-asv1.avi b3e1696d73071c8f7f0ff4e10c1677ca *./data/out.yuv stddev: 19.19 bytes:7602176 +4a516d78139d521847fdba64a1123aea *./data/a-flv.flv +84300a0d7efb0ad79a035aa1a8bdd07b *./data/out.yuv +stddev: 12.83 bytes:7602176 21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2 116d1290ba1b4eb98fdee52e423417b1 *./data/out.wav 048b9c3444c788bac6ce5cc3a8f4db00 *./data/a-ac3.rm diff --git a/tests/libav.regression.ref b/tests/libav.regression.ref index d04eaa1..364eb56 100644 --- a/tests/libav.regression.ref +++ b/tests/libav.regression.ref @@ -10,6 +10,8 @@ f34176ef4f8577c93d51d7c403c8776d *./data/a-libav.asf ./data/a-libav.swf CRC=d813a4a6 3d0ea8f9cc0f9c4ed096381de3ab7d53 *./data/a-libav.ffm ./data/a-libav.ffm CRC=2a4bfa20 +b2c9ee08b47bc840e29f2e9fdffe9825 *./data/a-libav.flv +./data/a-libav.flv CRC=273d7a21 9a9da315747599f7718cc9a9a09c21ff *./data/a-libav.pbm ./data/a-libav.pbm CRC=a1057fd1 6ea0e1faf08f6fcdb44db4a104361b57 *./data/a-libav.pgm diff --git a/tests/regression.sh b/tests/regression.sh index 6407f36..0a50b05 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) #################### diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index d0d4938..5ad7fef 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -44,6 +44,9 @@ stddev: 13.18 bytes:7602176 9c4f5a4613a5595c90c6b99bf143b6a9 *./data/a-asv1.avi 4251d7f496bbf362251b065e840a1b73 *./data/out.yuv stddev: 9.80 bytes:7602176 +c91bf4595136dfea764db37edfe5173b *./data/a-flv.flv +86da6ee46d2df190b4a0d72523b14a25 *./data/out.yuv +stddev: 5.29 bytes:7602176 21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2 116d1290ba1b4eb98fdee52e423417b1 *./data/out.wav 048b9c3444c788bac6ce5cc3a8f4db00 *./data/a-ac3.rm |