diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-07 15:10:47 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-07 15:10:47 +0000 |
commit | 311be1fb050d8bae8a84f5115dde77254e0eb13e (patch) | |
tree | ae6ba3019512ffd1fb7ae7a32f867b37b6a6d4d8 | |
parent | d4e437df360ddd74c6aca7159e9923504e272f88 (diff) | |
download | ffmpeg-311be1fb050d8bae8a84f5115dde77254e0eb13e.tar.gz |
g726 regression test
Originally committed as revision 2761 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | tests/ffmpeg.regression.ref | 2 | ||||
-rwxr-xr-x | tests/regression.sh | 11 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 2 |
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index 321bc6c636..016f695d76 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -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 diff --git a/tests/regression.sh b/tests/regression.sh index b3796d765e..d62b986c00 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -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 @@ -366,6 +367,16 @@ do_ffmpeg $file -y -ab 128 -ac 2 -f s16le -i $pcm_src -vn $file 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 ################################### diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index 24402a2db6..10b895b515 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -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 |