blob: 5c84010d23f024f5d37ab46f236d6511240c6893 [file] [log] [blame]
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04001<?xml version="1.0" encoding="utf-8"?>
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -04002<!-- Copyright (C) 2012-2014, The Linux Foundation. All rights reserved
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04003 Not a contribution.
4
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -04005 Copyright (C) 2010 The Android Open Source Project
6
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04007 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18-->
19<!DOCTYPE MediaSettings [
20<!ELEMENT MediaSettings (CamcorderProfiles,
21 EncoderOutputFileFormat+,
22 VideoEncoderCap+,
23 AudioEncoderCap+,
24 VideoDecoderCap,
25 AudioDecoderCap)>
26<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
27<!ELEMENT EncoderProfile (Video, Audio)>
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -040028<!ATTLIST EncoderProfile quality (low|high|qcif|qvga|720p|1080p|timelapselow|timelapsehigh|timelapseqcif|timelapseqvga|timelapse720p|timelapse1080p) #REQUIRED>
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040029<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
30<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
31<!ATTLIST EncoderProfile cameraId (0|1) #REQUIRED>
32<!ELEMENT Video EMPTY>
33<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
34<!ATTLIST Video bitRate CDATA #REQUIRED>
35<!ATTLIST Video width CDATA #REQUIRED>
36<!ATTLIST Video height CDATA #REQUIRED>
37<!ATTLIST Video frameRate CDATA #REQUIRED>
38<!ELEMENT Audio EMPTY>
39<!ATTLIST Audio codec (amrnb|amrwb|aac|lpcm) #REQUIRED>
40<!ATTLIST Audio bitRate CDATA #REQUIRED>
41<!ATTLIST Audio sampleRate CDATA #REQUIRED>
42<!ATTLIST Audio channels (1|2|6) #REQUIRED>
43<!ELEMENT ImageEncoding EMPTY>
44<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
45<!ELEMENT ImageDecoding EMPTY>
46<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
47<!ELEMENT Camera EMPTY>
48<!ELEMENT EncoderOutputFileFormat EMPTY>
49<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
50<!ELEMENT VideoEncoderCap EMPTY>
51<!ATTLIST VideoEncoderCap name (h264|h263|m4v|wmv) #REQUIRED>
52<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
53<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
54<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
55<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
56<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
57<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
58<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
59<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
60<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
61<!ATTLIST VideoEncoderCap maxHFRFrameWidth CDATA #REQUIRED>
62<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
63<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
64<!ELEMENT AudioEncoderCap EMPTY>
65<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|lpcm) #REQUIRED>
66<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
67<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
68<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
69<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
70<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
71<!ATTLIST AudioEncoderCap minChannels (1|2|6) #REQUIRED>
72<!ATTLIST AudioEncoderCap maxChannels (1|2|6) #REQUIRED>
73<!ELEMENT VideoDecoderCap EMPTY>
74<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
75<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
76<!ELEMENT AudioDecoderCap EMPTY>
77<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
78<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
79<!ELEMENT VideoEditorCap EMPTY>
80<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
81<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
82<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
83<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
84<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
85<!ELEMENT ExportVideoProfile EMPTY>
86<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
87<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
88<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
89]>
90<!--
91 This file is used to declare the multimedia profiles and capabilities
92 on an android-powered device.
93-->
94<MediaSettings>
95 <!-- Each camcorder profile defines a set of predefined configuration parameters -->
96 <!-- Back Camera -->
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -040097 <CamcorderProfiles cameraId="0" startOffsetMs="700">
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040098
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -040099 <EncoderProfile quality="low" fileFormat="mp4" duration="30">
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400100 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400101 bitRate="384000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400102 width="176"
103 height="144"
104 frameRate="30" />
105
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400106 <Audio codec="aac"
107 bitRate="128000"
108 sampleRate="48000"
109 channels="2" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400110 </EncoderProfile>
111
112 <EncoderProfile quality="high" fileFormat="mp4" duration="30">
113 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400114 bitRate="17000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400115 width="1920"
116 height="1080"
117 frameRate="30" />
118
119 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400120 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400121 sampleRate="48000"
122 channels="2" />
123 </EncoderProfile>
124
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400125 <EncoderProfile quality="qcif" fileFormat="mp4" duration="30">
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400126 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400127 bitRate="384000"
128 width="176"
129 height="144"
130 frameRate="30" />
131
132 <Audio codec="aac"
133 bitRate="128000"
134 sampleRate="48000"
135 channels="2" />
136 </EncoderProfile>
137
138 <EncoderProfile quality="qvga" fileFormat="mp4" duration="30">
139 <Video codec="h264"
140 bitRate="767000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400141 width="320"
142 height="240"
143 frameRate="30" />
144
145 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400146 bitRate="128000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400147 sampleRate="48000"
148 channels="2" />
149 </EncoderProfile>
150
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400151 <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
152 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400153 bitRate="3449000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400154 width="720"
155 height="480"
156 frameRate="30" />
157
158 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400159 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400160 sampleRate="48000"
161 channels="2" />
162 </EncoderProfile>
163
164 <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
165 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400166 bitRate="12000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400167 width="1280"
168 height="720"
169 frameRate="30" />
170
171 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400172 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400173 sampleRate="48000"
174 channels="2" />
175 </EncoderProfile>
176
177 <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
178 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400179 bitRate="17000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400180 width="1920"
181 height="1080"
182 frameRate="30" />
183
184 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400185 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400186 sampleRate="48000"
187 channels="2" />
188 </EncoderProfile>
189
190 <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
191 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400192 bitRate="384000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400193 width="176"
194 height="144"
195 frameRate="30" />
196
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400197 <!--
198 The Audio part of the profile will not be used since time lapse mode
199 does not capture audio
200 -->
201 <Audio codec="aac"
202 bitRate="128000"
203 sampleRate="48000"
204 channels="2" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400205 </EncoderProfile>
206
207 <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
208 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400209 bitRate="17000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400210 width="1920"
211 height="1080"
212 frameRate="30" />
213
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400214 <!--
215 The Audio part of the profile will not be used since time lapse mode
216 does not capture audio
217 -->
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400218 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400219 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400220 sampleRate="48000"
221 channels="2" />
222 </EncoderProfile>
223
224 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
225 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400226 bitRate="384000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400227 width="176"
228 height="144"
229 frameRate="30" />
230
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400231 <!--
232 The Audio part of the profile will not be used since time lapse mode
233 does not capture audio
234 -->
235 <Audio codec="aac"
236 bitRate="128000"
237 sampleRate="48000"
238 channels="2" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400239 </EncoderProfile>
240
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400241 <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
242 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400243 bitRate="767000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400244 width="320"
245 height="240"
246 frameRate="30" />
247
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400248 <!--
249 The Audio part of the profile will not be used since time lapse mode
250 does not capture audio
251 -->
252 <Audio codec="aac"
253 bitRate="128000"
254 sampleRate="48000"
255 channels="2" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400256 </EncoderProfile>
257
258 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
259 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400260 bitRate="3449000"
261 width="720"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400262 height="480"
263 frameRate="30" />
264
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400265 <!--
266 The Audio part of the profile will not be used since time lapse mode
267 does not capture audio
268 -->
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400269 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400270 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400271 sampleRate="48000"
272 channels="2" />
273 </EncoderProfile>
274
275 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
276 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400277 bitRate="12000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400278 width="1280"
279 height="720"
280 frameRate="30" />
281
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400282 <!--
283 The Audio part of the profile will not be used since time lapse mode
284 does not capture audio
285 -->
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400286 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400287 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400288 sampleRate="48000"
289 channels="2" />
290 </EncoderProfile>
291
292 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
293 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400294 bitRate="17000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400295 width="1920"
296 height="1080"
297 frameRate="30" />
298
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400299 <!--
300 The Audio part of the profile will not be used since time lapse mode
301 does not capture audio
302 -->
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400303 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400304 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400305 sampleRate="48000"
306 channels="2" />
307 </EncoderProfile>
308
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400309 <ImageEncoding quality="95" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400310 <ImageEncoding quality="80" />
311 <ImageEncoding quality="70" />
312 <ImageDecoding memCap="20000000" />
313
314 </CamcorderProfiles>
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400315
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400316 <!-- Front Camera -->
317 <CamcorderProfiles cameraId="1" startOffsetMs="700">
318
319 <EncoderProfile quality="low" fileFormat="mp4" duration="30">
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400320 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400321 bitRate="384000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400322 width="176"
323 height="144"
324 frameRate="30" />
325
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400326 <Audio codec="aac"
327 bitRate="128000"
328 sampleRate="48000"
329 channels="2" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400330 </EncoderProfile>
331
332 <EncoderProfile quality="high" fileFormat="mp4" duration="30">
333 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400334 bitRate="17000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400335 width="1920"
336 height="1080"
337 frameRate="30" />
338
339 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400340 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400341 sampleRate="48000"
342 channels="2" />
343 </EncoderProfile>
344
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400345 <EncoderProfile quality="qcif" fileFormat="mp4" duration="30">
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400346 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400347 bitRate="384000"
348 width="176"
349 height="144"
350 frameRate="30" />
351
352 <Audio codec="aac"
353 bitRate="128000"
354 sampleRate="48000"
355 channels="2" />
356 </EncoderProfile>
357
358 <EncoderProfile quality="qvga" fileFormat="mp4" duration="30">
359 <Video codec="h264"
360 bitRate="767000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400361 width="320"
362 height="240"
363 frameRate="30" />
364
365 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400366 bitRate="128000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400367 sampleRate="48000"
368 channels="2" />
369 </EncoderProfile>
370
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400371 <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
372 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400373 bitRate="3449000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400374 width="720"
375 height="480"
376 frameRate="30" />
377
378 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400379 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400380 sampleRate="48000"
381 channels="2" />
382 </EncoderProfile>
383
384 <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
385 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400386 bitRate="12000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400387 width="1280"
388 height="720"
389 frameRate="30" />
390
391 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400392 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400393 sampleRate="48000"
394 channels="2" />
395 </EncoderProfile>
396
397 <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
398 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400399 bitRate="17000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400400 width="1920"
401 height="1080"
402 frameRate="30" />
403
404 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400405 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400406 sampleRate="48000"
407 channels="2" />
408 </EncoderProfile>
409
410 <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
411 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400412 bitRate="384000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400413 width="176"
414 height="144"
415 frameRate="30" />
416
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400417 <!--
418 The Audio part of the profile will not be used since time lapse mode
419 does not capture audio
420 -->
421 <Audio codec="aac"
422 bitRate="128000"
423 sampleRate="48000"
424 channels="2" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400425 </EncoderProfile>
426
427 <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
428 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400429 bitRate="17000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400430 width="1920"
431 height="1080"
432 frameRate="30" />
433
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400434 <!--
435 The Audio part of the profile will not be used since time lapse mode
436 does not capture audio
437 -->
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400438 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400439 bitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400440 sampleRate="48000"
441 channels="2" />
442 </EncoderProfile>
443
444 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
445 <Video codec="h264"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400446 bitRate="384000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400447 width="176"
448 height="144"
449 frameRate="30" />
450
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400451 <!--
452 The Audio part of the profile will not be used since time lapse mode
453 does not capture audio
454 -->
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400455 <Audio codec="aac"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400456 bitRate="128000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400457 sampleRate="48000"
458 channels="2" />
459 </EncoderProfile>
460
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400461 <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
462 <Video codec="h264"
463 bitRate="767000"
464 width="320"
465 height="240"
466 frameRate="30" />
467
468 <!--
469 The Audio part of the profile will not be used since time lapse mode
470 does not capture audio
471 -->
472 <Audio codec="aac"
473 bitRate="128000"
474 sampleRate="48000"
475 channels="2" />
476 </EncoderProfile>
477
478 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
479 <Video codec="h264"
480 bitRate="3449000"
481 width="720"
482 height="480"
483 frameRate="30" />
484
485 <!--
486 The Audio part of the profile will not be used since time lapse mode
487 does not capture audio
488 -->
489 <Audio codec="aac"
490 bitRate="256000"
491 sampleRate="48000"
492 channels="2" />
493 </EncoderProfile>
494
495 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
496 <Video codec="h264"
497 bitRate="12000000"
498 width="1280"
499 height="720"
500 frameRate="30" />
501
502 <!--
503 The Audio part of the profile will not be used since time lapse mode
504 does not capture audio
505 -->
506 <Audio codec="aac"
507 bitRate="256000"
508 sampleRate="48000"
509 channels="2" />
510 </EncoderProfile>
511
512 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
513 <Video codec="h264"
514 bitRate="17000000"
515 width="1920"
516 height="1080"
517 frameRate="30" />
518
519 <!--
520 The Audio part of the profile will not be used since time lapse mode
521 does not capture audio
522 -->
523 <Audio codec="aac"
524 bitRate="256000"
525 sampleRate="48000"
526 channels="2" />
527 </EncoderProfile>
528
529 <ImageEncoding quality="95" />
530 <ImageEncoding quality="80" />
531 <ImageEncoding quality="70" />
532 <ImageDecoding memCap="20000000" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400533
534 </CamcorderProfiles>
535
536 <EncoderOutputFileFormat name="3gp" />
537 <EncoderOutputFileFormat name="mp4" />
538
539 <!--
540 If a codec is not enabled, it is invisible to the applications
541 In other words, the applications won't be able to use the codec
542 or query the capabilities of the codec at all if it is disabled
543 -->
544 <VideoEncoderCap name="h264" enabled="true"
545 minBitRate="64000" maxBitRate="20000000"
546 minFrameWidth="176" maxFrameWidth="1920"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400547 minFrameHeight="144" maxFrameHeight="1080"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400548 minFrameRate="15" maxFrameRate="30"
549 maxHFRFrameWidth="1280" maxHFRFrameHeight="720"
550 maxHFRMode="60" />
551
552 <VideoEncoderCap name="h263" enabled="true"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400553 minBitRate="64000" maxBitRate="1000000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400554 minFrameWidth="176" maxFrameWidth="800"
555 minFrameHeight="144" maxFrameHeight="480"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400556 minFrameRate="1" maxFrameRate="30"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400557 maxHFRFrameWidth="0" maxHFRFrameHeight="0"
558 maxHFRMode="0" />
559
560 <VideoEncoderCap name="m4v" enabled="true"
561 minBitRate="64000" maxBitRate="20000000"
562 minFrameWidth="176" maxFrameWidth="1920"
563 minFrameHeight="144" maxFrameHeight="1088"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400564 minFrameRate="1" maxFrameRate="30"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400565 maxHFRFrameWidth="0" maxHFRFrameHeight="0"
566 maxHFRMode="0" />
567
568 <AudioEncoderCap name="aac" enabled="true"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400569 minBitRate="8192" maxBitRate="256000"
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400570 minSampleRate="8000" maxSampleRate="48000"
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400571 minChannels="1" maxChannels="2" />
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400572
573 <AudioEncoderCap name="amrwb" enabled="true"
574 minBitRate="6600" maxBitRate="23850"
575 minSampleRate="16000" maxSampleRate="16000"
576 minChannels="1" maxChannels="1" />
577
578 <AudioEncoderCap name="amrnb" enabled="true"
579 minBitRate="5525" maxBitRate="12200"
580 minSampleRate="8000" maxSampleRate="8000"
581 minChannels="1" maxChannels="1" />
582
583 <AudioEncoderCap name="lpcm" enabled="true"
584 minBitRate="768000" maxBitRate="4608000"
585 minSampleRate="48000" maxSampleRate="48000"
586 minChannels="1" maxChannels="6" />
587
588 <!--
589 FIXME:
590 We do not check decoder capabilities at present
591 At present, we only check whether windows media is visible
592 for TEST applications. For other applications, we do
593 not perform any checks at all.
594 -->
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400595 <VideoDecoderCap name="wmv" enabled="false"/>
596 <AudioDecoderCap name="wma" enabled="false"/>
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400597 <!--
598 The VideoEditor Capability configuration:
599 - maxInputFrameWidth: maximum video width of imported video clip.
600 - maxInputFrameHeight: maximum video height of imported video clip.
601 - maxOutputFrameWidth: maximum video width of exported video clip.
602 - maxOutputFrameHeight: maximum video height of exported video clip.
603 - maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
604 used to limit the amount of memory for prefetched YUV frames.
605 For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
606 frames) memory.
607 -->
Zvikomborero VIncent Zvikaramba8f879942016-07-22 01:41:01 -0400608 <VideoEditorCap maxInputFrameWidth="1920"
609 maxInputFrameHeight="1088" maxOutputFrameWidth="1920"
610 maxOutputFrameHeight="1080" maxPrefetchYUVFrames="10"/>
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400611 <!--
612 The VideoEditor Export codec profile and level values
613 correspond to the values in OMX_Video.h.
614 E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
615 and level 4096 means OMX_VIDEO_AVCLevel41.
616 Please note that the values are in decimal.
617 These values are for video encoder.
618 -->
619 <!--
620 Codec = h.264, Baseline profile, level 4.0
621 -->
622 <ExportVideoProfile name="h264" profile= "1" level="2048"/>
623 <!--
624 Codec = h.263, Baseline profile, level 70
625 -->
626 <ExportVideoProfile name="h263" profile= "1" level="128"/>
627 <!--
628 Codec = mpeg4, Simple profile, level 5
629 -->
630 <ExportVideoProfile name="m4v" profile= "1" level="128"/>
631</MediaSettings>