[SCM] libav/experimental: flac regression test
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:48:16 UTC 2013
The following commit has been merged in the experimental branch:
commit aeb2904ebaf520031da7893df9a41c47ba1e38ed
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sat Jun 24 11:40:21 2006 +0000
flac regression test
Originally committed as revision 5515 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index b6de5f4..7b77f22 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -176,3 +176,7 @@ stddev:1050.18 PSNR:35.89 bytes:1054720
264236 ./data/a-adpcm_yam.wav
e92cec8c07913ffb91ad2b11f79cdc00 *./data/out.wav
stddev:18312.68 PSNR:11.06 bytes:1056768
+7bcc7daf968fc489c9b4b7aca5ae380d *./data/a-flac.flac
+799336 ./data/a-flac.flac
+0116cdcefd0aeae3ab8e5140c19c725d *./data/out.wav
+stddev: 51.59 PSNR:62.07 bytes:1032192
diff --git a/tests/regression.sh b/tests/regression.sh
index 5853d73..7bd285a 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -68,6 +68,7 @@ else
do_g726=y
do_adpcm_ima_wav=y
do_adpcm_ms=y
+ do_flac=y
do_rc=y
do_mpeg4adv=y
do_mpeg4thread=y
@@ -595,6 +596,16 @@ do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
fi
###################################
+if [ -n "$do_flac" ] ; then
+# encoding
+file=${outfile}flac.flac
+do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec flac $file
+
+# decoding
+do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
+fi
+
+###################################
# libav testing
###################################
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 3f21a71..6874202 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -176,3 +176,7 @@ stddev:1050.18 PSNR:35.89 bytes:1054720
264236 ./data/a-adpcm_yam.wav
e92cec8c07913ffb91ad2b11f79cdc00 *./data/out.wav
stddev:18312.68 PSNR:11.06 bytes:1056768
+7bcc7daf968fc489c9b4b7aca5ae380d *./data/a-flac.flac
+799336 ./data/a-flac.flac
+0116cdcefd0aeae3ab8e5140c19c725d *./data/out.wav
+stddev: 51.59 PSNR:62.07 bytes:1032192
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list