summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-28 10:24:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-28 10:24:02 +0000
commit61b262a90ae9a337875cba826bb89a35ab92f3d0 (patch)
treed9ec1220249c480dd83667ef47c964848fae5c97 /tests
parent1c3990dbba6a1e594c8a273e85c8460d90d29643 (diff)
downloadffmpeg-streaming-61b262a90ae9a337875cba826bb89a35ab92f3d0.zip
ffmpeg-streaming-61b262a90ae9a337875cba826bb89a35ab92f3d0.tar.gz
h.261 regression test
Originally committed as revision 3644 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/ffmpeg.regression.ref4
-rwxr-xr-xtests/regression.sh11
-rw-r--r--tests/rotozoom.regression.ref4
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index b3546b5..a550797 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -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
diff --git a/tests/regression.sh b/tests/regression.sh
index 5c064ad..91d82eb 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -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
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 3df2f92..54facb7 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -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
OpenPOWER on IntegriCloud