build: Get rid of gst-convenience warning
[gupnp:gupnp-dlna.git] / data / avc.xml
1 <?xml version="1.0"?>
2
3 <dlna-profiles>
4   <include ref="common.xml" />
5
6   <restrictions>
7     <restriction id="AVC_AAC_520" type="audio">
8       <parent name="AAC" />
9
10       <field name="maximum-bitrate" type="int">
11         <range min="0" max="128000" />
12       </field>
13     </restriction>
14
15     <restriction id="AVC_BL" type="video">
16       <field name="name" type="string">
17         <value>video/x-h264</value>
18       </field>
19       <field name="profile" type="string">
20         <!-- profile=baseline + constraint_set1_flag=1
21                                                 == constrained-baseline -->
22         <value>constrained-baseline</value>
23       </field>
24       <field name="format" type="fourcc">
25         <value>I420</value>
26       </field>
27     </restriction>
28
29     <restriction id="AVC_BL_384" type="video">
30       <parent name="AVC_BL" />
31
32       <field name="level" type="string">
33         <value>1</value>
34         <value>1b</value>
35         <value>1.1</value>
36         <value>1.2</value>
37       </field>
38       <field name="bitrate" type="int">
39         <range min="0" max="384000" />
40       </field>
41       <field name="maximum-bitrate" type="int">
42         <range min="0" max="384000" />
43       </field>
44       <field name="pixel-aspect-ratio" type="fraction">
45         <value>1/1</value>
46         <value>12/21</value>
47         <value>10/11</value>
48         <value>16/11</value>
49         <value>40/33</value>
50         <value>44/33</value>
51         <value>64/33</value>
52         <value>160/99</value>
53         <value>18/11</value>
54         <value>15/11</value>
55         <value>24/11</value>
56         <value>60/33</value>
57         <value>20/11</value>
58         <value>32/11</value>
59         <value>80/33</value>
60       </field>
61     </restriction>
62
63     <restriction id="AVC_BL_CIF" type="video">
64       <parent name="CIF" />
65       <parent name="15fps" />
66     </restriction>
67
68     <restriction id="AVC_BL_525SIF" type="video">
69       <parent name="525SIF" />
70       <field name="framerate" type="fraction">
71         <range min="0/1" max="18/1" />
72       </field>
73     </restriction>
74
75     <restriction id="AVC_BL_QVGA_4:3" type="video">
76       <parent name="QVGA_4:3" />
77       <field name="framerate" type="fraction">
78         <range min="0/1" max="20/1" />
79       </field>
80     </restriction>
81
82     <restriction id="AVC_BL_QVGA_16:9" type="video">
83       <parent name="QVGA_16:9" />
84       <field name="framerate" type="fraction">
85         <range min="0/1" max="26/1" />
86       </field>
87     </restriction>
88
89     <restriction id="AVC_BL_1/7_VGA_4:3" type="video">
90       <parent name="1/7_VGA_4:3" />
91       <parent name="30fps" />
92     </restriction>
93
94     <restriction id="AVC_BL_1/9_VGA_4:3" type="video">
95       <parent name="1/9_VGA_4:3" />
96       <parent name="30fps" />
97     </restriction>
98
99     <restriction id="AVC_BL_QCIF" type="video">
100       <parent name="QCIF" />
101       <parent name="30fps" />
102     </restriction>
103
104     <restriction id="AVC_BL_525QSIF" type="video">
105       <parent name="525QSIF" />
106       <parent name="30fps" />
107     </restriction>
108
109     <restriction id="AVC_BL_SQVGA_4:3" type="video">
110       <parent name="SQVGA_4:3" />
111       <parent name="30fps" />
112     </restriction>
113
114     <restriction id="AVC_BL_1/16_VGA_4:3" type="video">
115       <parent name="1/16_VGA_4:3" />
116       <parent name="30fps" />
117     </restriction>
118
119     <restriction id="AVC_BL_SQVGA_16:9" type="video">
120       <parent name="SQVGA_16:9" />
121       <parent name="30fps" />
122     </restriction>
123
124     <restriction id="AVC_BL_SQCIF" type="video">
125       <parent name="SQCIF" />
126       <parent name="30fps" />
127     </restriction>
128
129     <restriction id="AVC_BL_1/7_VGA_16:9" type="video">
130       <parent name="1/7_VGA_16:9" />
131       <parent name="30fps" />
132     </restriction>
133
134   </restrictions>
135
136   <dlna-profile id="AVC_MP4_BL_CIF15_AAC_520" name="AVC_MP4_BL_CIF15_AAC_520" mime="video/mp4">
137     <!-- FIXME: we have no way of matching the system bitrate -->
138     <parent name="MP4" />
139
140     <parent name="AVC_AAC_520" />
141
142     <restriction type="video">
143       <parent name="AVC_BL_384" />
144       <parent name="AVC_BL_CIF" />
145     </restriction>
146
147     <restriction type="video">
148       <parent name="AVC_BL_384" />
149       <parent name="AVC_BL_525SIF" />
150     </restriction>
151
152     <restriction type="video">
153       <parent name="AVC_BL_384" />
154       <parent name="AVC_BL_QVGA_4:3" />
155     </restriction>
156
157     <restriction type="video">
158       <parent name="AVC_BL_384" />
159       <parent name="AVC_BL_QVGA_16:9" />
160     </restriction>
161
162     <restriction type="video">
163       <parent name="AVC_BL_384" />
164       <parent name="AVC_BL_1/7_VGA_4:3" />
165     </restriction>
166
167     <restriction type="video">
168       <parent name="AVC_BL_384" />
169       <parent name="AVC_BL_1/9_VGA_4:3" />
170     </restriction>
171
172     <restriction type="video">
173       <parent name="AVC_BL_384" />
174       <parent name="AVC_BL_QCIF" />
175     </restriction>
176
177     <restriction type="video">
178       <parent name="AVC_BL_384" />
179       <parent name="AVC_BL_525QSIF" />
180     </restriction>
181
182     <restriction type="video">
183       <parent name="AVC_BL_384" />
184       <parent name="AVC_BL_SQVGA_4:3" />
185     </restriction>
186
187     <restriction type="video">
188       <parent name="AVC_BL_384" />
189       <parent name="AVC_BL_1/16_VGA_4:3" />
190     </restriction>
191
192     <restriction type="video">
193       <parent name="AVC_BL_384" />
194       <parent name="AVC_BL_SQVGA_16:9" />
195     </restriction>
196
197     <restriction type="video">
198       <parent name="AVC_BL_384" />
199       <parent name="AVC_BL_SQCIF" />
200     </restriction>
201
202     <restriction type="video">
203       <parent name="AVC_BL_384" />
204       <parent name="AVC_BL_1/7_VGA_16:9" />
205     </restriction>
206   </dlna-profile>
207
208   <!-- Apply changes to this to remaining <dlna-profiles> as well -->
209   <dlna-profile base-profile="AVC_MP4_BL_CIF15_AAC_520" name="AVC_MP4_BL_CIF15_AAC_520" mime="video/mp4">
210     <!-- FIXME: we have no way of matching the system bitrate -->
211     <parent name="QT" />
212   </dlna-profile>
213 </dlna-profiles>