diff options
author | Peter Ross <pross@xvid.org> | 2008-08-08 23:31:43 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-08-08 23:31:43 +0000 |
commit | 4f5c72e85744304cc41ba430a8dfd005d18a06b3 (patch) | |
tree | 2b31345129fc2e61f4e6167baa659c8107ffd21c /tests/regression.sh | |
parent | 76eb5c05236c73883149388aa61e9a3ccbe4f962 (diff) | |
download | ffmpeg-4f5c72e85744304cc41ba430a8dfd005d18a06b3.tar.gz |
PCM regression tests.
Originally committed as revision 14671 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-x | tests/regression.sh | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/tests/regression.sh b/tests/regression.sh index ea45557761..8b2732f66f 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -126,7 +126,7 @@ do_audio_encoding() do_audio_decoding() { - do_ffmpeg $pcm_dst -i $file -f wav $pcm_dst + do_ffmpeg $pcm_dst -i $file -sample_fmt s16 -f wav $pcm_dst } do_libav() @@ -437,6 +437,33 @@ fi #do_audio_decoding #fi +do_audio_enc_dec() { + do_audio_encoding $3.$1 "" "$4 -sample_fmt $2 -acodec $3" + do_audio_decoding +} + +if [ -n "$do_pcm" ] ; then +do_audio_enc_dec wav s16 pcm_alaw +do_audio_enc_dec wav s16 pcm_mulaw +do_audio_enc_dec mov s16 pcm_s8 +do_audio_enc_dec wav s16 pcm_u8 +do_audio_enc_dec mov s16 pcm_s16be +do_audio_enc_dec wav s16 pcm_s16le +do_audio_enc_dec mkv s16 pcm_u16be +do_audio_enc_dec mkv s16 pcm_u16le +do_audio_enc_dec mov s16 pcm_s24be +do_audio_enc_dec wav s16 pcm_s24le +#do_audio_enc_dec ??? s16 pcm_u24be #no compatible muxer or demuxer +#do_audio_enc_dec ??? s16 pcm_u24le #no compatible muxer or demuxer +do_audio_enc_dec mov s16 pcm_s32be +do_audio_enc_dec wav s16 pcm_s32le +#do_audio_enc_dec ??? s16 pcm_u32be #no compatible muxer or demuxer +#do_audio_enc_dec ??? s16 pcm_u32le #no compatible muxer or demuxer +do_audio_enc_dec au flt pcm_f32be +do_audio_enc_dec wav s16 pcm_zork +do_audio_enc_dec 302 s16 pcm_s24daud "-ac 6 -ar 96000" +fi + # libavformat testing if [ -n "$do_avi" ] ; then |