Initial commit
[gupnp:gupnp-dlna.git] / data / mpeg1.xml
1 <?xml version="1.0"?>
2
3 <dlna-profiles>
4   <include ref="common.xml" />
5
6   <restrictions>
7     <restriction id="mpeg1" type="video">
8       <field name="name" type="string">
9         <value>video/mpeg</value>
10       </field>
11       <field name="mpegversion" type="int">
12         <value>1</value>
13       </field>
14       <field name="bitrate" type="int">
15         <!-- This isn't exactly as in the spec, but should catch more compliant
16              streams -->
17         <range min="1150000" max="1152000" />
18       </field>
19     </restriction>
20   </restrictions>
21
22   <dlna-profile name="MPEG1" mime="video/mpeg">
23     <restriction type="container">
24       <field name="name" type="string">
25         <value>video/mpeg</value>
26       </field>
27       <field name="mpegversion" type="int">
28         <value>1</value>
29       </field>
30       <field name="systemstream" type="boolean">
31         <value>true</value>
32       </field>
33     </restriction>
34
35     <restriction type="audio">
36       <field name="name" type="string">
37         <value>audio/mpeg</value>
38       </field>
39       <field name="mpegversion" type="int">
40         <value>1</value>
41       </field>
42       <field name="mpegaudioversion" type="int">
43         <value>1</value>
44       </field>
45       <field name="layer" type="int">
46         <value>2</value>
47       </field>
48       <field name="channels" type="int">
49         <value>2</value>
50       </field>
51       <field name="rate" type="int">
52         <value>44100</value>
53       </field>
54       <field name="bitrate" type="int">
55         <value>224000</value>
56       </field>
57     </restriction>
58
59     <restriction type="video">
60       <parent name="mpeg1" />
61       <parent name="CIF" />
62
63       <field name="framerate" type="fraction">
64         <value>25/1</value>
65       </field>
66     </restriction>
67
68     <restriction type="video">
69       <parent name="mpeg1" />
70       <parent name="525SIF" />
71
72       <field name="framerate" type="fraction">
73         <value>30000/1001</value>
74       </field>
75     </restriction>
76
77     <restriction type="video">
78       <parent name="mpeg1" />
79       <parent name="525SIF" />
80
81       <field name="framerate" type="fraction">
82         <value>24000/1001</value>
83       </field>
84     </restriction>
85   </dlna-profile>
86 </dlna-profiles>