1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ima & ms adpcm regression test

Originally committed as revision 2766 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-02-08 02:35:37 +00:00
parent 6cf9d5ebd3
commit f02ab8148c
3 changed files with 30 additions and 0 deletions

View File

@ -73,3 +73,7 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav 88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./data/out.wav 23def970a6a301bd0095c89e58f5282f *./data/out.wav
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
449ec3854e8b09982302f92ea9cd47ca *./data/out.wav
5ac5a5ffd680d7880dfb1dd069851691 *./data/a-adpcm_ms.wav
e4276587e9ffef41a007ac4c12d3fad2 *./data/out.wav

View File

@ -47,6 +47,8 @@ else
do_mp2=y do_mp2=y
do_ac3=y do_ac3=y
do_g726=y do_g726=y
do_adpcm_ima_wav=y
do_adpcm_ms=y
do_rc=y do_rc=y
do_mpeg4adv=y do_mpeg4adv=y
do_mpeg4nr=y do_mpeg4nr=y
@ -376,6 +378,26 @@ do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -ab 32 -ac 1 -ar
do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
fi 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 # libav testing
################################### ###################################

View File

@ -73,3 +73,7 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav 88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./data/out.wav 23def970a6a301bd0095c89e58f5282f *./data/out.wav
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
449ec3854e8b09982302f92ea9cd47ca *./data/out.wav
5ac5a5ffd680d7880dfb1dd069851691 *./data/a-adpcm_ms.wav
e4276587e9ffef41a007ac4c12d3fad2 *./data/out.wav