aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-07 17:04:30 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-07 17:04:30 +0000
commit3160138fc234cd2751b6d6ba550cd064a73e6dbb (patch)
tree81d48c40682b61a16f74bac857962572ae7b0e93
parent7dda43eefdd9799bded9d4afe154808d0fded0c1 (diff)
downloadffmpeg-3160138fc234cd2751b6d6ba550cd064a73e6dbb.tar.gz
vorbis regression test
(using .asf as our .ogg muxer depends on libogg, nut muxer depends on libnut and vorbis in avi/mpeg is not really a good idea) Originally committed as revision 7874 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/ffmpeg.regression.ref4
-rwxr-xr-xtests/regression.sh7
-rw-r--r--tests/rotozoom.regression.ref4
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index 65cf13251e..7511eeaf3c 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -198,3 +198,7 @@ stddev:2106.00 PSNR:29.85 bytes:1048576
8d05d345bc14153f3d0da95fdf34e084 *./data/out.wav
stddev:12255.92 PSNR:14.55 bytes:1056768
stddev:2099.31 PSNR:29.88 bytes:1048576
+6a55c7b433fbe4cd1ca21d149aaeb525 *./data/a-vorbis.asf
+35686 ./data/a-vorbis.asf
+295d828df6167db030d0812ce1a8fd93 *./data/out.wav
+stddev:3882.46 PSNR:24.54 bytes:1056768
diff --git a/tests/regression.sh b/tests/regression.sh
index 92a85ca1f1..219a65c9d5 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -70,6 +70,7 @@ else
do_adpcm_ms=y
do_flac=y
do_wma=y
+ do_vorbis=y
do_rc=y
do_mpeg4adv=y
do_mpeg4thread=y
@@ -554,6 +555,12 @@ do_audio_decoding
$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
fi
+###################################
+if [ -n "$do_vorbis" ] ; then
+# vorbis
+do_audio_encoding vorbis.asf "-ar 44100" "-acodec vorbis"
+do_audio_decoding
+fi
###################################
# libavformat testing
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 23b3b6c951..4f846c3003 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -198,3 +198,7 @@ stddev:2106.00 PSNR:29.85 bytes:1048576
8d05d345bc14153f3d0da95fdf34e084 *./data/out.wav
stddev:12255.92 PSNR:14.55 bytes:1056768
stddev:2099.31 PSNR:29.88 bytes:1048576
+6a55c7b433fbe4cd1ca21d149aaeb525 *./data/a-vorbis.asf
+35686 ./data/a-vorbis.asf
+295d828df6167db030d0812ce1a8fd93 *./data/out.wav
+stddev:3882.46 PSNR:24.54 bytes:1056768