xml: Fix typo in bitrate field
[gupnp:gupnp-dlna.git] / data / mpeg4.xml
1 <?xml version="1.0"?>
2
3 <dlna-profiles>
4   <include ref="common.xml" />
5
6   <restrictions>
7     <restriction id="MPEG4V" type="video">
8       <field name="name" type="string">
9         <value>video/mpeg</value>
10       </field>
11       <field name="mpegversion" type="int">
12         <value>4</value>
13       </field>
14       <field name="systemstream" type="boolean">
15         <value>false</value>
16       </field>
17       <field name="format" type="fourcc">
18         <value>I420</value>
19       </field>
20     </restriction>
21
22     <restriction id="H263_P0_L10" type="video">
23       <field name="name" type="string">
24         <value>video/x-h263</value>
25       </field>
26       <field name="profile" type="string">
27         <value>0</value>
28       </field>
29       <field name="level" type="string">
30         <value>10</value>
31       </field>
32       <field name="pixel-aspect-ratio" type="fraction">
33         <value>12/11</value>
34         <value>16/11</value>
35       </field>
36       <field name="format" type="fourcc">
37         <value>I420</value>
38       </field>
39       <field name="bitrate" type="int">
40         <range min="1" max="64000" />
41       </field>
42       <parent name="15fps" />
43     </restriction>
44
45     <restriction id="SP" type="video">
46       <parent name="MPEG4V" />
47
48       <field name="profile" type="string">
49         <value>simple</value>
50       </field>
51       <field name="pixel-aspect-ratio" type="fraction">
52         <value>1/1</value>
53         <value>12/11</value>
54         <value>10/11</value>
55         <value>16/11</value>
56         <value>40/33</value>
57       </field>
58       <parent name="30fps" />
59     </restriction>
60
61     <restriction id="SP_64" type="video">
62       <parent name="SP" />
63
64       <field name="level" type="string">
65         <value>0</value>
66         <value>1</value>
67       </field>
68       <field name="bitrate" type="int">
69         <range min="1" max="64000" />
70       </field>
71     </restriction>
72
73     <restriction id="SP_128" type="video">
74       <parent name="SP" />
75
76       <field name="level" type="string">
77         <value>0b</value>
78         <value>2</value>
79       </field>
80       <field name="bitrate" type="int">
81         <range min="1" max="128000" />
82       </field>
83     </restriction>
84
85     <restriction id="SP_384" type="video">
86       <parent name="SP" />
87
88       <field name="level" type="string">
89         <value>3</value>
90       </field>
91       <field name="bitrate" type="int">
92         <range min="1" max="384000" />
93       </field>
94     </restriction>
95
96     <restriction id="SP_L2" type="video">
97       <parent name="MPEG4V" />
98
99       <field name="profile" type="string">
100         <value>simple</value>
101       </field>
102       <field name="level" type="string">
103         <value>0</value>
104         <value>0b</value>
105         <value>1</value>
106         <value>2</value>
107       </field>
108       <field name="bitrate" type="int">
109         <range min="1" max="128000" />
110       </field>
111     </restriction>
112
113     <restriction id="SP_L3_VGA" type="video">
114       <parent name="MPEG4V" />
115       <parent name="30fps" />
116
117       <field name="profile" type="string">
118         <value>simple</value>
119       </field>
120       <field name="level" type="string">
121         <value>0</value>
122         <value>0b</value>
123         <value>1</value>
124         <value>2</value>
125         <value>3</value>
126       </field>
127       <field name="bitrate" type="int">
128         <range min="1" max="3000000" />
129       </field>
130     </restriction>
131   </restrictions>
132
133   <dlna-profile id="SP_L3">
134     <restriction type="video">
135       <parent name="SP_64" />
136       <parent name="CIF" />
137     </restriction>
138
139     <restriction type="video">
140       <parent name="SP_64" />
141       <parent name="525SIF" />
142     </restriction>
143
144     <restriction type="video">
145       <parent name="SP_64" />
146       <parent name="QVGA_4:3" />
147     </restriction>
148
149     <restriction type="video">
150       <parent name="SP_64" />
151       <parent name="QVGA_16:9" />
152     </restriction>
153
154     <restriction type="video">
155       <parent name="SP_64" />
156       <parent name="1/7_VGA_4:3" />
157     </restriction>
158
159     <restriction type="video">
160       <parent name="SP_64" />
161       <parent name="1/9_VGA_4:3" />
162     </restriction>
163
164     <restriction type="video">
165       <parent name="SP_64" />
166       <parent name="QCIF" />
167     </restriction>
168
169     <restriction type="video">
170       <parent name="SP_64" />
171       <parent name="525QSIF" />
172     </restriction>
173
174     <restriction type="video">
175       <parent name="SP_64" />
176       <parent name="SQVGA_4:3" />
177     </restriction>
178
179     <restriction type="video">
180       <parent name="SP_64" />
181       <parent name="1/16_VGA_4:3" />
182     </restriction>
183
184     <restriction type="video">
185       <parent name="SP_64" />
186       <parent name="SQVGA_16:9" />
187     </restriction>
188
189     <restriction type="video">
190       <parent name="SP_64" />
191       <parent name="SQCIF" />
192     </restriction>
193
194     <restriction type="video">
195       <parent name="SP_128" />
196       <parent name="CIF" />
197     </restriction>
198
199     <restriction type="video">
200       <parent name="SP_128" />
201       <parent name="525SIF" />
202     </restriction>
203
204     <restriction type="video">
205       <parent name="SP_128" />
206       <parent name="QVGA_4:3" />
207     </restriction>
208
209     <restriction type="video">
210       <parent name="SP_128" />
211       <parent name="QVGA_16:9" />
212     </restriction>
213
214     <restriction type="video">
215       <parent name="SP_128" />
216       <parent name="1/7_VGA_4:3" />
217     </restriction>
218
219     <restriction type="video">
220       <parent name="SP_128" />
221       <parent name="1/9_VGA_4:3" />
222     </restriction>
223
224     <restriction type="video">
225       <parent name="SP_128" />
226       <parent name="QCIF" />
227     </restriction>
228
229     <restriction type="video">
230       <parent name="SP_128" />
231       <parent name="525QSIF" />
232     </restriction>
233
234     <restriction type="video">
235       <parent name="SP_128" />
236       <parent name="SQVGA_4:3" />
237     </restriction>
238
239     <restriction type="video">
240       <parent name="SP_128" />
241       <parent name="1/16_VGA_4:3" />
242     </restriction>
243
244     <restriction type="video">
245       <parent name="SP_128" />
246       <parent name="SQVGA_16:9" />
247     </restriction>
248
249     <restriction type="video">
250       <parent name="SP_128" />
251       <parent name="SQCIF" />
252     </restriction>
253
254     <restriction type="video">
255       <parent name="SP_384" />
256       <parent name="CIF" />
257     </restriction>
258
259     <restriction type="video">
260       <parent name="SP_384" />
261       <parent name="525SIF" />
262     </restriction>
263
264     <restriction type="video">
265       <parent name="SP_384" />
266       <parent name="QVGA_4:3" />
267     </restriction>
268
269     <restriction type="video">
270       <parent name="SP_384" />
271       <parent name="QVGA_16:9" />
272     </restriction>
273
274     <restriction type="video">
275       <parent name="SP_384" />
276       <parent name="1/7_VGA_4:3" />
277     </restriction>
278
279     <restriction type="video">
280       <parent name="SP_384" />
281       <parent name="1/9_VGA_4:3" />
282     </restriction>
283
284     <restriction type="video">
285       <parent name="SP_384" />
286       <parent name="QCIF" />
287     </restriction>
288
289     <restriction type="video">
290       <parent name="SP_384" />
291       <parent name="525QSIF" />
292     </restriction>
293
294     <restriction type="video">
295       <parent name="SP_384" />
296       <parent name="SQVGA_4:3" />
297     </restriction>
298
299     <restriction type="video">
300       <parent name="SP_384" />
301       <parent name="1/16_VGA_4:3" />
302     </restriction>
303
304     <restriction type="video">
305       <parent name="SP_384" />
306       <parent name="SQVGA_16:9" />
307     </restriction>
308
309     <restriction type="video">
310       <parent name="SP_384" />
311       <parent name="SQCIF" />
312     </restriction>
313   </dlna-profile>
314
315   <dlna-profile name="MPEG4_P2_MP4_SP_AAC" mime="video/mp4" base-profile="SP_L3" id="SP_L3_MP4">
316     <parent name="MP4" />
317     <restriction type="audio">
318       <parent name="AAC" />
319
320       <!--
321         FIXME: this is a conservative bitrate (system bitrate (600 kbps) -
322         maximum possible video bitrate (384 kbps)), to avoid blowing up the
323         number of possible profiles again. Eventually we need a better way to
324         do this.
325       -->
326       <field name="bitrate" type="int">
327         <range min="1" max="216000" />
328       </field>
329     </restriction>
330   </dlna-profile>
331
332   <dlna-profile name="MPEG4_P2_MP4_SP_AAC_LTP" mime="video/mp4"
333     base-profile="SP_L3" id="SP_L3_MP4_AAC_LTP">
334     <parent name="MP4" />
335     <restriction type="audio">
336       <parent name="AAC" />
337
338       <field name="profile" type="string">
339         <value>ltp</value>
340       </field>
341       <!-- FIXME: see note for MPEG4_P2_MP4_SP_AAC bitrate -->
342       <field name="bitrate" type="int">
343         <range min="1" max="216000" />
344       </field>
345     </restriction>
346   </dlna-profile>
347
348   <dlna-profile name="MPEG4_P2_MP4_SP_VGA_AAC" mime="video/mp4" id="SP_L3_VGA">
349     <parent name="MP4" />
350
351     <restriction type="video">
352       <parent name="SP_L3_VGA" />
353       <parent name="VGA" />
354     </restriction>
355
356     <restriction type="video">
357       <parent name="SP_L3_VGA" />
358       <parent name="VGA_16:9" />
359     </restriction>
360
361     <restriction type="audio">
362       <parent name="AAC" />
363
364       <field name="bitrate" type="int">
365         <range min="1" max="256000" />
366       </field>
367     </restriction>
368   </dlna-profile>
369
370   <dlna-profile name="MPEG4_P2_MP4_SP_L2_AAC" mime="video/mp4" id="SP_L2_AAC">
371     <parent name="MP4" />
372
373     <restriction type="audio">
374       <parent name="AAC" />
375       <field name="bitrate" type="int">
376         <range min="1" max="128000" />
377       </field>
378     </restriction>
379
380     <restriction type="video">
381       <parent name="SP_L2" />
382       <parent name="CIF" />
383       <parent name="15fps" />
384       <field name="pixel-aspect-ratio" type="fraction">
385         <value>12/11</value>
386         <value>16/11</value>
387       </field>
388     </restriction>
389
390     <restriction type="video">
391       <parent name="SP_L2" />
392       <parent name="QVGA_4:3" />
393       <parent name="15fps" />
394       <field name="pixel-aspect-ratio" type="fraction">
395         <value>1/1</value>
396       </field>
397     </restriction>
398
399     <restriction type="video">
400       <parent name="SP_L2" />
401       <parent name="QVGA_16:9" />
402       <parent name="15fps" />
403       <field name="pixel-aspect-ratio" type="fraction">
404         <value>1/1</value>
405       </field>
406     </restriction>
407
408     <restriction type="video">
409       <parent name="SP_L2" />
410       <parent name="QCIF" />
411       <parent name="30fps" />
412       <field name="pixel-aspect-ratio" type="fraction">
413         <value>12/11</value>
414         <value>16/11</value>
415       </field>
416     </restriction>
417
418     <restriction type="video">
419       <parent name="SP_L2" />
420       <parent name="SQCIF" />
421       <parent name="30fps" />
422       <field name="pixel-aspect-ratio" type="fraction">
423         <value>12/11</value>
424         <value>16/11</value>
425       </field>
426     </restriction>
427   </dlna-profile>
428
429   <dlna-profile id="H263_P0_L10">
430     <restriction type="video">
431       <parent name="H263_P0_L10" />
432       <parent name="QCIF" />
433     </restriction>
434
435     <restriction type="video">
436       <parent name="H263_P0_L10" />
437       <parent name="SQCIF" />
438     </restriction>
439   </dlna-profile>
440
441   <dlna-profile name="MPEG4_H263_MP4_P0_L10_AAC" mime="video/3gpp"
442     base-profile="H263_P0_L10" id="MPEG4_H263_MP4_P0_L10_AAC">
443     <parent name="3GP" />
444
445     <restriction type="audio">
446       <parent name="AAC" />
447       <!-- FIXME: see note for MPEG4_P2_MP4_SP_AAC bitrate, system bitrate
448            here is <= 150 kbps -->
449       <field name="bitrate" type="int">
450         <range min="1" max="86000" />
451       </field>
452     </restriction>
453   </dlna-profile>
454
455   <dlna-profile name="MPEG4_H263_MP4_P0_L10_AAC_LTP" mime="video/3gpp"
456     base-profile="H263_P0_L10" id="MPEG4_H263_MP4_P0_L10_AAC_LTP">
457     <parent name="3GP" />
458
459     <restriction type="audio">
460       <parent name="AAC" />
461       <field name="profile" type="string">
462         <value>ltp</value>
463       </field>
464       <!-- FIXME: see note for MPEG4_P2_MP4_SP_AAC bitrate, system bitrate
465            here is <= 150 kbps -->
466       <field name="bitrate" type="int">
467         <range min="1" max="86000" />
468       </field>
469     </restriction>
470   </dlna-profile>
471 </dlna-profiles>