Commit 311be1fb authored by Michael Niedermayer's avatar Michael Niedermayer

g726 regression test

Originally committed as revision 2761 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d4e437df
...@@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176 ...@@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2 21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav 624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./data/out.wav
...@@ -46,6 +46,7 @@ else ...@@ -46,6 +46,7 @@ else
do_rv10=y do_rv10=y
do_mp2=y do_mp2=y
do_ac3=y do_ac3=y
do_g726=y
do_rc=y do_rc=y
do_mpeg4adv=y do_mpeg4adv=y
do_mpeg4nr=y do_mpeg4nr=y
...@@ -365,6 +366,16 @@ do_ffmpeg $file -y -ab 128 -ac 2 -f s16le -i $pcm_src -vn $file ...@@ -365,6 +366,16 @@ do_ffmpeg $file -y -ab 128 -ac 2 -f s16le -i $pcm_src -vn $file
#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_g726" ] ; then
# g726 encoding
file=${outfile}g726.wav
do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -ab 32 -ac 1 -ar 8000 -acodec g726 $file
# g726 decoding
do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
fi
################################### ###################################
# libav testing # libav testing
################################### ###################################
......
...@@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176 ...@@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2 21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav 624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
23def970a6a301bd0095c89e58f5282f *./data/out.wav
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment