blob: 87c8df25fe378bf98ae9671d6c24384b03feca7b [file] [log] [blame]
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3 Copyright (C) 2014 The Linux Foundation. All rights reserved.
4 Not a contribution.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17-->
18<!DOCTYPE MediaSettings [
19<!ELEMENT MediaSettings (CamcorderProfiles,
20 EncoderOutputFileFormat+,
21 VideoEncoderCap+,
22 AudioEncoderCap+,
23 VideoDecoderCap,
24 AudioDecoderCap)>
25<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
26<!ELEMENT EncoderProfile (Video, Audio)>
27<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
28<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
29<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
30<!ATTLIST EncoderProfile cameraId (0|1) #REQUIRED>
31<!ELEMENT Video EMPTY>
32<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
33<!ATTLIST Video bitRate CDATA #REQUIRED>
34<!ATTLIST Video width CDATA #REQUIRED>
35<!ATTLIST Video height CDATA #REQUIRED>
36<!ATTLIST Video frameRate CDATA #REQUIRED>
37<!ELEMENT Audio EMPTY>
38<!ATTLIST Audio codec (amrnb|amrwb|aac|lpcm) #REQUIRED>
39<!ATTLIST Audio bitRate CDATA #REQUIRED>
40<!ATTLIST Audio sampleRate CDATA #REQUIRED>
41<!ATTLIST Audio channels (1|2|6) #REQUIRED>
42<!ELEMENT ImageEncoding EMPTY>
43<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
44<!ELEMENT ImageDecoding EMPTY>
45<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
46<!ELEMENT Camera EMPTY>
47<!ELEMENT EncoderOutputFileFormat EMPTY>
48<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
49<!ELEMENT VideoEncoderCap EMPTY>
50<!ATTLIST VideoEncoderCap name (h264|h263|m4v|wmv) #REQUIRED>
51<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
52<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
53<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
54<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
55<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
56<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
57<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
58<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
59<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
60<!ATTLIST VideoEncoderCap maxHFRFrameWidth CDATA #REQUIRED>
61<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
62<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
63<!ELEMENT AudioEncoderCap EMPTY>
64<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|lpcm) #REQUIRED>
65<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
66<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
67<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
68<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
69<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
70<!ATTLIST AudioEncoderCap minChannels (1|2|6) #REQUIRED>
71<!ATTLIST AudioEncoderCap maxChannels (1|2|6) #REQUIRED>
72<!ELEMENT VideoDecoderCap EMPTY>
73<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
74<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
75<!ELEMENT AudioDecoderCap EMPTY>
76<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
77<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
78<!ELEMENT VideoEditorCap EMPTY>
79<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
80<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
81<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
82<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
83<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
84<!ELEMENT ExportVideoProfile EMPTY>
85<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
86<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
87<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
88]>
89<!--
90 This file is used to declare the multimedia profiles and capabilities
91 on an android-powered device.
92-->
93<MediaSettings>
94 <!-- Each camcorder profile defines a set of predefined configuration parameters -->
95 <!-- Back Camera -->
96 <CamcorderProfiles cameraId="0" startOffsetMs="300">
97
98 <EncoderProfile quality="low" fileFormat="3gp" duration="30">
99 <Video codec="h264"
100 bitRate="192000"
101 width="176"
102 height="144"
103 frameRate="30" />
104
105 <Audio codec="amrnb"
106 bitRate="12200"
107 sampleRate="8000"
108 channels="1" />
109 </EncoderProfile>
110
111 <EncoderProfile quality="high" fileFormat="mp4" duration="30">
112 <Video codec="h264"
113 bitRate="20000000"
114 width="1920"
115 height="1080"
116 frameRate="30" />
117
118 <Audio codec="aac"
119 bitRate="156000"
120 sampleRate="48000"
121 channels="2" />
122 </EncoderProfile>
123
124 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
125 <Video codec="h264"
126 bitRate="512000"
127 width="320"
128 height="240"
129 frameRate="30" />
130
131 <Audio codec="aac"
132 bitRate="156000"
133 sampleRate="48000"
134 channels="2" />
135 </EncoderProfile>
136
137 <EncoderProfile quality="cif" fileFormat="3gp" duration="30">
138 <Video codec="h264"
139 bitRate="720000"
140 width="352"
141 height="288"
142 frameRate="30" />
143
144 <Audio codec="amrnb"
145 bitRate="12200"
146 sampleRate="8000"
147 channels="1" />
148 </EncoderProfile>
149
150 <EncoderProfile quality="fwvga" fileFormat="mp4" duration="30">
151 <Video codec="h264"
152 bitRate="2000000"
153 width="864"
154 height="480"
155 frameRate="30" />
156
157 <!-- audio setting is ignored -->
158 <Audio codec="amrnb"
159 bitRate="12200"
160 sampleRate="8000"
161 channels="1" />
162 </EncoderProfile>
163
164 <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
165 <Video codec="h264"
166 bitRate="2000000"
167 width="720"
168 height="480"
169 frameRate="30" />
170
171 <Audio codec="aac"
172 bitRate="156000"
173 sampleRate="48000"
174 channels="2" />
175 </EncoderProfile>
176
177 <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
178 <Video codec="h264"
179 bitRate="14000000"
180 width="1280"
181 height="720"
182 frameRate="30" />
183
184 <Audio codec="aac"
185 bitRate="156000"
186 sampleRate="48000"
187 channels="2" />
188 </EncoderProfile>
189
190 <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
191 <Video codec="h264"
192 bitRate="20000000"
193 width="1920"
194 height="1080"
195 frameRate="30" />
196
197 <Audio codec="aac"
198 bitRate="156000"
199 sampleRate="48000"
200 channels="2" />
201 </EncoderProfile>
202
203 <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
204 <Video codec="h264"
205 bitRate="192000"
206 width="176"
207 height="144"
208 frameRate="30" />
209
210 <Audio codec="amrnb"
211 bitRate="12200"
212 sampleRate="8000"
213 channels="1" />
214 </EncoderProfile>
215
216 <EncoderProfile quality="wvga" fileFormat="mp4" duration="30">
217 <Video codec="h264"
218 bitRate="2000000"
219 width="800"
220 height="480"
221 frameRate="30" />
222
223 <Audio codec="aac"
224 bitRate="156000"
225 sampleRate="48000"
226 channels="2" />
227 </EncoderProfile>
228
229 <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
230 <Video codec="h264"
231 bitRate="2000000"
232 width="640"
233 height="480"
234 frameRate="30" />
235
236 <Audio codec="aac"
237 bitRate="156000"
238 sampleRate="48000"
239 channels="2" />
240 </EncoderProfile>
241
242 <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
243 <Video codec="h264"
244 bitRate="192000"
245 width="176"
246 height="144"
247 frameRate="30" />
248
249 <!-- audio setting is ignored -->
250 <Audio codec="amrnb"
251 bitRate="12200"
252 sampleRate="8000"
253 channels="1" />
254 </EncoderProfile>
255
256 <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
257 <Video codec="h264"
258 bitRate="20000000"
259 width="1920"
260 height="1080"
261 frameRate="30" />
262
263 <!-- audio setting is ignored -->
264 <Audio codec="aac"
265 bitRate="156000"
266 sampleRate="48000"
267 channels="2" />
268 </EncoderProfile>
269
270 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
271 <Video codec="h264"
272 bitRate="192000"
273 width="176"
274 height="144"
275 frameRate="30" />
276
277 <!-- audio setting is ignored -->
278 <Audio codec="amrnb"
279 bitRate="12200"
280 sampleRate="8000"
281 channels="1" />
282 </EncoderProfile>
283
284 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
285 <Video codec="h264"
286 bitRate="720000"
287 width="352"
288 height="288"
289 frameRate="30" />
290
291 <!-- audio setting is ignored -->
292 <Audio codec="amrnb"
293 bitRate="12200"
294 sampleRate="8000"
295 channels="1" />
296 </EncoderProfile>
297
298
299 <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
300 <Video codec="h264"
301 bitRate="512000"
302 width="320"
303 height="240"
304 frameRate="30" />
305
306 <!-- audio setting is ignored -->
307 <Audio codec="amrnb"
308 bitRate="12200"
309 sampleRate="8000"
310 channels="1" />
311 </EncoderProfile>
312
313 <EncoderProfile quality="timelapsewqvga" fileFormat="mp4" duration="30">
314 <Video codec="h264"
315 bitRate="720000"
316 width="432"
317 height="240"
318 frameRate="30" />
319
320 <!-- audio setting is ignored -->
321 <Audio codec="amrnb"
322 bitRate="12200"
323 sampleRate="8000"
324 channels="1" />
325 </EncoderProfile>
326
327 <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
328 <Video codec="h264"
329 bitRate="2000000"
330 width="640"
331 height="480"
332 frameRate="30" />
333
334 <!-- audio setting is ignored -->
335 <Audio codec="amrnb"
336 bitRate="12200"
337 sampleRate="8000"
338 channels="1" />
339 </EncoderProfile>
340
341 <EncoderProfile quality="timelapsewvga" fileFormat="mp4" duration="30">
342 <Video codec="h264"
343 bitRate="2000000"
344 width="800"
345 height="480"
346 frameRate="30" />
347
348 <!-- audio setting is ignored -->
349 <Audio codec="amrnb"
350 bitRate="12200"
351 sampleRate="8000"
352 channels="1" />
353 </EncoderProfile>
354
355 <EncoderProfile quality="timelapsefwvga" fileFormat="mp4" duration="30">
356 <Video codec="h264"
357 bitRate="2000000"
358 width="864"
359 height="480"
360 frameRate="30" />
361
362 <!-- audio setting is ignored -->
363 <Audio codec="amrnb"
364 bitRate="12200"
365 sampleRate="8000"
366 channels="1" />
367 </EncoderProfile>
368
369 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
370 <Video codec="h264"
371 bitRate="2000000"
372 width="640"
373 height="480"
374 frameRate="30" />
375
376 <!-- audio setting is ignored -->
377 <Audio codec="aac"
378 bitRate="156000"
379 sampleRate="48000"
380 channels="2" />
381 </EncoderProfile>
382
383 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
384 <Video codec="h264"
385 bitRate="14000000"
386 width="1280"
387 height="720"
388 frameRate="30" />
389
390 <!-- audio setting is ignored -->
391 <Audio codec="aac"
392 bitRate="156000"
393 sampleRate="48000"
394 channels="2" />
395 </EncoderProfile>
396
397 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
398 <Video codec="h264"
399 bitRate="20000000"
400 width="1920"
401 height="1080"
402 frameRate="30" />
403
404 <!-- audio setting is ignored -->
405 <Audio codec="aac"
406 bitRate="156000"
407 sampleRate="48000"
408 channels="2" />
409 </EncoderProfile>
410
411 <ImageEncoding quality="95" />
412 <ImageEncoding quality="80" />
413 <ImageEncoding quality="70" />
414 <ImageDecoding memCap="20000000" />
415
416 </CamcorderProfiles>
417 <!-- Front Camera -->
418 <CamcorderProfiles cameraId="1" startOffsetMs="300">
419
420 <EncoderProfile quality="low" fileFormat="3gp" duration="30">
421 <Video codec="h264"
422 bitRate="192000"
423 width="176"
424 height="144"
425 frameRate="30" />
426
427 <Audio codec="amrnb"
428 bitRate="12200"
429 sampleRate="8000"
430 channels="1" />
431 </EncoderProfile>
432
433 <EncoderProfile quality="high" fileFormat="mp4" duration="30">
434 <Video codec="h264"
435 bitRate="20000000"
436 width="1920"
437 height="1080"
438 frameRate="30" />
439
440 <Audio codec="aac"
441 bitRate="156000"
442 sampleRate="48000"
443 channels="2" />
444 </EncoderProfile>
445
446 <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
447 <Video codec="h264"
448 bitRate="512000"
449 width="320"
450 height="240"
451 frameRate="30" />
452
453 <Audio codec="aac"
454 bitRate="156000"
455 sampleRate="48000"
456 channels="2" />
457 </EncoderProfile>
458
459 <EncoderProfile quality="cif" fileFormat="3gp" duration="30">
460 <Video codec="h264"
461 bitRate="720000"
462 width="352"
463 height="288"
464 frameRate="30" />
465
466 <Audio codec="amrnb"
467 bitRate="12200"
468 sampleRate="8000"
469 channels="1" />
470 </EncoderProfile>
471
472 <EncoderProfile quality="fwvga" fileFormat="mp4" duration="30">
473 <Video codec="h264"
474 bitRate="2000000"
475 width="864"
476 height="480"
477 frameRate="30" />
478
479 <!-- audio setting is ignored -->
480 <Audio codec="amrnb"
481 bitRate="12200"
482 sampleRate="8000"
483 channels="1" />
484 </EncoderProfile>
485
486 <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
487 <Video codec="h264"
488 bitRate="2000000"
489 width="720"
490 height="480"
491 frameRate="30" />
492
493 <Audio codec="aac"
494 bitRate="156000"
495 sampleRate="48000"
496 channels="2" />
497 </EncoderProfile>
498
499 <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
500 <Video codec="h264"
501 bitRate="14000000"
502 width="1280"
503 height="720"
504 frameRate="30" />
505
506 <Audio codec="aac"
507 bitRate="156000"
508 sampleRate="48000"
509 channels="2" />
510 </EncoderProfile>
511
512 <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
513 <Video codec="h264"
514 bitRate="20000000"
515 width="1920"
516 height="1080"
517 frameRate="30" />
518
519 <Audio codec="aac"
520 bitRate="156000"
521 sampleRate="48000"
522 channels="2" />
523 </EncoderProfile>
524
525 <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
526 <Video codec="h264"
527 bitRate="192000"
528 width="176"
529 height="144"
530 frameRate="30" />
531
532 <Audio codec="amrnb"
533 bitRate="12200"
534 sampleRate="8000"
535 channels="1" />
536 </EncoderProfile>
537
538 <EncoderProfile quality="wvga" fileFormat="mp4" duration="30">
539 <Video codec="h264"
540 bitRate="2000000"
541 width="800"
542 height="480"
543 frameRate="30" />
544
545 <Audio codec="aac"
546 bitRate="156000"
547 sampleRate="48000"
548 channels="2" />
549 </EncoderProfile>
550
551 <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
552 <Video codec="h264"
553 bitRate="2000000"
554 width="640"
555 height="480"
556 frameRate="30" />
557
558 <Audio codec="aac"
559 bitRate="156000"
560 sampleRate="48000"
561 channels="2" />
562 </EncoderProfile>
563
564 <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
565 <Video codec="h264"
566 bitRate="192000"
567 width="176"
568 height="144"
569 frameRate="30" />
570
571 <!-- audio setting is ignored -->
572 <Audio codec="amrnb"
573 bitRate="12200"
574 sampleRate="8000"
575 channels="1" />
576 </EncoderProfile>
577
578 <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
579 <Video codec="h264"
580 bitRate="20000000"
581 width="1920"
582 height="1080"
583 frameRate="30" />
584
585 <!-- audio setting is ignored -->
586 <Audio codec="aac"
587 bitRate="156000"
588 sampleRate="48000"
589 channels="2" />
590 </EncoderProfile>
591
592 <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
593 <Video codec="h264"
594 bitRate="192000"
595 width="176"
596 height="144"
597 frameRate="30" />
598
599 <!-- audio setting is ignored -->
600 <Audio codec="amrnb"
601 bitRate="12200"
602 sampleRate="8000"
603 channels="1" />
604 </EncoderProfile>
605
606 <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
607 <Video codec="h264"
608 bitRate="1200000"
609 width="352"
610 height="288"
611 frameRate="30" />
612
613 <!-- audio setting is ignored -->
614 <Audio codec="aac"
615 bitRate="96000"
616 sampleRate="48000"
617 channels="1" />
618 </EncoderProfile>
619
620 <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
621 <Video codec="h264"
622 bitRate="512000"
623 width="320"
624 height="240"
625 frameRate="30" />
626
627 <!-- audio setting is ignored -->
628 <Audio codec="amrnb"
629 bitRate="12200"
630 sampleRate="8000"
631 channels="1" />
632 </EncoderProfile>
633
634 <EncoderProfile quality="timelapsewqvga" fileFormat="mp4" duration="30">
635 <Video codec="h264"
636 bitRate="720000"
637 width="432"
638 height="240"
639 frameRate="30" />
640
641 <!-- audio setting is ignored -->
642 <Audio codec="amrnb"
643 bitRate="12200"
644 sampleRate="8000"
645 channels="1" />
646 </EncoderProfile>
647
648 <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
649 <Video codec="h264"
650 bitRate="2000000"
651 width="640"
652 height="480"
653 frameRate="30" />
654
655 <!-- audio setting is ignored -->
656 <Audio codec="amrnb"
657 bitRate="12200"
658 sampleRate="8000"
659 channels="1" />
660 </EncoderProfile>
661
662 <EncoderProfile quality="timelapsewvga" fileFormat="mp4" duration="30">
663 <Video codec="h264"
664 bitRate="2000000"
665 width="800"
666 height="480"
667 frameRate="30" />
668
669 <!-- audio setting is ignored -->
670 <Audio codec="amrnb"
671 bitRate="12200"
672 sampleRate="8000"
673 channels="1" />
674 </EncoderProfile>
675
676 <EncoderProfile quality="timelapsefwvga" fileFormat="mp4" duration="30">
677 <Video codec="h264"
678 bitRate="2000000"
679 width="864"
680 height="480"
681 frameRate="30" />
682
683 <!-- audio setting is ignored -->
684 <Audio codec="amrnb"
685 bitRate="12200"
686 sampleRate="8000"
687 channels="1" />
688 </EncoderProfile>
689
690 <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
691 <Video codec="h264"
692 bitRate="5000000"
693 width="720"
694 height="480"
695 frameRate="30" />
696
697 <!-- audio setting is ignored -->
698 <Audio codec="aac"
699 bitRate="96000"
700 sampleRate="48000"
701 channels="1" />
702 </EncoderProfile>
703
704 <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
705 <Video codec="h264"
706 bitRate="8000000"
707 width="1280"
708 height="720"
709 frameRate="30" />
710
711 <!-- audio setting is ignored -->
712 <Audio codec="aac"
713 bitRate="96000"
714 sampleRate="48000"
715 channels="1" />
716 </EncoderProfile>
717
718 <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
719 <Video codec="h264"
720 bitRate="20000000"
721 width="1920"
722 height="1080"
723 frameRate="30" />
724
725 <!-- audio setting is ignored -->
726 <Audio codec="aac"
727 bitRate="156000"
728 sampleRate="48000"
729 channels="2" />
730 </EncoderProfile>
731
732 <ImageEncoding quality="95" />
733 <ImageEncoding quality="80" />
734 <ImageEncoding quality="70" />
735 <ImageDecoding memCap="20000000" />
736
737 </CamcorderProfiles>
738
739 <EncoderOutputFileFormat name="3gp" />
740 <EncoderOutputFileFormat name="mp4" />
741
742 <!--
743 If a codec is not enabled, it is invisible to the applications
744 In other words, the applications won't be able to use the codec
745 or query the capabilities of the codec at all if it is disabled
746 -->
747 <VideoEncoderCap name="h264" enabled="true"
748 minBitRate="64000" maxBitRate="20000000"
749 minFrameWidth="176" maxFrameWidth="1920"
750 minFrameHeight="144" maxFrameHeight="1088"
751 minFrameRate="15" maxFrameRate="30"
752 maxHFRFrameWidth="1280" maxHFRFrameHeight="720"
753 maxHFRMode="60" />
754
755 <VideoEncoderCap name="h263" enabled="true"
756 minBitRate="64000" maxBitRate="2000000"
757 minFrameWidth="176" maxFrameWidth="800"
758 minFrameHeight="144" maxFrameHeight="480"
759 minFrameRate="15" maxFrameRate="30"
760 maxHFRFrameWidth="0" maxHFRFrameHeight="0"
761 maxHFRMode="0" />
762
763 <VideoEncoderCap name="m4v" enabled="true"
764 minBitRate="64000" maxBitRate="20000000"
765 minFrameWidth="176" maxFrameWidth="1920"
766 minFrameHeight="144" maxFrameHeight="1088"
767 minFrameRate="15" maxFrameRate="30"
768 maxHFRFrameWidth="0" maxHFRFrameHeight="0"
769 maxHFRMode="0" />
770
771 <AudioEncoderCap name="aac" enabled="true"
772 minBitRate="8000" maxBitRate="96000"
773 minSampleRate="8000" maxSampleRate="48000"
774 minChannels="1" maxChannels="6" />
775
776 <AudioEncoderCap name="heaac" enabled="true"
777 minBitRate="8000" maxBitRate="64000"
778 minSampleRate="16000" maxSampleRate="48000"
779 minChannels="1" maxChannels="1" />
780
781 <AudioEncoderCap name="aaceld" enabled="true"
782 minBitRate="16000" maxBitRate="192000"
783 minSampleRate="16000" maxSampleRate="48000"
784 minChannels="1" maxChannels="1" />
785
786 <AudioEncoderCap name="amrwb" enabled="true"
787 minBitRate="6600" maxBitRate="23850"
788 minSampleRate="16000" maxSampleRate="16000"
789 minChannels="1" maxChannels="1" />
790
791 <AudioEncoderCap name="amrnb" enabled="true"
792 minBitRate="5525" maxBitRate="12200"
793 minSampleRate="8000" maxSampleRate="8000"
794 minChannels="1" maxChannels="1" />
795
796 <AudioEncoderCap name="lpcm" enabled="true"
797 minBitRate="768000" maxBitRate="4608000"
798 minSampleRate="48000" maxSampleRate="48000"
799 minChannels="1" maxChannels="6" />
800
801 <!--
802 FIXME:
803 We do not check decoder capabilities at present
804 At present, we only check whether windows media is visible
805 for TEST applications. For other applications, we do
806 not perform any checks at all.
807 -->
808 <VideoDecoderCap name="wmv" enabled="true"/>
809 <AudioDecoderCap name="wma" enabled="true"/>
810
811 <!--
812 The VideoEditor Capability configuration:
813 - maxInputFrameWidth: maximum video width of imported video clip.
814 - maxInputFrameHeight: maximum video height of imported video clip.
815 - maxOutputFrameWidth: maximum video width of exported video clip.
816 - maxOutputFrameHeight: maximum video height of exported video clip.
817 - maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
818 used to limit the amount of memory for prefetched YUV frames.
819 For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
820 frames) memory.
821 -->
822 <VideoEditorCap maxInputFrameWidth="1280"
823 maxInputFrameHeight="720" maxOutputFrameWidth="1280"
824 maxOutputFrameHeight="720" maxPrefetchYUVFrames="10"/>
825 <!--
826 The VideoEditor Export codec profile and level values
827 correspond to the values in OMX_Video.h.
828 E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
829 and level 4096 means OMX_VIDEO_AVCLevel41.
830 Please note that the values are in decimal.
831 These values are for video encoder.
832 -->
833 <!--
834 Codec = h.264, Baseline profile, level 4.0
835 -->
836 <ExportVideoProfile name="h264" profile= "1" level="2048"/>
837 <!--
838 Codec = h.263, Baseline profile, level 70
839 -->
840 <ExportVideoProfile name="h263" profile= "1" level="128"/>
841 <!--
842 Codec = mpeg4, Simple profile, level 5
843 -->
844 <ExportVideoProfile name="m4v" profile= "1" level="128"/>
845</MediaSettings>