xml: Relax AVC_MP4_MP_HD_720p_AAC profile restrictions
[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="1920x1080" type="video">
62       <field name="width" type="int">
63         <value>1920</value>
64       </field>
65       <field name="height" type="int">
66         <value>1080</value>
67       </field>
68     </restriction>
69
70     <restriction id="1280x720" type="video">
71       <field name="width" type="int" used="in-strict">
72         <value>1280</value>
73       </field>
74       <field name="height" type="int" used="in-strict">
75         <value>720</value>
76       </field>
77       <field name="width" type="int" used="in-relaxed">
78         <range min="1" max="1280" />
79       </field>
80       <field name="height" type="int" used="in-relaxed">
81         <range min="1" max="720" />
82       </field>
83     </restriction>
84
85     <restriction id="625_D1" type="video">
86       <field name="width" type="int" used="in-strict">
87         <value>720</value>
88       </field>
89       <field name="height" type="int" used="in-strict">
90         <value>576</value>
91       </field>
92       <field name="width" type="int" used="in-relaxed">
93         <range min="1" max="720" />
94       </field>
95       <field name="hieght" type="int" used="in-relaxed">
96         <range min="1" max="576" />
97       </field>
98     </restriction>
99
100     <restriction id="525_D1" type="video">
101       <field name="width" type="int">
102         <value>720</value>
103       </field>
104       <field name="height" type="int">
105         <value>480</value>
106       </field>
107     </restriction>
108
109     <restriction id="625_4SIF" type="video">
110       <field name="width" type="int">
111         <value>704</value>
112       </field>
113       <field name="height" type="int">
114         <value>576</value>
115       </field>
116     </restriction>
117
118     <restriction id="525_4SIF" type="video">
119       <field name="width" type="int">
120         <value>704</value>
121       </field>
122       <field name="height" type="int">
123         <value>480</value>
124       </field>
125     </restriction>
126
127     <restriction id="VGA_16:9" type="video">
128       <field name="width" type="int">
129         <value>640</value>
130       </field>
131       <field name="height" type="int">
132         <value>360</value>
133       </field>
134     </restriction>
135
136     <restriction id="VGA" type="video">
137       <field name="width" type="int">
138         <value>640</value>
139       </field>
140       <field name="height" type="int">
141         <value>480</value>
142       </field>
143     </restriction>
144
145     <restriction id="625_3/4D1" type="video">
146       <field name="width" type="int">
147         <value>544</value>
148       </field>
149       <field name="height" type="int">
150         <value>576</value>
151       </field>
152     </restriction>
153
154     <restriction id="525_3/4D1" type="video">
155       <field name="width" type="int">
156         <value>544</value>
157       </field>
158       <field name="height" type="int">
159         <value>480</value>
160       </field>
161     </restriction>
162
163     <restriction id="625_2/3D1" type="video">
164       <field name="width" type="int">
165         <value>480</value>
166       </field>
167       <field name="height" type="int">
168         <value>576</value>
169       </field>
170     </restriction>
171
172     <restriction id="525_2/3D1" type="video">
173       <field name="width" type="int">
174         <value>480</value>
175       </field>
176       <field name="height" type="int">
177         <value>480</value>
178       </field>
179     </restriction>
180
181     <restriction id="525_1/2D1" type="video">
182       <field name="width" type="int">
183         <value>352</value>
184       </field>
185       <field name="height" type="int">
186         <value>480</value>
187       </field>
188     </restriction>
189
190     <restriction id="625_1/2D1" type="video">
191       <field name="width" type="int">
192         <value>352</value>
193       </field>
194       <field name="height" type="int">
195         <value>576</value>
196       </field>
197     </restriction>
198
199     <restriction id="9/16_VGA_4:3" type="video">
200       <field name="width" type="int">
201         <value>480</value>
202       </field>
203       <field name="height" type="int">
204         <value>360</value>
205       </field>
206     </restriction>
207
208     <restriction id="9/16_VGA_16:9" type="video">
209       <field name="width" type="int">
210         <value>480</value>
211       </field>
212       <field name="height" type="int">
213         <value>270</value>
214       </field>
215     </restriction>
216
217     <restriction id="CIF" type="video">
218       <field name="width" type="int" used="in-strict">
219         <value>352</value>
220       </field>
221       <field name="height" type="int" used="in-strict">
222         <value>288</value>
223       </field>
224       <field name="width" type="int" used="in-relaxed">
225         <range min="1" max="352" />
226       </field>
227       <field name="height" type="int" used="in-relaxed">
228         <range min="1" max="288" />
229       </field>
230     </restriction>
231
232     <restriction id="525SIF" type="video">
233       <field name="width" type="int">
234         <value>352</value>
235       </field>
236       <field name="height" type="int">
237         <value>240</value>
238       </field>
239     </restriction>
240
241     <restriction id="QVGA_4:3" type="video">
242       <field name="width" type="int">
243         <value>320</value>
244       </field>
245       <field name="height" type="int">
246         <value>240</value>
247       </field>
248     </restriction>
249
250     <restriction id="QVGA_16:9" type="video">
251       <field name="width" type="int">
252         <value>320</value>
253       </field>
254       <field name="height" type="int">
255         <value>180</value>
256       </field>
257     </restriction>
258
259     <restriction id="1/7_VGA_4:3" type="video">
260       <field name="width" type="int">
261         <value>240</value>
262       </field>
263       <field name="height" type="int">
264         <value>180</value>
265       </field>
266     </restriction>
267
268     <restriction id="1/9_VGA_4:3" type="video">
269       <field name="width" type="int">
270         <value>208</value>
271       </field>
272       <field name="height" type="int">
273         <value>160</value>
274       </field>
275     </restriction>
276
277     <restriction id="QCIF" type="video">
278       <field name="width" type="int">
279         <value>176</value>
280       </field>
281       <field name="height" type="int">
282         <value>144</value>
283       </field>
284     </restriction>
285
286     <restriction id="525QSIF" type="video">
287       <field name="width" type="int">
288         <value>176</value>
289       </field>
290       <field name="height" type="int">
291         <value>120</value>
292       </field>
293     </restriction>
294
295     <restriction id="SQVGA_4:3" type="video">
296       <field name="width" type="int">
297         <value>160</value>
298       </field>
299       <field name="height" type="int">
300         <value>120</value>
301       </field>
302     </restriction>
303
304     <restriction id="1/16_VGA_4:3" type="video">
305       <field name="width" type="int">
306         <value>160</value>
307       </field>
308       <field name="height" type="int">
309         <value>112</value>
310       </field>
311     </restriction>
312
313     <restriction id="SQVGA_16:9" type="video">
314       <field name="width" type="int">
315         <value>160</value>
316       </field>
317       <field name="height" type="int">
318         <value>90</value>
319       </field>
320     </restriction>
321
322     <restriction id="SQCIF" type="video">
323       <field name="width" type="int">
324         <value>128</value>
325       </field>
326       <field name="height" type="int">
327         <value>96</value>
328       </field>
329     </restriction>
330
331     <restriction id="1/7_VGA_16:9" type="video">
332       <field name="width" type="int">
333         <value>240</value>
334       </field>
335       <field name="height" type="int">
336         <value>135</value>
337       </field>
338     </restriction>
339
340     <!-- Misc. video restrictions -->
341     <restriction id="15fps" type="video">
342       <field name="framerate" type="fraction">
343         <range min="0/1" max="15/1" />
344       </field>
345     </restriction>
346
347     <restriction id="25fps" type="video">
348       <field name="framerate" type="fraction">
349         <range min="0/1" max="25/1" />
350       </field>
351     </restriction>
352
353     <restriction id="29.97fps" type="video">
354       <field name="framerate" type="fraction">
355         <range min="0/1" max="30000/1001" />
356       </field>
357     </restriction>
358
359     <restriction id="30fps" type="video">
360       <field name="framerate" type="fraction">
361         <range min="0/1" max="30/1" />
362       </field>
363     </restriction>
364
365     <restriction id="60fps" type="video">
366       <field name="framerate" type="fraction">
367         <range min="0/1" max="60/1" />
368       </field>
369     </restriction>
370   </restrictions>
371 </dlna-profiles>