Commit bbdd42d3 authored by Michael Niedermayer's avatar Michael Niedermayer

flv regression test

Originally committed as revision 2025 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d4f5d74a
......@@ -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
......@@ -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
......
......@@ -46,6 +46,7 @@ else
do_mpeg4adv=y
do_mpeg1b=y
do_asv1=y
do_flv=y
fi
......@@ -264,6 +265,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec asv1 $file
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
......@@ -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)
####################
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment