Commit 714cd7e7 authored by Martin Storsjö's avatar Martin Storsjö

g722: Add a regression test for muxing/demuxing in wav

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f32fd318
...@@ -291,6 +291,11 @@ do_audio_encoding ac3.rm "-vn -acodec ac3_fixed" ...@@ -291,6 +291,11 @@ do_audio_encoding ac3.rm "-vn -acodec ac3_fixed"
#$tiny_psnr $pcm_dst $pcm_ref 2 1024 #$tiny_psnr $pcm_dst $pcm_ref 2 1024
fi fi
if [ -n "$do_g722" ] ; then
do_audio_encoding g722.wav "-b 64k -ac 1 -ar 16000 -acodec g722"
do_audio_decoding
fi
if [ -n "$do_g726" ] ; then if [ -n "$do_g726" ] ; then
do_audio_encoding g726.wav "-b 32k -ac 1 -ar 8000 -acodec g726" do_audio_encoding g726.wav "-b 32k -ac 1 -ar 8000 -acodec g726"
do_audio_decoding do_audio_decoding
......
b380355e0360b4e50ee78f33fd60a0f5 *./tests/data/acodec/g722.wav
47991 ./tests/data/acodec/g722.wav
82fdd5bb059336e0550de7ba5947c5bb *./tests/data/g722.acodec.out.wav
stddev: 8860.44 PSNR: 17.38 MAXDIFF:33814 bytes: 191732/ 1058400
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