flac regression test

Originally committed as revision 5515 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-06-24 11:40:21 +00:00
parent 9e96ab0389
commit aeb2904eba
3 changed files with 19 additions and 0 deletions

View 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

View File

@ -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
###################################

View 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