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/regression.sh | |
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/regression.sh')
-rwxr-xr-x | tests/regression.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 ################################### |