Commit aeb2904e authored by Michael Niedermayer's avatar Michael Niedermayer

flac regression test

Originally committed as revision 5515 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9e96ab03
......@@ -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
......@@ -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
###################################
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment