diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-08 02:35:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-08 02:35:37 +0000 |
commit | f02ab8148c622d5547ef81d1e0c1a357d05134bc (patch) | |
tree | aa3d181deeb8120a43fc35a570a7d64fea449778 /tests/regression.sh | |
parent | 6cf9d5ebd3eab7132cf17ce86334987cef221f4e (diff) | |
download | ffmpeg-f02ab8148c622d5547ef81d1e0c1a357d05134bc.tar.gz |
ima & ms adpcm regression test
Originally committed as revision 2766 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-x | tests/regression.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/regression.sh b/tests/regression.sh index d62b986c00..d7883136e9 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -47,6 +47,8 @@ else do_mp2=y do_ac3=y do_g726=y + do_adpcm_ima_wav=y + do_adpcm_ms=y do_rc=y do_mpeg4adv=y do_mpeg4nr=y @@ -377,6 +379,26 @@ do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst fi ################################### +if [ -n "$do_adpcm_ima_wav" ] ; then +# encoding +file=${outfile}adpcm_ima.wav +do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_ima_wav $file + +# decoding +do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst +fi + +################################### +if [ -n "$do_adpcm_ms" ] ; then +# encoding +file=${outfile}adpcm_ms.wav +do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_ms $file + +# decoding +do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst +fi + +################################### # libav testing ################################### |