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