lavc: prefer the mp3float decoder to the mp3 decoder
[ffmpeg.git] / tests / fate / aac.mak
1 FATE_AAC += fate-aac-al04_44
2 fate-aac-al04_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al04_44.mp4
3 fate-aac-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
4
5 FATE_AAC += fate-aac-al04sf_48
6 fate-aac-al04sf_48: CMD = pcm -i $(TARGET_SAMPLES)/aac/al04sf_48.mp4
7 fate-aac-al04sf_48: REF = $(SAMPLES)/aac/al04sf_48.s16
8
9 FATE_AAC += fate-aac-al05_44
10 fate-aac-al05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al05_44.mp4
11 fate-aac-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
12
13 FATE_AAC += fate-aac-al06_44
14 fate-aac-al06_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al06_44.mp4
15 fate-aac-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
16
17 FATE_AAC += fate-aac-al07_96
18 fate-aac-al07_96: CMD = pcm -i $(TARGET_SAMPLES)/aac/al07_96.mp4
19 fate-aac-al07_96: REF = $(SAMPLES)/aac/al07_96_reorder.s16
20
21 FATE_AAC += fate-aac-al15_44
22 fate-aac-al15_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al15_44.mp4
23 fate-aac-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
24
25 FATE_AAC += fate-aac-al17_44
26 fate-aac-al17_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al17_44.mp4
27 fate-aac-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
28
29 FATE_AAC += fate-aac-al18_44
30 fate-aac-al18_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al18_44.mp4
31 fate-aac-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
32
33 FATE_AAC += fate-aac-am00_88
34 fate-aac-am00_88: CMD = pcm -i $(TARGET_SAMPLES)/aac/am00_88.mp4
35 fate-aac-am00_88: REF = $(SAMPLES)/aac/am00_88.s16
36
37 FATE_AAC += fate-aac-am05_44
38 fate-aac-am05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/am05_44.mp4
39 fate-aac-am05_44: REF = $(SAMPLES)/aac/am05_44_reorder.s16
40
41 FATE_AAC += fate-aac-al_sbr_hq_cm_48_2
42 fate-aac-al_sbr_hq_cm_48_2: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
43 fate-aac-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
44
45 FATE_AAC += fate-aac-al_sbr_hq_cm_48_5.1
46 fate-aac-al_sbr_hq_cm_48_5.1: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
47 fate-aac-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
48
49 FATE_AAC += fate-aac-al_sbr_hq_sr_48_2_fsaac48
50 fate-aac-al_sbr_hq_sr_48_2_fsaac48: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_sr_48_2_fsaac48.mp4
51 fate-aac-al_sbr_hq_sr_48_2_fsaac48: REF = $(SAMPLES)/aac/al_sbr_hq_sr_48_2_fsaac48.s16
52
53 FATE_AAC += fate-aac-al_sbr_ps_04_ur
54 fate-aac-al_sbr_ps_04_ur: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_ps_04_new.mp4
55 fate-aac-al_sbr_ps_04_ur: REF = $(SAMPLES)/aac/al_sbr_ps_04_ur.s16
56
57 FATE_AAC += fate-aac-al_sbr_ps_06_ur
58 fate-aac-al_sbr_ps_06_ur: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
59 fate-aac-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
60
61 FATE_AAC += fate-aac-ap05_48
62 fate-aac-ap05_48: CMD = pcm -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
63 fate-aac-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
64
65 FATE_AAC += fate-aac-er_ad6000np_44_ep0
66 fate-aac-er_ad6000np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
67 fate-aac-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44.s16
68
69 FATE_AAC += fate-aac-er_eld1001np_44_ep0
70 fate-aac-er_eld1001np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld1001np_44_ep0.mp4
71 fate-aac-er_eld1001np_44_ep0: REF = $(SAMPLES)/aac/er_eld1001np_44.s16
72
73 FATE_AAC += fate-aac-er_eld2000np_48_ep0
74 fate-aac-er_eld2000np_48_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld2000np_48_ep0.mp4
75 fate-aac-er_eld2000np_48_ep0: REF = $(SAMPLES)/aac/er_eld2000np_48_ep0.s16
76
77 FATE_AAC += fate-aac-er_eld2100np_48_ep0
78 fate-aac-er_eld2100np_48_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld2100np_48_ep0.mp4
79 fate-aac-er_eld2100np_48_ep0: REF = $(SAMPLES)/aac/er_eld2100np_48.s16
80
81 FATE_AAC_FIXED += fate-aac-fixed-al04_44
82 fate-aac-fixed-al04_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al04_44.mp4
83 fate-aac-fixed-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
84
85 FATE_AAC_FIXED += fate-aac-fixed-al05_44
86 fate-aac-fixed-al05_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al05_44.mp4
87 fate-aac-fixed-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
88
89 FATE_AAC_FIXED += fate-aac-fixed-al06_44
90 fate-aac-fixed-al06_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al06_44.mp4
91 fate-aac-fixed-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
92
93 FATE_AAC_FIXED += fate-aac-fixed-al15_44
94 fate-aac-fixed-al15_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al15_44.mp4
95 fate-aac-fixed-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
96
97 FATE_AAC_FIXED += fate-aac-fixed-al17_44
98 fate-aac-fixed-al17_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al17_44.mp4
99 fate-aac-fixed-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
100
101 FATE_AAC_FIXED += fate-aac-fixed-al18_44
102 fate-aac-fixed-al18_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al18_44.mp4
103 fate-aac-fixed-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
104
105 FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_cm_48_2
106 fate-aac-fixed-al_sbr_hq_cm_48_2: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
107 fate-aac-fixed-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
108
109 FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_cm_48_5.1
110 fate-aac-fixed-al_sbr_hq_cm_48_5.1: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
111 fate-aac-fixed-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
112
113 FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48
114 fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al_sbr_sr_48_2_fsaac48.mp4
115 fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48: REF = $(SAMPLES)/aac/al_sbr_hq_sr_48_2_fsaac48.s16
116
117 #FATE_AAC_FIXED += fate-aac-fixed-al_sbr_ps_06_ur
118 #fate-aac-fixed-al_sbr_ps_06_ur: CMD = pcm -c aac_fixed-i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
119 #fate-aac-fixed-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
120
121 FATE_AAC_FIXED += fate-aac-fixed-ap05_48
122 fate-aac-fixed-ap05_48: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
123 fate-aac-fixed-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
124
125 FATE_AAC_FIXED += fate-aac-fixed-er_ad6000np_44_ep0
126 fate-aac-fixed-er_ad6000np_44_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
127 fate-aac-fixed-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44.s16
128
129 FATE_AAC_FIXED += fate-aac-fixed-er_eld1001np_44_ep0
130 fate-aac-fixed-er_eld1001np_44_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_eld1001np_44_ep0.mp4
131 fate-aac-fixed-er_eld1001np_44_ep0: REF = $(SAMPLES)/aac/er_eld1001np_44.s16
132
133 FATE_AAC_FIXED += fate-aac-fixed-er_eld2000np_48_ep0
134 fate-aac-fixed-er_eld2000np_48_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_eld2000np_48_ep0.mp4
135 fate-aac-fixed-er_eld2000np_48_ep0: REF = $(SAMPLES)/aac/er_eld2000np_48_ep0.s16
136
137 fate-aac-ct%: CMD = pcm -i $(TARGET_SAMPLES)/aac/CT_DecoderCheck/$(@:fate-aac-ct-%=%)
138 fate-aac-ct%: REF = $(SAMPLES)/aac/CT_DecoderCheck/aacPlusv2.wav
139
140 FATE_AAC_CT_RAW = fate-aac-ct-sbr_i-ps_i.aac
141
142 FATE_AAC_CT = sbr_bc-ps_i.3gp  \
143               sbr_bic-ps_i.3gp \
144               sbr_bc-ps_bc.mp4 \
145               sbr_bc-ps_i.mp4  \
146               sbr_i-ps_bic.mp4 \
147               sbr_i-ps_i.mp4
148
149 FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
150
151 FATE_AAC_ENCODE += fate-aac-aref-encode
152 fate-aac-aref-encode: ./tests/data/asynth-44100-2.wav
153 fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -c:a aac -aac_is 0 -aac_pns 0 -aac_ms 0 -aac_tns 0 -b:a 512k
154 fate-aac-aref-encode: CMP = stddev
155 fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav
156 fate-aac-aref-encode: CMP_SHIFT = -4096
157 fate-aac-aref-encode: CMP_TARGET = 596
158 fate-aac-aref-encode: SIZE_TOLERANCE = 2464
159 fate-aac-aref-encode: FUZZ = 89
160
161 FATE_AAC_ENCODE += fate-aac-ln-encode
162 fate-aac-ln-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_is 0 -aac_pns 0 -aac_ms 0 -aac_tns 0 -b:a 512k
163 fate-aac-ln-encode: CMP = stddev
164 fate-aac-ln-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
165 fate-aac-ln-encode: CMP_SHIFT = -4096
166 fate-aac-ln-encode: CMP_TARGET = 72
167 fate-aac-ln-encode: SIZE_TOLERANCE = 3560
168 fate-aac-ln-encode: FUZZ = 30
169
170 FATE_AAC_ENCODE += fate-aac-ln-encode-128k
171 fate-aac-ln-encode-128k: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_is 0 -aac_pns 0 -aac_ms 0 -aac_tns 0 -b:a 128k -cutoff 22050
172 fate-aac-ln-encode-128k: CMP = stddev
173 fate-aac-ln-encode-128k: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
174 fate-aac-ln-encode-128k: CMP_SHIFT = -4096
175 fate-aac-ln-encode-128k: CMP_TARGET = 622
176 fate-aac-ln-encode-128k: SIZE_TOLERANCE = 3560
177 fate-aac-ln-encode-128k: FUZZ = 5
178
179 FATE_AAC_ENCODE += fate-aac-pns-encode
180 fate-aac-pns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_pns 1 -aac_is 0 -aac_ms 0 -aac_tns 0 -b:a 128k -cutoff 22050  -fflags +bitexact -flags +bitexact
181 fate-aac-pns-encode: CMP = stddev
182 fate-aac-pns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
183 fate-aac-pns-encode: CMP_SHIFT = -4096
184 fate-aac-pns-encode: CMP_TARGET = 655
185 fate-aac-pns-encode: SIZE_TOLERANCE = 3560
186 fate-aac-pns-encode: FUZZ = 74
187
188 FATE_AAC_ENCODE += fate-aac-tns-encode
189 fate-aac-tns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_tns 1 -aac_is 0 -aac_pns 0 -aac_ms 0 -b:a 128k -cutoff 22050  -fflags +bitexact -flags +bitexact
190 fate-aac-tns-encode: CMP = stddev
191 fate-aac-tns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
192 fate-aac-tns-encode: CMP_SHIFT = -4096
193 fate-aac-tns-encode: CMP_TARGET = 637
194 fate-aac-tns-encode: FUZZ = 7
195 fate-aac-tns-encode: SIZE_TOLERANCE = 3560
196
197 FATE_AAC_ENCODE += fate-aac-is-encode
198 fate-aac-is-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_pns 0 -aac_is 1 -aac_ms 0 -b:a 128k -aac_tns 0 -cutoff 22050
199 fate-aac-is-encode: CMP = stddev
200 fate-aac-is-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
201 fate-aac-is-encode: CMP_SHIFT = -4096
202 fate-aac-is-encode: CMP_TARGET = 514
203 fate-aac-is-encode: SIZE_TOLERANCE = 3560
204 fate-aac-is-encode: FUZZ = 10
205
206 FATE_AAC_ENCODE += fate-aac-ms-encode
207 fate-aac-ms-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -c:a aac -aac_pns 0 -aac_is 0 -aac_ms 1 -aac_tns 0 -b:a 128k -cutoff 22050
208 fate-aac-ms-encode: CMP = stddev
209 fate-aac-ms-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
210 fate-aac-ms-encode: CMP_SHIFT = -4096
211 fate-aac-ms-encode: CMP_TARGET = 558
212 fate-aac-ms-encode: SIZE_TOLERANCE = 3560
213 fate-aac-ms-encode: FUZZ = 15
214
215 #Ticket1784
216 FATE_AAC_ENCODE += fate-aac-yoraw-encode
217 fate-aac-yoraw-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/yo.raw-short.wav -c:a aac -fflags +bitexact -flags +bitexact
218 fate-aac-yoraw-encode: CMP = stddev
219 fate-aac-yoraw-encode: REF = $(SAMPLES)/audio-reference/yo.raw-short.wav
220 fate-aac-yoraw-encode: CMP_SHIFT = -12288
221 fate-aac-yoraw-encode: CMP_TARGET = 226
222 fate-aac-yoraw-encode: SIZE_TOLERANCE = 3560
223 fate-aac-yoraw-encode: FUZZ = 17
224
225
226 FATE_AAC_ENCODE += fate-aac-pred-encode
227 fate-aac-pred-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -profile:a aac_main -c:a aac -aac_is 0 -aac_pns 0 -aac_ms 0 -aac_tns 0 -b:a 128k -cutoff 22050
228 fate-aac-pred-encode: CMP = stddev
229 fate-aac-pred-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
230 fate-aac-pred-encode: CMP_SHIFT = -4096
231 fate-aac-pred-encode: CMP_TARGET = 662
232 fate-aac-pred-encode: FUZZ = 12
233 fate-aac-pred-encode: SIZE_TOLERANCE = 3560
234
235 FATE_AAC_LATM += fate-aac-latm_000000001180bc60
236 fate-aac-latm_000000001180bc60: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_000000001180bc60.mpg
237 fate-aac-latm_000000001180bc60: REF = $(SAMPLES)/aac/latm_000000001180bc60.s16
238
239 FATE_AAC_LATM += fate-aac-latm_stereo_to_51
240 fate-aac-latm_stereo_to_51: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
241 fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
242
243 fate-aac-autobsf-adtstoasc: CMD = transcode "aac" $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.adts \
244                                             matroska "-c:a copy" "-c:a copy"
245
246 FATE_AAC-$(call      DEMDEC, AAC,    AAC)      += $(FATE_AAC_CT_RAW)
247 FATE_AAC-$(call      DEMDEC, MOV,    AAC)      += $(FATE_AAC)
248 FATE_AAC_LATM-$(call DEMDEC, MPEGTS, AAC_LATM) += $(FATE_AAC_LATM)
249 FATE_AAC-$(call      DEMDEC, AAC,    AAC_FIXED)+= $(FATE_AAC_FIXED)
250
251 FATE_AAC_ALL = $(FATE_AAC-yes) $(FATE_AAC_LATM-yes) $(FATE_AAC_FIXED-yes)
252
253 $(FATE_AAC_ALL): CMP  = oneoff
254 $(FATE_AAC_ALL): FUZZ = 2
255
256 FATE_AAC_ENCODE-$(call ENCMUX, AAC, ADTS) += $(FATE_AAC_ENCODE)
257
258 FATE_AAC_BSF-$(call ALLYES, AAC_DEMUXER AAC_ADTSTOASC_BSF MATROSKA_MUXER) += fate-aac-autobsf-adtstoasc
259
260 FATE_SAMPLES_FFMPEG += $(FATE_AAC_ALL) $(FATE_AAC_ENCODE-yes) $(FATE_AAC_BSF-yes)
261
262 fate-aac: $(FATE_AAC_ALL) $(FATE_AAC_ENCODE) $(FATE_AAC_BSF-yes)
263 fate-aac-latm: $(FATE_AAC_LATM-yes)