diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-06-24 11:40:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-06-24 11:40:21 +0000 |
commit | aeb2904ebaf520031da7893df9a41c47ba1e38ed (patch) | |
tree | ebaa382685633703d9ee7e6eb34a0a62d9b07b84 /tests | |
parent | 9e96ab03895d2ce48bdd09b544c7f0ab31b247fe (diff) | |
download | ffmpeg-aeb2904ebaf520031da7893df9a41c47ba1e38ed.tar.gz |
flac regression test
Originally committed as revision 5515 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ffmpeg.regression.ref | 4 | ||||
-rwxr-xr-x | tests/regression.sh | 11 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 4 |
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index b6de5f48e4..7b77f226d2 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 5853d738d1..7bd285a470 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 3f21a71f6d..687420274d 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 |