1<!ELEMENT MediaSettings (CamcorderProfiles+,
2                         EncoderOutputFileFormat+,
3                         VideoEncoderCap+,
4                         AudioEncoderCap+,
5                         VideoDecoderCap,
6                         AudioDecoderCap)>
7<!ELEMENT CamcorderProfiles (EncoderProfile|ImageEncoding|ImageDecoding|Camera)+>
8<!ATTLIST CamcorderProfiles cameraId (0|1) #REQUIRED>
9<!ELEMENT EncoderProfile (Video, Audio)>
10<!ATTLIST EncoderProfile quality CDATA #REQUIRED>
11<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
12<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
13<!ELEMENT Video EMPTY>
14<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
15<!ATTLIST Video bitRate CDATA #REQUIRED>
16<!ATTLIST Video width CDATA #REQUIRED>
17<!ATTLIST Video height CDATA #REQUIRED>
18<!ATTLIST Video frameRate CDATA #REQUIRED>
19<!ELEMENT Audio EMPTY>
20<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
21<!ATTLIST Audio bitRate CDATA #REQUIRED>
22<!ATTLIST Audio sampleRate CDATA #REQUIRED>
23<!ATTLIST Audio channels (1|2) #REQUIRED>
24<!ELEMENT ImageEncoding EMPTY>
25<!ATTLIST ImageEncoding quality (95|90|80|70|60|50|40) #REQUIRED>
26<!ELEMENT ImageDecoding EMPTY>
27<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
28<!ELEMENT Camera EMPTY>
29<!ELEMENT EncoderOutputFileFormat EMPTY>
30<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
31<!ELEMENT VideoEncoderCap EMPTY>
32<!ATTLIST VideoEncoderCap name (hevc|h264|h263|m4v|wmv) #REQUIRED>
33<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
34<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
35<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
36<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
37<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
38<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
39<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
40<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
41<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
42<!ELEMENT AudioEncoderCap EMPTY>
43<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|heaac|aaceld) #REQUIRED>
44<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
45<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
46<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
47<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
48<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
49<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
50<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
51<!ELEMENT VideoDecoderCap EMPTY>
52<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
53<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
54<!ELEMENT AudioDecoderCap EMPTY>
55<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
56<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
57