aac.mak 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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. FATE_AAC += fate-aac-al04sf_48
  5. fate-aac-al04sf_48: CMD = pcm -i $(TARGET_SAMPLES)/aac/al04sf_48.mp4
  6. fate-aac-al04sf_48: REF = $(SAMPLES)/aac/al04sf_48.s16
  7. FATE_AAC += fate-aac-al05_44
  8. fate-aac-al05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al05_44.mp4
  9. fate-aac-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
  10. FATE_AAC += fate-aac-al06_44
  11. fate-aac-al06_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al06_44.mp4
  12. fate-aac-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
  13. FATE_AAC += fate-aac-al07_96
  14. fate-aac-al07_96: CMD = pcm -i $(TARGET_SAMPLES)/aac/al07_96.mp4
  15. fate-aac-al07_96: REF = $(SAMPLES)/aac/al07_96_reorder.s16
  16. FATE_AAC += fate-aac-al15_44
  17. fate-aac-al15_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al15_44.mp4
  18. fate-aac-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
  19. FATE_AAC += fate-aac-al17_44
  20. fate-aac-al17_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al17_44.mp4
  21. fate-aac-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
  22. FATE_AAC += fate-aac-al18_44
  23. fate-aac-al18_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al18_44.mp4
  24. fate-aac-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
  25. FATE_AAC += fate-aac-am00_88
  26. fate-aac-am00_88: CMD = pcm -i $(TARGET_SAMPLES)/aac/am00_88.mp4
  27. fate-aac-am00_88: REF = $(SAMPLES)/aac/am00_88.s16
  28. FATE_AAC += fate-aac-am05_44
  29. fate-aac-am05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/am05_44.mp4
  30. fate-aac-am05_44: REF = $(SAMPLES)/aac/am05_44_reorder.s16
  31. FATE_AAC += fate-aac-al_sbr_hq_cm_48_2
  32. fate-aac-al_sbr_hq_cm_48_2: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
  33. fate-aac-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
  34. FATE_AAC += fate-aac-al_sbr_hq_cm_48_5.1
  35. fate-aac-al_sbr_hq_cm_48_5.1: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
  36. fate-aac-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
  37. FATE_AAC += fate-aac-al_sbr_hq_sr_48_2_fsaac48
  38. fate-aac-al_sbr_hq_sr_48_2_fsaac48: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_sr_48_2_fsaac48.mp4
  39. fate-aac-al_sbr_hq_sr_48_2_fsaac48: REF = $(SAMPLES)/aac/al_sbr_hq_sr_48_2_fsaac48.s16
  40. FATE_AAC += fate-aac-al_sbr_ps_04_ur
  41. fate-aac-al_sbr_ps_04_ur: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_ps_04_new.mp4
  42. fate-aac-al_sbr_ps_04_ur: REF = $(SAMPLES)/aac/al_sbr_ps_04_ur.s16
  43. FATE_AAC += fate-aac-al_sbr_ps_06_ur
  44. fate-aac-al_sbr_ps_06_ur: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
  45. fate-aac-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
  46. FATE_AAC += fate-aac-ap05_48
  47. fate-aac-ap05_48: CMD = pcm -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
  48. fate-aac-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
  49. FATE_AAC += fate-aac-er_ad6000np_44_ep0
  50. fate-aac-er_ad6000np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
  51. fate-aac-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44.s16
  52. FATE_AAC += fate-aac-er_eld1001np_44_ep0
  53. fate-aac-er_eld1001np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld1001np_44_ep0.mp4
  54. fate-aac-er_eld1001np_44_ep0: REF = $(SAMPLES)/aac/er_eld1001np_44.s16
  55. FATE_AAC += fate-aac-er_eld2000np_48_ep0
  56. fate-aac-er_eld2000np_48_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld2000np_48_ep0.mp4
  57. fate-aac-er_eld2000np_48_ep0: REF = $(SAMPLES)/aac/er_eld2000np_48_ep0.s16
  58. FATE_AAC += fate-aac-er_eld2100np_48_ep0
  59. fate-aac-er_eld2100np_48_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld2100np_48_ep0.mp4
  60. fate-aac-er_eld2100np_48_ep0: REF = $(SAMPLES)/aac/er_eld2100np_48.s16
  61. FATE_AAC_FIXED += fate-aac-fixed-al04_44
  62. fate-aac-fixed-al04_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al04_44.mp4
  63. fate-aac-fixed-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
  64. FATE_AAC_FIXED += fate-aac-fixed-al05_44
  65. fate-aac-fixed-al05_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al05_44.mp4
  66. fate-aac-fixed-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
  67. FATE_AAC_FIXED += fate-aac-fixed-al06_44
  68. fate-aac-fixed-al06_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al06_44.mp4
  69. fate-aac-fixed-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
  70. FATE_AAC_FIXED += fate-aac-fixed-al15_44
  71. fate-aac-fixed-al15_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al15_44.mp4
  72. fate-aac-fixed-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
  73. FATE_AAC_FIXED += fate-aac-fixed-al17_44
  74. fate-aac-fixed-al17_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al17_44.mp4
  75. fate-aac-fixed-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
  76. FATE_AAC_FIXED += fate-aac-fixed-al18_44
  77. fate-aac-fixed-al18_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al18_44.mp4
  78. fate-aac-fixed-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
  79. FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_cm_48_2
  80. fate-aac-fixed-al_sbr_hq_cm_48_2: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
  81. fate-aac-fixed-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
  82. FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_cm_48_5.1
  83. 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
  84. fate-aac-fixed-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
  85. FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48
  86. 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
  87. fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48: REF = $(SAMPLES)/aac/al_sbr_hq_sr_48_2_fsaac48.s16
  88. #FATE_AAC_FIXED += fate-aac-fixed-al_sbr_ps_06_ur
  89. #fate-aac-fixed-al_sbr_ps_06_ur: CMD = pcm -c aac_fixed-i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
  90. #fate-aac-fixed-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
  91. FATE_AAC_FIXED += fate-aac-fixed-ap05_48
  92. fate-aac-fixed-ap05_48: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
  93. fate-aac-fixed-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
  94. FATE_AAC_FIXED += fate-aac-fixed-er_ad6000np_44_ep0
  95. fate-aac-fixed-er_ad6000np_44_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
  96. fate-aac-fixed-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44.s16
  97. FATE_AAC_FIXED += fate-aac-fixed-er_eld1001np_44_ep0
  98. fate-aac-fixed-er_eld1001np_44_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_eld1001np_44_ep0.mp4
  99. fate-aac-fixed-er_eld1001np_44_ep0: REF = $(SAMPLES)/aac/er_eld1001np_44.s16
  100. FATE_AAC_FIXED += fate-aac-fixed-er_eld2000np_48_ep0
  101. fate-aac-fixed-er_eld2000np_48_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_eld2000np_48_ep0.mp4
  102. fate-aac-fixed-er_eld2000np_48_ep0: REF = $(SAMPLES)/aac/er_eld2000np_48_ep0.s16
  103. fate-aac-ct%: CMD = pcm -i $(TARGET_SAMPLES)/aac/CT_DecoderCheck/$(@:fate-aac-ct-%=%)
  104. fate-aac-ct%: REF = $(SAMPLES)/aac/CT_DecoderCheck/aacPlusv2.wav
  105. FATE_AAC_CT_RAW = fate-aac-ct-sbr_i-ps_i.aac
  106. FATE_AAC_CT = sbr_bc-ps_i.3gp \
  107. sbr_bic-ps_i.3gp \
  108. sbr_bc-ps_bc.mp4 \
  109. sbr_bc-ps_i.mp4 \
  110. sbr_i-ps_bic.mp4 \
  111. sbr_i-ps_i.mp4
  112. FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
  113. FATE_AAC_ENCODE += fate-aac-aref-encode
  114. fate-aac-aref-encode: ./tests/data/asynth-44100-2.wav
  115. 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
  116. fate-aac-aref-encode: CMP = stddev
  117. fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav
  118. fate-aac-aref-encode: CMP_SHIFT = -4096
  119. fate-aac-aref-encode: CMP_TARGET = 596
  120. fate-aac-aref-encode: SIZE_TOLERANCE = 2464
  121. fate-aac-aref-encode: FUZZ = 89
  122. FATE_AAC_ENCODE += fate-aac-ln-encode
  123. 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
  124. fate-aac-ln-encode: CMP = stddev
  125. fate-aac-ln-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  126. fate-aac-ln-encode: CMP_SHIFT = -4096
  127. fate-aac-ln-encode: CMP_TARGET = 72
  128. fate-aac-ln-encode: SIZE_TOLERANCE = 3560
  129. fate-aac-ln-encode: FUZZ = 30
  130. FATE_AAC_ENCODE += fate-aac-ln-encode-128k
  131. 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
  132. fate-aac-ln-encode-128k: CMP = stddev
  133. fate-aac-ln-encode-128k: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  134. fate-aac-ln-encode-128k: CMP_SHIFT = -4096
  135. fate-aac-ln-encode-128k: CMP_TARGET = 622
  136. fate-aac-ln-encode-128k: SIZE_TOLERANCE = 3560
  137. fate-aac-ln-encode-128k: FUZZ = 5
  138. FATE_AAC_ENCODE += fate-aac-pns-encode
  139. 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
  140. fate-aac-pns-encode: CMP = stddev
  141. fate-aac-pns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  142. fate-aac-pns-encode: CMP_SHIFT = -4096
  143. fate-aac-pns-encode: CMP_TARGET = 655
  144. fate-aac-pns-encode: SIZE_TOLERANCE = 3560
  145. fate-aac-pns-encode: FUZZ = 74
  146. FATE_AAC_ENCODE += fate-aac-tns-encode
  147. 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
  148. fate-aac-tns-encode: CMP = stddev
  149. fate-aac-tns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  150. fate-aac-tns-encode: CMP_SHIFT = -4096
  151. fate-aac-tns-encode: CMP_TARGET = 637
  152. fate-aac-tns-encode: FUZZ = 7
  153. fate-aac-tns-encode: SIZE_TOLERANCE = 3560
  154. FATE_AAC_ENCODE += fate-aac-is-encode
  155. 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
  156. fate-aac-is-encode: CMP = stddev
  157. fate-aac-is-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  158. fate-aac-is-encode: CMP_SHIFT = -4096
  159. fate-aac-is-encode: CMP_TARGET = 514
  160. fate-aac-is-encode: SIZE_TOLERANCE = 3560
  161. fate-aac-is-encode: FUZZ = 10
  162. FATE_AAC_ENCODE += fate-aac-ms-encode
  163. 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
  164. fate-aac-ms-encode: CMP = stddev
  165. fate-aac-ms-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  166. fate-aac-ms-encode: CMP_SHIFT = -4096
  167. fate-aac-ms-encode: CMP_TARGET = 558
  168. fate-aac-ms-encode: SIZE_TOLERANCE = 3560
  169. fate-aac-ms-encode: FUZZ = 15
  170. #Ticket1784
  171. FATE_AAC_ENCODE += fate-aac-yoraw-encode
  172. 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
  173. fate-aac-yoraw-encode: CMP = stddev
  174. fate-aac-yoraw-encode: REF = $(SAMPLES)/audio-reference/yo.raw-short.wav
  175. fate-aac-yoraw-encode: CMP_SHIFT = -12288
  176. fate-aac-yoraw-encode: CMP_TARGET = 226
  177. fate-aac-yoraw-encode: SIZE_TOLERANCE = 3560
  178. fate-aac-yoraw-encode: FUZZ = 17
  179. FATE_AAC_ENCODE += fate-aac-pred-encode
  180. 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
  181. fate-aac-pred-encode: CMP = stddev
  182. fate-aac-pred-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  183. fate-aac-pred-encode: CMP_SHIFT = -4096
  184. fate-aac-pred-encode: CMP_TARGET = 662
  185. fate-aac-pred-encode: FUZZ = 12
  186. fate-aac-pred-encode: SIZE_TOLERANCE = 3560
  187. FATE_AAC_LATM += fate-aac-latm_000000001180bc60
  188. fate-aac-latm_000000001180bc60: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_000000001180bc60.mpg
  189. fate-aac-latm_000000001180bc60: REF = $(SAMPLES)/aac/latm_000000001180bc60.s16
  190. FATE_AAC_LATM += fate-aac-latm_stereo_to_51
  191. fate-aac-latm_stereo_to_51: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
  192. fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
  193. fate-aac-autobsf-adtstoasc: CMD = transcode "aac" $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.adts \
  194. matroska "-c:a copy" "-c:a copy"
  195. FATE_AAC-$(call DEMDEC, AAC, AAC) += $(FATE_AAC_CT_RAW)
  196. FATE_AAC-$(call DEMDEC, MOV, AAC) += $(FATE_AAC)
  197. FATE_AAC_LATM-$(call DEMDEC, MPEGTS, AAC_LATM) += $(FATE_AAC_LATM)
  198. FATE_AAC-$(call DEMDEC, AAC, AAC_FIXED)+= $(FATE_AAC_FIXED)
  199. FATE_AAC_ALL = $(FATE_AAC-yes) $(FATE_AAC_LATM-yes) $(FATE_AAC_FIXED-yes)
  200. $(FATE_AAC_ALL): CMP = oneoff
  201. $(FATE_AAC_ALL): FUZZ = 2
  202. FATE_AAC_ENCODE-$(call ENCMUX, AAC, ADTS) += $(FATE_AAC_ENCODE)
  203. FATE_AAC_BSF-$(call ALLYES, AAC_DEMUXER AAC_ADTSTOASC_BSF MATROSKA_MUXER) += fate-aac-autobsf-adtstoasc
  204. FATE_SAMPLES_FFMPEG += $(FATE_AAC_ALL) $(FATE_AAC_ENCODE-yes) $(FATE_AAC_BSF-yes)
  205. fate-aac: $(FATE_AAC_ALL) $(FATE_AAC_ENCODE) $(FATE_AAC_BSF-yes)
  206. fate-aac-latm: $(FATE_AAC_LATM-yes)