h.261 regression test
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Oct 2004 10:24:02 +0000 (10:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Oct 2004 10:24:02 +0000 (10:24 +0000)
Originally committed as revision 3644 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/ffmpeg.regression.ref
tests/regression.sh
tests/rotozoom.regression.ref

index b3546b5..a550797 100644 (file)
@@ -35,6 +35,10 @@ a5bd577163968edab00058f2c8d5efab *./data/a-wmv2.avi
 682132 ./data/a-wmv2.avi
 09253222ab4eb95628c931a86006a2b1 *./data/out.yuv
 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
 682226 ./data/a-h263.avi
 f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv
index 5c064ad..91d82eb 100755 (executable)
@@ -44,6 +44,7 @@ else
     do_msmpeg4=y
     do_wmv1=y
     do_wmv2=y
+    do_h261=y
     do_h263=y
     do_h263p=y
     do_mpeg4=y
@@ -224,6 +225,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
 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
 # h263 encoding
 file=${outfile}h263.avi
index 3df2f92..54facb7 100644 (file)
@@ -35,6 +35,10 @@ stddev:  5.33 PSNR:33.58 bytes:7602176
 129214 ./data/a-wmv2.avi
 f80d2809e79af3ebcfe831deab9af03c *./data/out.yuv
 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
 159596 ./data/a-h263.avi
 7ec66fb7dd4e5dddd3820c668d6636aa *./data/out.yuv