flac regression test
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Jun 2006 11:40:21 +0000 (11:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Jun 2006 11:40:21 +0000 (11:40 +0000)
Originally committed as revision 5515 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

index b6de5f4..7b77f22 100644 (file)
@@ -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
index 5853d73..7bd285a 100755 (executable)
@@ -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
@@ -594,6 +595,16 @@ do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_ya
 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
 ###################################
index 3f21a71..6874202 100644 (file)
@@ -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