wma regression test
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Feb 2007 23:59:10 +0000 (23:59 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Feb 2007 23:59:10 +0000 (23:59 +0000)
Originally committed as revision 7865 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

index 9fc02bf8b4ce16fd5c6a889574b9b41c537772bc..65cf13251e9a35fb846f9bc20f1ae58e40373e51 100644 (file)
@@ -188,3 +188,13 @@ c3382f03ce2efb5d475240d288a33898 *./data/a-flac.flac
 353368 ./data/a-flac.flac
 c4228df189aad9567a037727d0e763e4 *./data/out.wav
 stddev: 33.31 PSNR:65.87 bytes:1040384
+75d124394e3e8b733f5563bd282eec85 *./data/a-wmav1.asf
+99596 ./data/a-wmav1.asf
+2ab193df22bb473e61015e56ac11faf3 *./data/out.wav
+stddev:12251.50 PSNR:14.56 bytes:1056768
+stddev:2106.00 PSNR:29.85 bytes:1048576
+23d66614fc8bd437e3ca8c1c6c345a33 *./data/a-wmav2.asf
+99602 ./data/a-wmav2.asf
+8d05d345bc14153f3d0da95fdf34e084 *./data/out.wav
+stddev:12255.92 PSNR:14.55 bytes:1056768
+stddev:2099.31 PSNR:29.88 bytes:1048576
index bace8650aac106f653ed0e03384a6e2267726c53..9b5851f70d0bcaeb9a240eef15c97509bb3760fc 100755 (executable)
@@ -69,6 +69,7 @@ else
     do_adpcm_ima_wav=y
     do_adpcm_ms=y
     do_flac=y
+    do_wma=y
     do_rc=y
     do_mpeg4adv=y
     do_mpeg4thread=y
@@ -541,6 +542,19 @@ do_audio_encoding flac.flac "-ar 44100" "-acodec flac -compression_level 2"
 do_audio_decoding
 fi
 
+###################################
+if [ -n "$do_wma" ] ; then
+# wmav1
+do_audio_encoding wmav1.asf "-ar 44100" "-acodec wmav1"
+do_audio_decoding
+$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
+# wmav2
+do_audio_encoding wmav2.asf "-ar 44100" "-acodec wmav2"
+do_audio_decoding
+$tiny_psnr $pcm_dst $pcm_ref 2 8192 >> $logfile
+fi
+
+
 ###################################
 # libavformat testing
 ###################################
index 3aea58c7a37a3ae95be6e2dd1e39d90ada04fdd4..23b3b6c95146cb48fc5730545a27e3fe92815197 100644 (file)
@@ -188,3 +188,13 @@ c3382f03ce2efb5d475240d288a33898 *./data/a-flac.flac
 353368 ./data/a-flac.flac
 c4228df189aad9567a037727d0e763e4 *./data/out.wav
 stddev: 33.31 PSNR:65.87 bytes:1040384
+75d124394e3e8b733f5563bd282eec85 *./data/a-wmav1.asf
+99596 ./data/a-wmav1.asf
+2ab193df22bb473e61015e56ac11faf3 *./data/out.wav
+stddev:12251.50 PSNR:14.56 bytes:1056768
+stddev:2106.00 PSNR:29.85 bytes:1048576
+23d66614fc8bd437e3ca8c1c6c345a33 *./data/a-wmav2.asf
+99602 ./data/a-wmav2.asf
+8d05d345bc14153f3d0da95fdf34e084 *./data/out.wav
+stddev:12255.92 PSNR:14.55 bytes:1056768
+stddev:2099.31 PSNR:29.88 bytes:1048576