[FFmpeg-devel] [PATCH 2/3] fate: Add AAC regression test
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Mar 2 00:21:13 CET 2012
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
tests/codec-regression.sh | 5 +++++
tests/ref/acodec/aac | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 tests/ref/acodec/aac
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index cd6512c..f1a0c61 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -372,6 +372,11 @@ do_audio_decoding
$tiny_psnr $pcm_dst $pcm_ref 2 1924
fi
+if [ -n "$do_aac" ] ; then
+do_audio_encoding aac.mp4 "-acodec aac -strict experimental"
+do_audio_decoding
+fi
+
if [ -n "$do_ac3_fixed" ] ; then
do_audio_encoding ac3.ac3 "-vn -acodec ac3_fixed"
# binaries configured with --disable-sse decode ac3 differently
diff --git a/tests/ref/acodec/aac b/tests/ref/acodec/aac
new file mode 100644
index 0000000..3820153
--- /dev/null
+++ b/tests/ref/acodec/aac
@@ -0,0 +1,4 @@
+c6e17b6a794edc8d858aa8befe4ccb73 *./tests/data/acodec/aac.mp4
+96052 ./tests/data/acodec/aac.mp4
+fed805b125513260ac93feda0d967da6 *./tests/data/aac.acodec.out.wav
+stddev:10989.22 PSNR: 15.51 MAXDIFF:65526 bytes: 1064960/ 1058400
--
1.7.9.1
More information about the ffmpeg-devel
mailing list