Commit b86bd1f1 authored by Michael Niedermayer's avatar Michael Niedermayer

svq1 regression test

Originally committed as revision 3129 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 270f8784
......@@ -107,6 +107,10 @@ stddev: 8.09 PSNR:29.96 bytes:7602176
2653690 ./data/a-ffv1.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
4f19ea77c558be4773e81f6753bf0312 *./data/a-svq1.mov
1985787 ./data/a-svq1.mov
63ce98457dad973db89ed87ac2cb9392 *./data/out.yuv
stddev: 10.83 PSNR:27.43 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
95712 ./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
......
......@@ -66,6 +66,7 @@ else
do_flv=y
do_ffv1=y
do_error=y
do_svq1=y
fi
......@@ -402,6 +403,16 @@ do_ffmpeg $file -y -strict -1 -f pgmyuv -i $raw_src -an -vcodec ffv1 $file
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
if [ -n "$do_svq1" ] ; then
# svq1 encoding
file=${outfile}svq1.mov
do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec svq1 -pix_fmt yuv410p $file
# svq1 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
if [ -n "$do_mp2" ] ; then
# mp2 encoding
......
......@@ -107,6 +107,10 @@ stddev: 5.44 PSNR:33.41 bytes:7602176
3524824 ./data/a-ffv1.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
a9d289b2272969b7d59dcf7f8cfa5fc5 *./data/a-svq1.mov
1587819 ./data/a-svq1.mov
fc35c02e4d3b27f2a83d8fcebaa6ab1b *./data/out.yuv
stddev: 2.89 PSNR:38.90 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
95712 ./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
......
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