mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
946ed78f5f
There is a remaining error of 2 - 8 samples in some but not all cases, the source of the error is unknown ATM. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
111 lines
4.2 KiB
Makefile
111 lines
4.2 KiB
Makefile
FATE_AAC += fate-aac-al04_44
|
|
fate-aac-al04_44: CMD = pcm -i $(SAMPLES)/aac/al04_44.mp4
|
|
fate-aac-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
|
|
fate-aac-al04_44: CMP_SHIFT = 2048
|
|
|
|
FATE_AAC += fate-aac-al05_44
|
|
fate-aac-al05_44: CMD = pcm -i $(SAMPLES)/aac/al05_44.mp4
|
|
fate-aac-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
|
|
fate-aac-al05_44: CMP_SHIFT = 4096
|
|
|
|
FATE_AAC += fate-aac-al06_44
|
|
fate-aac-al06_44: CMD = pcm -i $(SAMPLES)/aac/al06_44.mp4
|
|
fate-aac-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
|
|
fate-aac-al06_44: CMP_SHIFT = 6144
|
|
|
|
FATE_AAC += fate-aac-al07_96
|
|
fate-aac-al07_96: CMD = pcm -i $(SAMPLES)/aac/al07_96.mp4
|
|
fate-aac-al07_96: REF = $(SAMPLES)/aac/al07_96_reorder.s16
|
|
fate-aac-al07_96: CMP_SHIFT = 12288
|
|
|
|
FATE_AAC += fate-aac-al15_44
|
|
fate-aac-al15_44: CMD = pcm -i $(SAMPLES)/aac/al15_44.mp4
|
|
fate-aac-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
|
|
fate-aac-al15_44: CMP_SHIFT = 12288
|
|
|
|
FATE_AAC += fate-aac-al17_44
|
|
fate-aac-al17_44: CMD = pcm -i $(SAMPLES)/aac/al17_44.mp4
|
|
fate-aac-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
|
|
fate-aac-al17_44: CMP_SHIFT = 4096
|
|
|
|
FATE_AAC += fate-aac-al18_44
|
|
fate-aac-al18_44: CMD = pcm -i $(SAMPLES)/aac/al18_44.mp4
|
|
fate-aac-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
|
|
fate-aac-al18_44: CMP_SHIFT = 2048
|
|
|
|
FATE_AAC += fate-aac-am00_88
|
|
fate-aac-am00_88: CMD = pcm -i $(SAMPLES)/aac/am00_88.mp4
|
|
fate-aac-am00_88: REF = $(SAMPLES)/aac/am00_88.s16
|
|
fate-aac-am00_88: CMP_SHIFT = 2048
|
|
|
|
FATE_AAC += fate-aac-am05_44
|
|
fate-aac-am05_44: CMD = pcm -i $(SAMPLES)/aac/am05_44.mp4
|
|
fate-aac-am05_44: REF = $(SAMPLES)/aac/am05_44_reorder.s16
|
|
fate-aac-am05_44: CMP_SHIFT = 12288
|
|
|
|
FATE_AAC += fate-aac-al_sbr_hq_cm_48_2
|
|
fate-aac-al_sbr_hq_cm_48_2: CMD = pcm -i $(SAMPLES)/aac/al_sbr_cm_48_2.mp4
|
|
fate-aac-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
|
|
fate-aac-al_sbr_hq_cm_48_2: CMP_SHIFT = 8192
|
|
|
|
FATE_AAC += fate-aac-al_sbr_hq_cm_48_5.1
|
|
fate-aac-al_sbr_hq_cm_48_5.1: CMD = pcm -i $(SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
|
|
fate-aac-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
|
|
fate-aac-al_sbr_hq_cm_48_5.1: CMP_SHIFT = 24576
|
|
|
|
FATE_AAC += fate-aac-al_sbr_ps_06_ur
|
|
fate-aac-al_sbr_ps_06_ur: CMD = pcm -i $(SAMPLES)/aac/al_sbr_ps_06_new.mp4
|
|
fate-aac-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
|
|
fate-aac-al_sbr_ps_06_ur: CMP_SHIFT = 8192
|
|
|
|
FATE_AAC += fate-aac-latm_000000001180bc60
|
|
fate-aac-latm_000000001180bc60: CMD = pcm -i $(SAMPLES)/aac/latm_000000001180bc60.mpg
|
|
fate-aac-latm_000000001180bc60: REF = $(SAMPLES)/aac/latm_000000001180bc60.s16
|
|
|
|
FATE_AAC += fate-aac-ap05_48
|
|
fate-aac-ap05_48: CMD = pcm -i $(SAMPLES)/aac/ap05_48.mp4
|
|
fate-aac-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
|
|
fate-aac-ap05_48: CMP_SHIFT = 4096
|
|
|
|
FATE_AAC += fate-aac-latm_stereo_to_51
|
|
fate-aac-latm_stereo_to_51: CMD = pcm -i $(SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
|
|
fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
|
|
|
|
fate-aac-ct%: CMD = pcm -i $(SAMPLES)/aac/CT_DecoderCheck/$(@:fate-aac-ct-%=%)
|
|
fate-aac-ct%: REF = $(SAMPLES)/aac/CT_DecoderCheck/aacPlusv2.wav
|
|
fate-aac-ct%: CMP_SHIFT = 8192
|
|
fate-aac-ct-sbr_i-ps_i.aac: CMP_SHIFT = 0
|
|
|
|
FATE_AAC_CT = sbr_bc-ps_i.3gp \
|
|
sbr_bic-ps_i.3gp \
|
|
sbr_i-ps_i.aac \
|
|
sbr_bc-ps_bc.mp4 \
|
|
sbr_bc-ps_i.mp4 \
|
|
sbr_i-ps_bic.mp4 \
|
|
sbr_i-ps_i.mp4
|
|
|
|
FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
|
|
|
|
FATE_AAC_ENCODE += fate-aac-aref-encode
|
|
fate-aac-aref-encode: ./tests/data/asynth-44100-2.wav
|
|
fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aac -b:a 512k
|
|
fate-aac-aref-encode: CMP = stddev
|
|
fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.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 wav s16le $(REF) -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_SAMPLES_FFMPEG += $(FATE_AAC) $(FATE_AAC_ENCODE)
|
|
fate-aac: $(FATE_AAC) $(FATE_AAC_ENCODE)
|
|
|
|
$(FATE_AAC): CMP = oneoff
|
|
$(FATE_AAC): FUZZ = 2
|