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