[FFmpeg-devel] [PATCH]Enable ac3 decoding regression test (improved PSNR)
Carl Eugen Hoyos
cehoyos
Mon Oct 13 13:30:18 CEST 2008
Hi!
Attached is a patch to enable ac3 decoding regression tests. I found the
best values for stddec and PSNR with the following command line:
tiny_psnr data/ac3.vsynth.out.wav data/vsynth.ref.wav 2 1024
(in tests)
Is there a better value for shift?
I cannot test on something else than x86-32.
Please comment, Carl Eugen
-------------- next part --------------
Index: tests/rotozoom.regression.ref
===================================================================
--- tests/rotozoom.regression.ref (Revision 15601)
+++ tests/rotozoom.regression.ref (Arbeitskopie)
@@ -177,6 +177,9 @@
stddev: 4394.71 PSNR: 23.46 bytes: 1053352/ 1058444
aefe11ab5067621a1c674859d6413891 *./tests/data/a-ac3.rm
98203 ./tests/data/a-ac3.rm
+39d5646cba5a6cfedfd58845e6df3c06 *./tests/data/ac3.rotozoom.out.wav
+stddev:10496.20 PSNR: 15.90 bytes: 1056812/ 1058444
+stddev: 4631.51 PSNR: 23.00 bytes: 1055788/ 1058444
39878597b1d65cce473639a7d8c93b02 *./tests/data/a-g726.wav
24279 ./tests/data/a-g726.wav
888f2f016e608d044a1bacbca5497ed2 *./tests/data/g726.rotozoom.out.wav
Index: tests/regression.sh
===================================================================
--- tests/regression.sh (Revision 15601)
+++ tests/regression.sh (Arbeitskopie)
@@ -381,7 +381,8 @@
if [ -n "$do_ac3" ] ; then
do_audio_encoding ac3.rm "" -vn
-#do_audio_decoding
+do_audio_decoding
+$tiny_psnr $pcm_dst $pcm_ref 2 1024 >> $logfile
fi
if [ -n "$do_g726" ] ; then
Index: tests/ffmpeg.regression.ref
===================================================================
--- tests/ffmpeg.regression.ref (Revision 15601)
+++ tests/ffmpeg.regression.ref (Arbeitskopie)
@@ -177,6 +177,9 @@
stddev: 4394.71 PSNR: 23.46 bytes: 1053352/ 1058444
aefe11ab5067621a1c674859d6413891 *./tests/data/a-ac3.rm
98203 ./tests/data/a-ac3.rm
+39d5646cba5a6cfedfd58845e6df3c06 *./tests/data/ac3.vsynth.out.wav
+stddev:10496.20 PSNR: 15.90 bytes: 1056812/ 1058444
+stddev: 4631.51 PSNR: 23.00 bytes: 1055788/ 1058444
39878597b1d65cce473639a7d8c93b02 *./tests/data/a-g726.wav
24279 ./tests/data/a-g726.wav
888f2f016e608d044a1bacbca5497ed2 *./tests/data/g726.vsynth.out.wav
More information about the ffmpeg-devel
mailing list