Commit 61b262a9 authored by Michael Niedermayer's avatar Michael Niedermayer

h.261 regression test

Originally committed as revision 3644 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1c3990db
...@@ -35,6 +35,10 @@ a5bd577163968edab00058f2c8d5efab *./data/a-wmv2.avi ...@@ -35,6 +35,10 @@ a5bd577163968edab00058f2c8d5efab *./data/a-wmv2.avi
682132 ./data/a-wmv2.avi 682132 ./data/a-wmv2.avi
09253222ab4eb95628c931a86006a2b1 *./data/out.yuv 09253222ab4eb95628c931a86006a2b1 *./data/out.yuv
stddev: 8.02 PSNR:30.04 bytes:7602176 stddev: 8.02 PSNR:30.04 bytes:7602176
394b91b7ef6b94e375316cc3037e68c5 *./data/a-h261.avi
779660 ./data/a-h261.avi
1dd0be7be463c1a338d1b848e926a0b8 *./data/out.yuv
stddev: 9.17 PSNR:28.87 bytes:7602176
fa556e599181bf9328a811a1ce9aa022 *./data/a-h263.avi fa556e599181bf9328a811a1ce9aa022 *./data/a-h263.avi
682226 ./data/a-h263.avi 682226 ./data/a-h263.avi
f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv
......
...@@ -44,6 +44,7 @@ else ...@@ -44,6 +44,7 @@ else
do_msmpeg4=y do_msmpeg4=y
do_wmv1=y do_wmv1=y
do_wmv2=y do_wmv2=y
do_h261=y
do_h263=y do_h263=y
do_h263p=y do_h263p=y
do_mpeg4=y do_mpeg4=y
...@@ -223,6 +224,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec wmv2 $file ...@@ -223,6 +224,16 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec wmv2 $file
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi fi
###################################
if [ -n "$do_h261" ] ; then
# h261 encoding
file=${outfile}h261.avi
do_ffmpeg $file -y -qscale 11 -f pgmyuv -i $raw_src -s 352x288 -an -vcodec h261 $file
# h261 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
################################### ###################################
if [ -n "$do_h263" ] ; then if [ -n "$do_h263" ] ; then
# h263 encoding # h263 encoding
......
...@@ -35,6 +35,10 @@ stddev: 5.33 PSNR:33.58 bytes:7602176 ...@@ -35,6 +35,10 @@ stddev: 5.33 PSNR:33.58 bytes:7602176
129214 ./data/a-wmv2.avi 129214 ./data/a-wmv2.avi
f80d2809e79af3ebcfe831deab9af03c *./data/out.yuv f80d2809e79af3ebcfe831deab9af03c *./data/out.yuv
stddev: 5.33 PSNR:33.58 bytes:7602176 stddev: 5.33 PSNR:33.58 bytes:7602176
39726b83734fa58d33d99098511cdb98 *./data/a-h261.avi
194348 ./data/a-h261.avi
c74fbf0b0faf1124e172413c059ab45a *./data/out.yuv
stddev: 6.40 PSNR:31.99 bytes:7602176
ef053b1fec77a49eb8a27510b81e4041 *./data/a-h263.avi ef053b1fec77a49eb8a27510b81e4041 *./data/a-h263.avi
159596 ./data/a-h263.avi 159596 ./data/a-h263.avi
7ec66fb7dd4e5dddd3820c668d6636aa *./data/out.yuv 7ec66fb7dd4e5dddd3820c668d6636aa *./data/out.yuv
......
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