mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
g726 regression test
Originally committed as revision 2761 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d4e437df36
commit
311be1fb05
@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
|
||||
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
|
||||
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
|
||||
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
|
||||
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
|
||||
23def970a6a301bd0095c89e58f5282f *./data/out.wav
|
||||
|
@ -46,6 +46,7 @@ else
|
||||
do_rv10=y
|
||||
do_mp2=y
|
||||
do_ac3=y
|
||||
do_g726=y
|
||||
do_rc=y
|
||||
do_mpeg4adv=y
|
||||
do_mpeg4nr=y
|
||||
@ -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
|
||||
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
|
||||
###################################
|
||||
|
@ -71,3 +71,5 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
|
||||
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
|
||||
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
|
||||
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
|
||||
88c867eee0fb3a51263253477e5b39cf *./data/a-g726.wav
|
||||
23def970a6a301bd0095c89e58f5282f *./data/out.wav
|
||||
|
Loading…
x
Reference in New Issue
Block a user