summaryrefslogtreecommitdiff
path: root/data/aac.xml
blob: d6267a555330ecd191c2452bb708a8c659902b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0"?>

<!--
  Notes:

  * There are 2 <dlna-profile>s for each ISO profile because we need to support
    both MP4 and 3GPP containers, but a <dlna-profile> can have only one
    container
-->

<dlna-profiles>
  <include ref="common.xml" />

  <restrictions>
    <restriction id="AAC-ADTS" type="audio">
      <field name="stream-format" type="string">
        <value>adts</value>
      </field>
    </restriction>

    <restriction id="AAC-320" type="audio">
      <parent name="AAC" />

      <field name="bitrate" type="int" used="in-strict">
        <range min="0" max="320000" />
      </field>
    </restriction>

    <restriction id="AAC-576" type="audio">
      <parent name="AAC" />

      <field name="bitrate" type="int" used="in-strict">
        <range min="0" max="576000" />
      </field>
    </restriction>

    <restriction id="AAC-MULT5" type="audio">
      <parent name="AAC" />

      <field name="channels" type="int">
        <!-- Technically the profile supports upto 5.1, not 6 -->
        <range min="1" max="6" />
      </field>
      <field name="bitrate" type="int" used="in-strict">
        <range min="0" max="1440000" />
      </field>
    </restriction>
  </restrictions>

  <dlna-profile name="AAC_ADTS_320" mime="audio/vnd.dlna.adts">
    <restriction type="audio">
      <parent name="AAC-ADTS" />
      <parent name="AAC-320" />
    </restriction>
  </dlna-profile>

  <dlna-profile name="AAC_ISO_320" mime="audio/mp4">
    <parent name="MP4" />
    <parent name="AAC-320" />
  </dlna-profile>

  <dlna-profile name="AAC_ISO_320" mime="audio/3gpp">
    <parent name="3GP" />
    <parent name="AAC-320" />
  </dlna-profile>

  <dlna-profile name="AAC_ADTS" mime="audio/vnd.dlna.adts">
    <restriction type="audio">
      <parent name="AAC-ADTS" />
      <parent name="AAC-576" />
    </restriction>
  </dlna-profile>

  <dlna-profile name="AAC_ISO" mime="audio/mp4">
    <parent name="MP4" />
    <parent name="AAC-576" />
  </dlna-profile>

  <dlna-profile name="AAC_ISO" mime="audio/3gpp">
    <parent name="3GP" />
    <parent name="AAC-576" />
  </dlna-profile>

  <dlna-profile name="AAC_MULT5_ADTS" mime="audio/vnd.dlna.adts">
    <restriction type="audio">
      <parent name="AAC-ADTS" />
      <parent name="AAC-MULT5" />
    </restriction>
  </dlna-profile>

  <dlna-profile name="AAC_MULT5_ISO" mime="audio/mp4">
    <parent name="MP4" />
    <parent name="AAC-MULT5" />
  </dlna-profile>

  <dlna-profile name="AAC_MULT5_ISO" mime="audio/3gpp">
    <parent name="3GP" />
    <parent name="AAC-MULT5" />
  </dlna-profile>
</dlna-profiles>