[FFmpeg-devel] [PATCH 2/3] fate: Add AAC regression test

Michael Niedermayer michaelni at gmx.at
Fri Mar 2 02:40:56 CET 2012


On Thu, Mar 01, 2012 at 06:21:13PM -0500, Derek Buitenhuis wrote:
> 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

these numbers look as if the decoded and original are not
aligned (see the mp2 test)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120302/d176e221/attachment.asc>


More information about the ffmpeg-devel mailing list