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

Add ALAC encoding and decoding regression tests.

Originally committed as revision 20188 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles 2009-10-06 22:47:33 +00:00
parent 96da1c51f6
commit 9797ce58b7
4 changed files with 14 additions and 0 deletions

View File

@ -194,6 +194,7 @@ CODEC_TESTS = $(addprefix regtest-, \
adpcm_ms \
adpcm_yam \
adpcm_swf \
alac \
flac \
wma \
pcm \

View File

@ -431,6 +431,11 @@ do_audio_encoding adpcm_swf.flv "-ar 44100" "-acodec adpcm_swf"
do_audio_decoding
fi
if [ -n "$do_alac" ] ; then
do_audio_encoding alac.m4a "-ar 44100" "-acodec alac -compression_level 1"
do_audio_decoding
fi
if [ -n "$do_flac" ] ; then
do_audio_encoding flac.flac "-ar 44100" "-acodec flac -compression_level 2"
do_audio_decoding

View File

@ -213,6 +213,10 @@ stddev: 1247.64 PSNR: 34.40 bytes: 1065004/ 1058444
269166 ./tests/data/a-adpcm_swf.flv
628089745a7059ae4055c2515b6d668b *./tests/data/adpcm_swf.rotozoom.out.wav
stddev: 933.65 PSNR: 36.92 bytes: 1065004/ 1058444
c68f649777ab8e7c9a0f1f221451d3ad *./tests/data/a-alac.m4a
389386 ./tests/data/a-alac.m4a
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/alac.rotozoom.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
7781a016edfc242a39e4d65af02d861a *./tests/data/a-flac.flac
353368 ./tests/data/a-flac.flac
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/flac.rotozoom.out.wav

View File

@ -213,6 +213,10 @@ stddev: 1247.64 PSNR: 34.40 bytes: 1065004/ 1058444
269166 ./tests/data/a-adpcm_swf.flv
628089745a7059ae4055c2515b6d668b *./tests/data/adpcm_swf.vsynth.out.wav
stddev: 933.65 PSNR: 36.92 bytes: 1065004/ 1058444
c68f649777ab8e7c9a0f1f221451d3ad *./tests/data/a-alac.m4a
389386 ./tests/data/a-alac.m4a
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/alac.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
7781a016edfc242a39e4d65af02d861a *./tests/data/a-flac.flac
353368 ./tests/data/a-flac.flac
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/flac.vsynth.out.wav