blob: a0d55d41e735c2773b716da54436b300cae9a3ce [file] [log] [blame]
Robin Pengcd374d82021-02-23 20:00:46 +08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<!DOCTYPE MediaSettings [
17<!ELEMENT MediaSettings (CamcorderProfiles,
18 EncoderOutputFileFormat+,
19 VideoEncoderCap+,
20 AudioEncoderCap+,
21 VideoDecoderCap,
22 AudioDecoderCap)>
23<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
24<!ELEMENT EncoderProfile (Video, Audio)>
25<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
26<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
27<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
28<!ELEMENT Video EMPTY>
29<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
30<!ATTLIST Video bitRate CDATA #REQUIRED>
31<!ATTLIST Video width CDATA #REQUIRED>
32<!ATTLIST Video height CDATA #REQUIRED>
33<!ATTLIST Video frameRate CDATA #REQUIRED>
34<!ELEMENT Audio EMPTY>
35<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
36<!ATTLIST Audio bitRate CDATA #REQUIRED>
37<!ATTLIST Audio sampleRate CDATA #REQUIRED>
38<!ATTLIST Audio channels (1|2) #REQUIRED>
39<!ELEMENT ImageEncoding EMPTY>
40<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
41<!ELEMENT ImageDecoding EMPTY>
42<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
43<!ELEMENT Camera EMPTY>
44<!ATTLIST Camera previewFrameRate CDATA #REQUIRED>
45<!ELEMENT EncoderOutputFileFormat EMPTY>
46<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
47<!ELEMENT VideoEncoderCap EMPTY>
wenchangliu72ae1112021-04-15 17:05:21 +080048<!ATTLIST VideoEncoderCap name (hevc|h264|h263|m4v|wmv) #REQUIRED>
Robin Pengcd374d82021-02-23 20:00:46 +080049<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
50<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
51<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
52<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
53<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
54<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
55<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
56<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
57<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
58<!ELEMENT AudioEncoderCap EMPTY>
59<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
60<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
61<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
62<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
63<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
64<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
65<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
66<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
67<!ELEMENT VideoDecoderCap EMPTY>
68<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
69<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
70<!ELEMENT AudioDecoderCap EMPTY>
71<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
72<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
73]>
74<!--
75 This file is used to declare the multimedia profiles and capabilities
76 on an android-powered device.
77-->
78<MediaSettings>
79 <!-- Each camcorder profile defines a set of predefined configuration parameters -->
80 <CamcorderProfiles cameraId="0">
81
82 <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
83 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +080084 bitRate="72000000"
Robin Pengcd374d82021-02-23 20:00:46 +080085 width="3840"
86 height="2160"
87 frameRate="60" />
88
89 <Audio codec="aac"
90 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +080091 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +080092 channels="1" />
93 </EncoderProfile>
94
95 <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
96 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +080097 bitRate="33000000"
Robin Pengcd374d82021-02-23 20:00:46 +080098 width="1920"
99 height="1080"
100 frameRate="60" />
101
102 <Audio codec="aac"
103 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800104 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800105 channels="1" />
106 </EncoderProfile>
107
108 <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
109 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800110 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800111 width="1280"
112 height="720"
113 frameRate="30" />
114
115 <Audio codec="aac"
116 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800117 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800118 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800119 </EncoderProfile>
120
121 <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
122 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800123 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800124 width="720"
125 height="480"
126 frameRate="30" />
127
128 <Audio codec="aac"
129 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800130 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800131 channels="1" />
wenchangliu72ae1112021-04-15 17:05:21 +0800132 </EncoderProfile>
Robin Pengcd374d82021-02-23 20:00:46 +0800133
wenchangliu72ae1112021-04-15 17:05:21 +0800134 <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
135 <Video codec="h264"
136 bitRate="1200000"
137 width="352"
138 height="288"
139 frameRate="30" />
140
141 <Audio codec="aac"
142 bitRate="96000"
143 sampleRate="48000"
144 channels="1" />
145 </EncoderProfile>
146
147 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
148 <Video codec="h264"
149 bitRate="512000"
150 width="320"
151 height="240"
152 frameRate="30" />
153
154 <Audio codec="aac"
155 bitRate="96000"
156 sampleRate="48000"
157 channels="1" />
158 </EncoderProfile>
159
160 <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
161 <Video codec="h264"
162 bitRate="128000"
163 width="176"
164 height="144"
165 frameRate="30" />
166
167 <Audio codec="amrnb"
168 bitRate="12200"
169 sampleRate="8000"
170 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800171 </EncoderProfile>
172
173 <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="60">
174 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800175 bitRate="48000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800176 width="3840"
177 height="2160"
178 frameRate="30" />
179
180 <!-- Audio settings are not used for timealpse video recording -->
181 <Audio codec="aac"
182 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800183 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800184 channels="1" />
185 </EncoderProfile>
186
187 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
188 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800189 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800190 width="1920"
191 height="1080"
192 frameRate="30" />
193
194 <!-- Audio settings are not used for timealpse video recording -->
195 <Audio codec="aac"
196 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800197 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800198 channels="1" />
199 </EncoderProfile>
200
201 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
202 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800203 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800204 width="1280"
205 height="720"
206 frameRate="30" />
207
208 <!-- Audio settings are not used for timealpse video recording -->
209 <Audio codec="aac"
210 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800211 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800212 channels="1" />
213 </EncoderProfile>
214
215 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
216 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800217 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800218 width="720"
219 height="480"
220 frameRate="30" />
221
222 <!-- Audio settings are not used for timealpse video recording -->
223 <Audio codec="aac"
224 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800225 sampleRate="48000"
226 channels="1" />
227 </EncoderProfile>
228
229 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
230 <Video codec="h264"
231 bitRate="1200000"
232 width="352"
233 height="288"
234 frameRate="30" />
235
236 <!-- Audio settings are not used for timealpse video recording -->
237 <Audio codec="aac"
238 bitRate="96000"
239 sampleRate="48000"
240 channels="1" />
241 </EncoderProfile>
242
243 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
244 <Video codec="h264"
245 bitRate="192000"
246 width="176"
247 height="144"
248 frameRate="30" />
249
250 <!-- Audio settings are not used for timealpse video recording -->
251 <Audio codec="amrnb"
252 bitRate="12200"
253 sampleRate="8000"
Robin Pengcd374d82021-02-23 20:00:46 +0800254 channels="1" />
255 </EncoderProfile>
256
257 <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
258 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800259 bitRate="72000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800260 width="1920"
261 height="1080"
262 frameRate="240" />
263
264 <!-- audio setting is ignored -->
265 <Audio codec="aac"
266 bitRate="96000"
267 sampleRate="48000"
268 channels="1" />
269 </EncoderProfile>
270
271 <ImageEncoding quality="90" />
272 <ImageEncoding quality="80" />
273 <ImageEncoding quality="70" />
274 <ImageDecoding memCap="20000000" />
275
276 </CamcorderProfiles>
277
wenchangliu72ae1112021-04-15 17:05:21 +0800278 <CamcorderProfiles cameraId="1">
Robin Pengcd374d82021-02-23 20:00:46 +0800279
280 <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
281 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800282 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800283 width="1920"
284 height="1080"
285 frameRate="30" />
286
287 <Audio codec="aac"
288 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800289 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800290 channels="1" />
291 </EncoderProfile>
292
293 <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
294 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800295 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800296 width="1280"
297 height="720"
298 frameRate="30" />
299
300 <Audio codec="aac"
301 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800302 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800303 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800304 </EncoderProfile>
wenchangliu72ae1112021-04-15 17:05:21 +0800305
Robin Pengcd374d82021-02-23 20:00:46 +0800306 <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
307 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800308 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800309 width="720"
310 height="480"
311 frameRate="30" />
312
313 <Audio codec="aac"
314 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800315 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800316 channels="1" />
wenchangliu72ae1112021-04-15 17:05:21 +0800317 </EncoderProfile>
Robin Pengcd374d82021-02-23 20:00:46 +0800318
wenchangliu72ae1112021-04-15 17:05:21 +0800319 <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
320 <Video codec="h264"
321 bitRate="1200000"
322 width="352"
323 height="288"
324 frameRate="30" />
325
326 <Audio codec="aac"
327 bitRate="96000"
328 sampleRate="48000"
329 channels="1" />
330 </EncoderProfile>
331
332 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
333 <Video codec="h264"
334 bitRate="512000"
335 width="320"
336 height="240"
337 frameRate="30" />
338
339 <Audio codec="aac"
340 bitRate="96000"
341 sampleRate="48000"
342 channels="1" />
343 </EncoderProfile>
344
345 <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
346 <Video codec="h264"
347 bitRate="128000"
348 width="176"
349 height="144"
350 frameRate="30" />
351
352 <Audio codec="amrnb"
353 bitRate="12200"
354 sampleRate="8000"
355 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800356 </EncoderProfile>
357
358 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
359 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800360 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800361 width="1920"
362 height="1080"
363 frameRate="30" />
364
365 <!-- Audio settings are not used for timealpse video recording -->
366 <Audio codec="aac"
367 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800368 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800369 channels="1" />
370 </EncoderProfile>
371
372 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
373 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800374 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800375 width="1280"
376 height="720"
377 frameRate="30" />
378
379 <!-- Audio settings are not used for timealpse video recording -->
380 <Audio codec="aac"
381 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800382 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800383 channels="1" />
384 </EncoderProfile>
385
386 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
387 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800388 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800389 width="720"
390 height="480"
391 frameRate="30" />
392
393 <!-- Audio settings are not used for timealpse video recording -->
394 <Audio codec="aac"
395 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800396 sampleRate="48000"
397 channels="1" />
398 </EncoderProfile>
399
400 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
401 <Video codec="h264"
402 bitRate="1200000"
403 width="352"
404 height="288"
405 frameRate="30" />
406
407 <!-- Audio settings are not used for timealpse video recording -->
408 <Audio codec="aac"
409 bitRate="96000"
410 sampleRate="48000"
411 channels="1" />
412 </EncoderProfile>
413
414 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
415 <Video codec="h264"
416 bitRate="192000"
417 width="176"
418 height="144"
419 frameRate="30" />
420
421 <!-- Audio settings are not used for timealpse video recording -->
422 <Audio codec="amrnb"
423 bitRate="12200"
424 sampleRate="8000"
Robin Pengcd374d82021-02-23 20:00:46 +0800425 channels="1" />
426 </EncoderProfile>
427
428 <ImageEncoding quality="90" />
429 <ImageEncoding quality="80" />
430 <ImageEncoding quality="70" />
431 <ImageDecoding memCap="20000000" />
432
wenchangliu72ae1112021-04-15 17:05:21 +0800433 </CamcorderProfiles>
Robin Pengcd374d82021-02-23 20:00:46 +0800434
wenchangliu72ae1112021-04-15 17:05:21 +0800435 <CamcorderProfiles cameraId="2">
Robin Pengcd374d82021-02-23 20:00:46 +0800436
437 <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
438 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800439 bitRate="72000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800440 width="3840"
441 height="2160"
442 frameRate="60" />
443
444 <Audio codec="aac"
445 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800446 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800447 channels="1" />
448 </EncoderProfile>
449
450 <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
451 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800452 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800453 width="1920"
454 height="1080"
455 frameRate="30" />
456
457 <Audio codec="aac"
458 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800459 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800460 channels="1" />
461 </EncoderProfile>
462
463 <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
464 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800465 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800466 width="1280"
467 height="720"
468 frameRate="30" />
469
470 <Audio codec="aac"
471 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800472 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800473 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800474 </EncoderProfile>
wenchangliu72ae1112021-04-15 17:05:21 +0800475
Robin Pengcd374d82021-02-23 20:00:46 +0800476 <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
477 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800478 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800479 width="720"
480 height="480"
481 frameRate="30" />
482
483 <Audio codec="aac"
484 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800485 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800486 channels="1" />
wenchangliu72ae1112021-04-15 17:05:21 +0800487 </EncoderProfile>
Robin Pengcd374d82021-02-23 20:00:46 +0800488
wenchangliu72ae1112021-04-15 17:05:21 +0800489 <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
490 <Video codec="h264"
491 bitRate="1200000"
492 width="352"
493 height="288"
494 frameRate="30" />
495
496 <Audio codec="aac"
497 bitRate="96000"
498 sampleRate="48000"
499 channels="1" />
500 </EncoderProfile>
501
502 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
503 <Video codec="h264"
504 bitRate="512000"
505 width="320"
506 height="240"
507 frameRate="30" />
508
509 <Audio codec="aac"
510 bitRate="96000"
511 sampleRate="48000"
512 channels="1" />
513 </EncoderProfile>
514
515 <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
516 <Video codec="h264"
517 bitRate="128000"
518 width="176"
519 height="144"
520 frameRate="30" />
521
522 <Audio codec="amrnb"
523 bitRate="12200"
524 sampleRate="8000"
525 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800526 </EncoderProfile>
527
528 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
529 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800530 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800531 width="1920"
532 height="1080"
533 frameRate="30" />
534
535 <!-- Audio settings are not used for timealpse video recording -->
536 <Audio codec="aac"
537 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800538 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800539 channels="1" />
540 </EncoderProfile>
541
542 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
543 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800544 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800545 width="1280"
546 height="720"
547 frameRate="30" />
548
549 <!-- Audio settings are not used for timealpse video recording -->
550 <Audio codec="aac"
551 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800552 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800553 channels="1" />
554 </EncoderProfile>
555
556 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
557 <Video codec="h264"
558 bitRate="3000000"
559 width="720"
560 height="480"
561 frameRate="30" />
562
563 <!-- Audio settings are not used for timealpse video recording -->
564 <Audio codec="aac"
565 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800566 sampleRate="48000"
567 channels="1" />
568 </EncoderProfile>
569
570 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
571 <Video codec="h264"
572 bitRate="1200000"
573 width="352"
574 height="288"
575 frameRate="30" />
576
577 <!-- Audio settings are not used for timealpse video recording -->
578 <Audio codec="aac"
579 bitRate="96000"
580 sampleRate="48000"
581 channels="1" />
582 </EncoderProfile>
583
584 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
585 <Video codec="h264"
586 bitRate="192000"
587 width="176"
588 height="144"
589 frameRate="30" />
590
591 <!-- Audio settings are not used for timealpse video recording -->
592 <Audio codec="amrnb"
593 bitRate="12200"
594 sampleRate="8000"
595 channels="1" />
596 </EncoderProfile>
597
598 <EncoderProfile quality="highspeedlow" fileFormat="mp4" duration="60">
599 <Video codec="h264"
600 bitRate="72000000"
601 width="1920"
602 height="1080"
603 frameRate="240" />
604
605 <!-- audio setting is ignored -->
606 <Audio codec="aac"
607 bitRate="96000"
608 sampleRate="48000"
609 channels="1" />
610 </EncoderProfile>
611
612 <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="60">
613 <Video codec="h264"
614 bitRate="72000000"
615 width="1920"
616 height="1080"
617 frameRate="240" />
618
619 <!-- audio setting is ignored -->
620 <Audio codec="aac"
621 bitRate="96000"
622 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800623 channels="1" />
624 </EncoderProfile>
625
626 <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
627 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800628 bitRate="72000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800629 width="1920"
630 height="1080"
631 frameRate="240" />
632
633 <!-- audio setting is ignored -->
634 <Audio codec="aac"
635 bitRate="96000"
636 sampleRate="48000"
637 channels="1" />
638 </EncoderProfile>
639
640 <ImageEncoding quality="90" />
641 <ImageEncoding quality="80" />
642 <ImageEncoding quality="70" />
643 <ImageDecoding memCap="20000000" />
644
645 </CamcorderProfiles>
646
wenchangliu72ae1112021-04-15 17:05:21 +0800647 <CamcorderProfiles cameraId="3">
Robin Pengcd374d82021-02-23 20:00:46 +0800648
649 <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
650 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800651 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800652 width="1920"
653 height="1080"
654 frameRate="30" />
655
656 <Audio codec="aac"
657 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800658 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800659 channels="1" />
660 </EncoderProfile>
661
662 <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
663 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800664 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800665 width="1280"
666 height="720"
667 frameRate="30" />
668
669 <Audio codec="aac"
670 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800671 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800672 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800673 </EncoderProfile>
wenchangliu72ae1112021-04-15 17:05:21 +0800674
Robin Pengcd374d82021-02-23 20:00:46 +0800675 <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
676 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800677 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800678 width="720"
679 height="480"
680 frameRate="30" />
681
682 <Audio codec="aac"
683 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800684 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800685 channels="1" />
wenchangliu72ae1112021-04-15 17:05:21 +0800686 </EncoderProfile>
Robin Pengcd374d82021-02-23 20:00:46 +0800687
wenchangliu72ae1112021-04-15 17:05:21 +0800688 <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
689 <Video codec="h264"
690 bitRate="1200000"
691 width="352"
692 height="288"
693 frameRate="30" />
694
695 <Audio codec="aac"
696 bitRate="96000"
697 sampleRate="48000"
698 channels="1" />
699 </EncoderProfile>
700
701 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
702 <Video codec="h264"
703 bitRate="512000"
704 width="320"
705 height="240"
706 frameRate="30" />
707
708 <Audio codec="aac"
709 bitRate="96000"
710 sampleRate="48000"
711 channels="1" />
712 </EncoderProfile>
713
714 <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
715 <Video codec="h264"
716 bitRate="128000"
717 width="176"
718 height="144"
719 frameRate="30" />
720
721 <Audio codec="amrnb"
722 bitRate="12200"
723 sampleRate="8000"
724 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800725 </EncoderProfile>
726
727 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
728 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800729 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800730 width="1920"
731 height="1080"
732 frameRate="30" />
733
734 <!-- Audio settings are not used for timealpse video recording -->
735 <Audio codec="aac"
736 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800737 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800738 channels="1" />
739 </EncoderProfile>
740
741 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
742 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800743 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800744 width="1280"
745 height="720"
746 frameRate="30" />
747
748 <!-- Audio settings are not used for timealpse video recording -->
749 <Audio codec="aac"
750 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800751 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800752 channels="1" />
753 </EncoderProfile>
754
755 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
756 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800757 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800758 width="720"
759 height="480"
760 frameRate="30" />
761
762 <!-- Audio settings are not used for timealpse video recording -->
763 <Audio codec="aac"
764 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800765 sampleRate="48000"
766 channels="1" />
767 </EncoderProfile>
768
769 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
770 <Video codec="h264"
771 bitRate="1200000"
772 width="352"
773 height="288"
774 frameRate="30" />
775
776 <!-- Audio settings are not used for timealpse video recording -->
777 <Audio codec="aac"
778 bitRate="96000"
779 sampleRate="48000"
780 channels="1" />
781 </EncoderProfile>
782
783 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
784 <Video codec="h264"
785 bitRate="192000"
786 width="176"
787 height="144"
788 frameRate="30" />
789
790 <!-- Audio settings are not used for timealpse video recording -->
791 <Audio codec="amrnb"
792 bitRate="12200"
793 sampleRate="8000"
Robin Pengcd374d82021-02-23 20:00:46 +0800794 channels="1" />
795 </EncoderProfile>
796
797 <ImageEncoding quality="90" />
798 <ImageEncoding quality="80" />
799 <ImageEncoding quality="70" />
800 <ImageDecoding memCap="20000000" />
801
802 </CamcorderProfiles>
803
wenchangliu72ae1112021-04-15 17:05:21 +0800804 <CamcorderProfiles cameraId="4">
Robin Pengcd374d82021-02-23 20:00:46 +0800805
806 <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
807 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800808 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800809 width="1920"
810 height="1080"
811 frameRate="30" />
812
813 <Audio codec="aac"
814 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800815 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800816 channels="1" />
817 </EncoderProfile>
818
819 <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
820 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800821 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800822 width="1280"
823 height="720"
824 frameRate="30" />
825
826 <Audio codec="aac"
827 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800828 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800829 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800830 </EncoderProfile>
wenchangliu72ae1112021-04-15 17:05:21 +0800831
Robin Pengcd374d82021-02-23 20:00:46 +0800832 <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
833 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800834 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800835 width="720"
836 height="480"
837 frameRate="30" />
838
839 <Audio codec="aac"
840 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800841 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800842 channels="1" />
wenchangliu72ae1112021-04-15 17:05:21 +0800843 </EncoderProfile>
Robin Pengcd374d82021-02-23 20:00:46 +0800844
wenchangliu72ae1112021-04-15 17:05:21 +0800845 <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
846 <Video codec="h264"
847 bitRate="1200000"
848 width="352"
849 height="288"
850 frameRate="30" />
851
852 <Audio codec="aac"
853 bitRate="96000"
854 sampleRate="48000"
855 channels="1" />
856 </EncoderProfile>
857
858 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
859 <Video codec="h264"
860 bitRate="512000"
861 width="320"
862 height="240"
863 frameRate="30" />
864
865 <Audio codec="aac"
866 bitRate="96000"
867 sampleRate="48000"
868 channels="1" />
869 </EncoderProfile>
870
871 <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
872 <Video codec="h264"
873 bitRate="128000"
874 width="176"
875 height="144"
876 frameRate="30" />
877
878 <Audio codec="amrnb"
879 bitRate="12200"
880 sampleRate="8000"
881 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +0800882 </EncoderProfile>
883
884 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
885 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800886 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800887 width="1920"
888 height="1080"
889 frameRate="30" />
890
891 <!-- Audio settings are not used for timealpse video recording -->
892 <Audio codec="aac"
893 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800894 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800895 channels="1" />
896 </EncoderProfile>
897
898 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
899 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800900 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800901 width="1280"
902 height="720"
903 frameRate="30" />
904
905 <!-- Audio settings are not used for timealpse video recording -->
906 <Audio codec="aac"
907 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800908 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800909 channels="1" />
910 </EncoderProfile>
911
912 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
913 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800914 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800915 width="720"
916 height="480"
917 frameRate="30" />
918
919 <!-- Audio settings are not used for timealpse video recording -->
920 <Audio codec="aac"
921 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800922 sampleRate="48000"
923 channels="1" />
924 </EncoderProfile>
925
926 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
927 <Video codec="h264"
928 bitRate="1200000"
929 width="352"
930 height="288"
931 frameRate="30" />
932
933 <!-- Audio settings are not used for timealpse video recording -->
934 <Audio codec="aac"
935 bitRate="96000"
936 sampleRate="48000"
937 channels="1" />
938 </EncoderProfile>
939
940 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
941 <Video codec="h264"
942 bitRate="192000"
943 width="176"
944 height="144"
945 frameRate="30" />
946
947 <!-- Audio settings are not used for timealpse video recording -->
948 <Audio codec="amrnb"
949 bitRate="12200"
950 sampleRate="8000"
Robin Pengcd374d82021-02-23 20:00:46 +0800951 channels="1" />
952 </EncoderProfile>
953
954 <ImageEncoding quality="90" />
955 <ImageEncoding quality="80" />
956 <ImageEncoding quality="70" />
957 <ImageDecoding memCap="20000000" />
958
959 </CamcorderProfiles>
960
961 <CamcorderProfiles cameraId="5">
962
963 <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
964 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800965 bitRate="72000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800966 width="3840"
967 height="2160"
968 frameRate="60" />
969
970 <Audio codec="aac"
971 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800972 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800973 channels="1" />
974 </EncoderProfile>
975
976 <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
977 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800978 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800979 width="1920"
980 height="1080"
981 frameRate="30" />
982
983 <Audio codec="aac"
984 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800985 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800986 channels="1" />
987 </EncoderProfile>
988
989 <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
990 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +0800991 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +0800992 width="1280"
993 height="720"
994 frameRate="30" />
995
996 <Audio codec="aac"
997 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +0800998 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +0800999 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +08001000 </EncoderProfile>
1001
1002 <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
1003 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001004 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001005 width="720"
1006 height="480"
1007 frameRate="30" />
1008
1009 <Audio codec="aac"
1010 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001011 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001012 channels="1" />
wenchangliu72ae1112021-04-15 17:05:21 +08001013 </EncoderProfile>
Robin Pengcd374d82021-02-23 20:00:46 +08001014
wenchangliu72ae1112021-04-15 17:05:21 +08001015 <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
1016 <Video codec="h264"
1017 bitRate="1200000"
1018 width="352"
1019 height="288"
1020 frameRate="30" />
1021
1022 <Audio codec="aac"
1023 bitRate="96000"
1024 sampleRate="48000"
1025 channels="1" />
1026 </EncoderProfile>
1027
1028 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
1029 <Video codec="h264"
1030 bitRate="512000"
1031 width="320"
1032 height="240"
1033 frameRate="30" />
1034
1035 <Audio codec="aac"
1036 bitRate="96000"
1037 sampleRate="48000"
1038 channels="1" />
1039 </EncoderProfile>
1040
1041 <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
1042 <Video codec="h264"
1043 bitRate="128000"
1044 width="176"
1045 height="144"
1046 frameRate="30" />
1047
1048 <Audio codec="amrnb"
1049 bitRate="12200"
1050 sampleRate="8000"
1051 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +08001052 </EncoderProfile>
1053
1054 <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="60">
1055 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001056 bitRate="48000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001057 width="3840"
1058 height="2160"
1059 frameRate="30" />
1060
1061 <!-- Audio settings are not used for timealpse video recording -->
1062 <Audio codec="aac"
1063 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001064 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001065 channels="1" />
1066 </EncoderProfile>
1067
1068 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
1069 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001070 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001071 width="1920"
1072 height="1080"
1073 frameRate="30" />
1074
1075 <!-- Audio settings are not used for timealpse video recording -->
1076 <Audio codec="aac"
1077 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001078 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001079 channels="1" />
1080 </EncoderProfile>
1081
1082 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
1083 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001084 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001085 width="1280"
1086 height="720"
1087 frameRate="30" />
1088
1089 <!-- Audio settings are not used for timealpse video recording -->
1090 <Audio codec="aac"
1091 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001092 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001093 channels="1" />
1094 </EncoderProfile>
1095
1096 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
1097 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001098 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001099 width="720"
1100 height="480"
1101 frameRate="30" />
1102
1103 <!-- Audio settings are not used for timealpse video recording -->
1104 <Audio codec="aac"
1105 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001106 sampleRate="48000"
1107 channels="1" />
1108 </EncoderProfile>
1109
1110 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
1111 <Video codec="h264"
1112 bitRate="1200000"
1113 width="352"
1114 height="288"
1115 frameRate="30" />
1116
1117 <!-- Audio settings are not used for timealpse video recording -->
1118 <Audio codec="aac"
1119 bitRate="96000"
1120 sampleRate="48000"
1121 channels="1" />
1122 </EncoderProfile>
1123
1124 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
1125 <Video codec="h264"
1126 bitRate="192000"
1127 width="176"
1128 height="144"
1129 frameRate="30" />
1130
1131 <!-- Audio settings are not used for timealpse video recording -->
1132 <Audio codec="amrnb"
1133 bitRate="12200"
1134 sampleRate="8000"
1135 channels="1" />
1136 </EncoderProfile>
1137
1138 <EncoderProfile quality="highspeedlow" fileFormat="mp4" duration="60">
1139 <Video codec="h264"
1140 bitRate="72000000"
1141 width="1920"
1142 height="1080"
1143 frameRate="240" />
1144
1145 <!-- audio setting is ignored -->
1146 <Audio codec="aac"
1147 bitRate="96000"
1148 sampleRate="48000"
1149 channels="1" />
1150 </EncoderProfile>
1151
1152 <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="60">
1153 <Video codec="h264"
1154 bitRate="72000000"
1155 width="1920"
1156 height="1080"
1157 frameRate="240" />
1158
1159 <!-- audio setting is ignored -->
1160 <Audio codec="aac"
1161 bitRate="96000"
1162 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001163 channels="1" />
1164 </EncoderProfile>
1165
1166 <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
1167 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001168 bitRate="72000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001169 width="1920"
1170 height="1080"
1171 frameRate="240" />
1172
1173 <!-- audio setting is ignored -->
1174 <Audio codec="aac"
1175 bitRate="96000"
1176 sampleRate="48000"
1177 channels="1" />
1178 </EncoderProfile>
1179
1180 <ImageEncoding quality="90" />
1181 <ImageEncoding quality="80" />
1182 <ImageEncoding quality="70" />
1183 <ImageDecoding memCap="20000000" />
1184
1185 </CamcorderProfiles>
1186
wenchangliu72ae1112021-04-15 17:05:21 +08001187 <CamcorderProfiles cameraId="6">
Robin Pengcd374d82021-02-23 20:00:46 +08001188
1189 <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
1190 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001191 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001192 width="1920"
1193 height="1080"
1194 frameRate="30" />
1195
1196 <Audio codec="aac"
1197 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001198 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001199 channels="1" />
1200 </EncoderProfile>
1201
1202 <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
1203 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001204 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001205 width="1280"
1206 height="720"
1207 frameRate="30" />
1208
1209 <Audio codec="aac"
1210 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001211 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001212 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +08001213 </EncoderProfile>
wenchangliu72ae1112021-04-15 17:05:21 +08001214
Robin Pengcd374d82021-02-23 20:00:46 +08001215 <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
1216 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001217 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001218 width="720"
1219 height="480"
1220 frameRate="30" />
1221
1222 <Audio codec="aac"
1223 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001224 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001225 channels="1" />
wenchangliu72ae1112021-04-15 17:05:21 +08001226 </EncoderProfile>
Robin Pengcd374d82021-02-23 20:00:46 +08001227
wenchangliu72ae1112021-04-15 17:05:21 +08001228 <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
1229 <Video codec="h264"
1230 bitRate="1200000"
1231 width="352"
1232 height="288"
1233 frameRate="30" />
1234
1235 <Audio codec="aac"
1236 bitRate="96000"
1237 sampleRate="48000"
1238 channels="1" />
1239 </EncoderProfile>
1240
1241 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
1242 <Video codec="h264"
1243 bitRate="512000"
1244 width="320"
1245 height="240"
1246 frameRate="30" />
1247
1248 <Audio codec="aac"
1249 bitRate="96000"
1250 sampleRate="48000"
1251 channels="1" />
1252 </EncoderProfile>
1253
1254 <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
1255 <Video codec="h264"
1256 bitRate="128000"
1257 width="176"
1258 height="144"
1259 frameRate="30" />
1260
1261 <Audio codec="amrnb"
1262 bitRate="12200"
1263 sampleRate="8000"
1264 channels="1" />
Robin Pengcd374d82021-02-23 20:00:46 +08001265 </EncoderProfile>
1266
1267 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
1268 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001269 bitRate="22000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001270 width="1920"
1271 height="1080"
1272 frameRate="30" />
1273
1274 <!-- Audio settings are not used for timealpse video recording -->
1275 <Audio codec="aac"
1276 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001277 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001278 channels="1" />
1279 </EncoderProfile>
1280
1281 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
1282 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001283 bitRate="12000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001284 width="1280"
1285 height="720"
1286 frameRate="30" />
1287
1288 <!-- Audio settings are not used for timealpse video recording -->
1289 <Audio codec="aac"
1290 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001291 sampleRate="48000"
Robin Pengcd374d82021-02-23 20:00:46 +08001292 channels="1" />
1293 </EncoderProfile>
1294
1295 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
1296 <Video codec="h264"
wenchangliu72ae1112021-04-15 17:05:21 +08001297 bitRate="6000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001298 width="720"
1299 height="480"
1300 frameRate="30" />
1301
1302 <!-- Audio settings are not used for timealpse video recording -->
1303 <Audio codec="aac"
1304 bitRate="96000"
wenchangliu72ae1112021-04-15 17:05:21 +08001305 sampleRate="48000"
1306 channels="1" />
1307 </EncoderProfile>
1308
1309 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
1310 <Video codec="h264"
1311 bitRate="1200000"
1312 width="352"
1313 height="288"
1314 frameRate="30" />
1315
1316 <!-- Audio settings are not used for timealpse video recording -->
1317 <Audio codec="aac"
1318 bitRate="96000"
1319 sampleRate="48000"
1320 channels="1" />
1321 </EncoderProfile>
1322
1323 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
1324 <Video codec="h264"
1325 bitRate="192000"
1326 width="176"
1327 height="144"
1328 frameRate="30" />
1329
1330 <!-- Audio settings are not used for timealpse video recording -->
1331 <Audio codec="amrnb"
1332 bitRate="12200"
1333 sampleRate="8000"
Robin Pengcd374d82021-02-23 20:00:46 +08001334 channels="1" />
1335 </EncoderProfile>
1336
1337 <ImageEncoding quality="90" />
1338 <ImageEncoding quality="80" />
1339 <ImageEncoding quality="70" />
1340 <ImageDecoding memCap="20000000" />
1341
wenchangliu72ae1112021-04-15 17:05:21 +08001342 </CamcorderProfiles>
Robin Pengcd374d82021-02-23 20:00:46 +08001343
1344 <EncoderOutputFileFormat name="3gp" />
1345 <EncoderOutputFileFormat name="mp4" />
1346
1347 <!--
1348 If a codec is not enabled, it is invisible to the applications
1349 In other words, the applications won't be able to use the codec
1350 or query the capabilities of the codec at all if it is disabled
1351 -->
1352
1353 <!--
1354 FIXME : we only check Mpeg4 encorder cap and other codec doesn't check
1355 codec cap
1356 -->
wenchangliu72ae1112021-04-15 17:05:21 +08001357 <VideoEncoderCap name="hevc" enabled="true"
1358 minBitRate="64000" maxBitRate="100000000"
1359 minFrameWidth="128" maxFrameWidth="3840"
1360 minFrameHeight="96" maxFrameHeight="2160"
Jason Lee30e3d9a2021-05-11 11:50:11 +09001361 minFrameRate="15" maxFrameRate="30" />
wenchangliu72ae1112021-04-15 17:05:21 +08001362
Robin Pengcd374d82021-02-23 20:00:46 +08001363 <VideoEncoderCap name="h264" enabled="true"
wenchangliu72ae1112021-04-15 17:05:21 +08001364 minBitRate="64000" maxBitRate="100000000"
Robin Pengcd374d82021-02-23 20:00:46 +08001365 minFrameWidth="128" maxFrameWidth="3840"
1366 minFrameHeight="96" maxFrameHeight="2160"
Jason Lee30e3d9a2021-05-11 11:50:11 +09001367 minFrameRate="15" maxFrameRate="30" />
Robin Pengcd374d82021-02-23 20:00:46 +08001368
1369 <VideoEncoderCap name="h263" enabled="true"
1370 minBitRate="64000" maxBitRate="1000000"
1371 minFrameWidth="128" maxFrameWidth="1920"
1372 minFrameHeight="96" maxFrameHeight="1080"
1373 minFrameRate="15" maxFrameRate="30" />
1374
1375 <VideoEncoderCap name="m4v" enabled="true"
1376 minBitRate="64000" maxBitRate="2000000"
1377 minFrameWidth="128" maxFrameWidth="1920"
1378 minFrameHeight="96" maxFrameHeight="1080"
1379 minFrameRate="15" maxFrameRate="30" />
1380
1381 <AudioEncoderCap name="aac" enabled="true"
1382 minBitRate="758" maxBitRate="288000"
1383 minSampleRate="8000" maxSampleRate="48000"
1384 minChannels="1" maxChannels="1" />
1385
1386 <AudioEncoderCap name="heaac" enabled="true"
1387 minBitRate="8000" maxBitRate="64000"
1388 minSampleRate="16000" maxSampleRate="48000"
1389 minChannels="1" maxChannels="1" />
1390
1391 <AudioEncoderCap name="aaceld" enabled="true"
1392 minBitRate="16000" maxBitRate="192000"
1393 minSampleRate="16000" maxSampleRate="48000"
1394 minChannels="1" maxChannels="1" />
1395
1396 <AudioEncoderCap name="amrwb" enabled="true"
1397 minBitRate="6600" maxBitRate="23050"
1398 minSampleRate="16000" maxSampleRate="16000"
1399 minChannels="1" maxChannels="1" />
1400
1401 <AudioEncoderCap name="amrnb" enabled="true"
1402 minBitRate="5525" maxBitRate="12200"
1403 minSampleRate="8000" maxSampleRate="8000"
1404 minChannels="1" maxChannels="1" />
1405
1406 <!--
1407 FIXME:
1408 We do not check decoder capabilities at present
1409 At present, we only check whether windows media is visible
1410 for TEST applications. For other applications, we do
1411 not perform any checks at all.
1412 -->
1413 <VideoDecoderCap name="wmv" enabled="false"/>
1414 <AudioDecoderCap name="wma" enabled="false"/>
1415</MediaSettings>