diff --git a/tests/Makefile b/tests/Makefile index f2c5ca8474..2674b18c2f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -6,6 +6,7 @@ REFS = $(AREF) $(VREF) $(VREF): ffmpeg$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm $(AREF): ffmpeg$(EXESUF) tests/data/asynth1.sw +$(AREF): CMP= ffservertest: ffserver$(EXESUF) tests/vsynth1/00.pgm tests/data/asynth1.sw @echo diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak index 0d4aa4a4fb..9d107ced52 100644 --- a/tests/fate/aac.mak +++ b/tests/fate/aac.mak @@ -71,7 +71,24 @@ FATE_AAC_CT = sbr_bc-ps_i.3gp \ FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%) -FATE_TESTS += $(FATE_AAC) -fate-aac: $(FATE_AAC) +FATE_AAC_ENCODE += fate-aac-aref-encode +fate-aac-aref-encode: $(AREF) +fate-aac-aref-encode: CMD = enc_dec_pcm adts s16le -strict -2 -c:a aac -b:a 512k +fate-aac-aref-encode: CMP = stddev +fate-aac-aref-encode: REF = ./tests/data/acodec.ref.wav +fate-aac-aref-encode: CMP_SHIFT = -4096 +fate-aac-aref-encode: CMP_TARGET = 1862 +fate-aac-aref-encode: SIZE_TOLERANCE = 2464 + +FATE_AAC_ENCODE += fate-aac-ln-encode +fate-aac-ln-encode: CMD = enc_dec_pcm adts s16le -strict -2 -c:a aac -b:a 512k +fate-aac-ln-encode: CMP = stddev +fate-aac-ln-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav +fate-aac-ln-encode: CMP_SHIFT = -4096 +fate-aac-ln-encode: CMP_TARGET = 65 +fate-aac-ln-encode: SIZE_TOLERANCE = 3560 + +FATE_TESTS += $(FATE_AAC) $(FATE_AAC_ENCODE) +fate-aac: $(FATE_AAC) $(FATE_AAC_ENCODE) $(FATE_AAC): CMP = oneoff $(FATE_AAC): FUZZ = 2