xml: Fix MP4 container usage
[gupnp:gupnp-dlna.git] / data / common.xml
1 <?xml version="1.0"?>
2
3 <dlna-profiles>
4   <restrictions>
5     <!-- Common containers -->
6     <restriction id="MP4" type="container">
7       <field name="name" type="string">
8         <value>video/quicktime</value>
9       </field>
10       <field name="variant" type="string">
11         <value>iso</value>
12       </field>
13     </restriction>
14
15     <restriction id="QT" type="container">
16       <field name="name" type="string">
17         <value>video/quicktime</value>
18       </field>
19     </restriction>
20
21     <restriction id="3GP" type="container">
22       <field name="name" type="string">
23         <value>application/x-3gp</value>
24       </field>
25     </restriction>
26
27     <!-- Audio restrictions -->
28     <restriction id="AAC" type="audio">
29       <field name="name" type="string">
30         <value>audio/mpeg</value>
31       </field>
32       <field name="mpegversion" type="int">
33         <value>2</value>
34         <value>4</value>
35       </field>
36       <field name="profile" type="string">
37         <value>lc</value>
38       </field>
39       <!-- TODO: not exported in Gst yet
40       <field name="level" type="int">
41         <range min="1" max="2" />
42       </field>
43       -->
44       <field name="channels" type="int">
45         <range min="1" max="2" />
46       </field>
47       <field name="rate" type="int">
48         <value>8000</value>
49         <value>11025</value>
50         <value>12000</value>
51         <value>16000</value>
52         <value>22050</value>
53         <value>24000</value>
54         <value>32000</value>
55         <value>44100</value>
56         <value>48000</value>
57       </field>
58     </restriction>
59
60     <!-- Video resolutions -->
61     <restriction id="CIF" type="video">
62       <field name="width" type="int">
63         <value>352</value>
64       </field>
65       <field name="height" type="int">
66         <value>288</value>
67       </field>
68     </restriction>
69
70     <restriction id="525SIF" type="video">
71       <field name="width" type="int">
72         <value>352</value>
73       </field>
74       <field name="height" type="int">
75         <value>240</value>
76       </field>
77     </restriction>
78
79     <restriction id="QVGA_4:3" type="video">
80       <field name="width" type="int">
81         <value>320</value>
82       </field>
83       <field name="height" type="int">
84         <value>240</value>
85       </field>
86     </restriction>
87
88     <restriction id="QVGA_16:9" type="video">
89       <field name="width" type="int">
90         <value>320</value>
91       </field>
92       <field name="height" type="int">
93         <value>180</value>
94       </field>
95     </restriction>
96
97     <restriction id="1/7_VGA_4:3" type="video">
98       <field name="width" type="int">
99         <value>240</value>
100       </field>
101       <field name="height" type="int">
102         <value>180</value>
103       </field>
104     </restriction>
105
106     <restriction id="1/9_VGA_4:3" type="video">
107       <field name="width" type="int">
108         <value>208</value>
109       </field>
110       <field name="height" type="int">
111         <value>160</value>
112       </field>
113     </restriction>
114
115     <restriction id="QCIF" type="video">
116       <field name="width" type="int">
117         <value>176</value>
118       </field>
119       <field name="height" type="int">
120         <value>144</value>
121       </field>
122     </restriction>
123
124     <restriction id="525QSIF" type="video">
125       <field name="width" type="int">
126         <value>176</value>
127       </field>
128       <field name="height" type="int">
129         <value>120</value>
130       </field>
131     </restriction>
132
133     <restriction id="SQVGA_4:3" type="video">
134       <field name="width" type="int">
135         <value>160</value>
136       </field>
137       <field name="height" type="int">
138         <value>120</value>
139       </field>
140     </restriction>
141
142     <restriction id="1/16_VGA_4:3" type="video">
143       <field name="width" type="int">
144         <value>160</value>
145       </field>
146       <field name="height" type="int">
147         <value>112</value>
148       </field>
149     </restriction>
150
151     <restriction id="SQVGA_16:9" type="video">
152       <field name="width" type="int">
153         <value>160</value>
154       </field>
155       <field name="height" type="int">
156         <value>90</value>
157       </field>
158     </restriction>
159
160     <restriction id="SQCIF" type="video">
161       <field name="width" type="int">
162         <value>128</value>
163       </field>
164       <field name="height" type="int">
165         <value>96</value>
166       </field>
167     </restriction>
168
169     <restriction id="1/7_VGA_16:9" type="video">
170       <field name="width" type="int">
171         <value>240</value>
172       </field>
173       <field name="height" type="int">
174         <value>135</value>
175       </field>
176     </restriction>
177
178     <restriction id="VGA" type="video">
179       <field name="width" type="int">
180         <value>640</value>
181       </field>
182       <field name="height" type="int">
183         <value>480</value>
184       </field>
185     </restriction>
186
187     <restriction id="VGA_16:9" type="video">
188       <field name="width" type="int">
189         <value>640</value>
190       </field>
191       <field name="height" type="int">
192         <value>360</value>
193       </field>
194     </restriction>
195
196     <!-- Misc. video restrictions -->
197     <restriction id="15fps" type="video">
198       <field name="framerate" type="fraction">
199         <range min="0/1" max="15/1" />
200       </field>
201     </restriction>
202
203     <restriction id="30fps" type="video">
204       <field name="framerate" type="fraction">
205         <range min="0/1" max="30/1" />
206       </field>
207     </restriction>
208   </restrictions>
209 </dlna-profiles>