1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
3     Not a contribution.
4     Copyright (C) 2010 The Android Open Source Project
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|2|3) #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 (hevc|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">
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="42000000"
114             width="3840"
115             height="2160"
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="480p" fileFormat="mp4" duration="30">
151      <Video codec="h264"
152             bitRate="2000000"
153             width="720"
154             height="480"
155             frameRate="30" />
156
157      <Audio codec="aac"
158             bitRate="156000"
159             sampleRate="48000"
160             channels="2" />
161    </EncoderProfile>
162
163    <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
164      <Video codec="h264"
165             bitRate="14000000"
166             width="1280"
167             height="720"
168             frameRate="30" />
169
170      <Audio codec="aac"
171             bitRate="156000"
172             sampleRate="48000"
173             channels="2" />
174    </EncoderProfile>
175
176    <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
177      <Video codec="h264"
178             bitRate="20000000"
179             width="1920"
180             height="1080"
181             frameRate="30" />
182
183      <Audio codec="aac"
184             bitRate="156000"
185             sampleRate="48000"
186             channels="2" />
187    </EncoderProfile>
188
189    <EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
190      <Video codec="h264"
191             bitRate="42000000"
192             width="2560"
193             height="1440"
194             frameRate="30" />
195
196      <Audio codec="aac"
197             bitRate="156000"
198             sampleRate="48000"
199             channels="2" />
200    </EncoderProfile>
201
202    <EncoderProfile quality="2k" fileFormat="mp4" duration="30">
203      <Video codec="h264"
204             bitRate="20000000"
205             width="2048"
206             height="1080"
207             frameRate="30" />
208
209      <Audio codec="aac"
210             bitRate="156000"
211             sampleRate="48000"
212             channels="2" />
213    </EncoderProfile>
214
215    <EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
216      <Video codec="h264"
217            bitRate="42000000"
218            width="4096"
219            height="2160"
220            frameRate="24" />
221
222      <Audio codec="aac"
223            bitRate="156000"
224            sampleRate="48000"
225            channels="2" />
226    </EncoderProfile>
227
228    <EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
229      <Video codec="h264"
230            bitRate="42000000"
231            width="3840"
232            height="2160"
233            frameRate="30" />
234
235      <Audio codec="aac"
236            bitRate="156000"
237            sampleRate="48000"
238            channels="2" />
239    </EncoderProfile>
240
241    <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
242      <Video codec="h264"
243             bitRate="192000"
244             width="176"
245             height="144"
246             frameRate="30" />
247
248      <Audio codec="amrnb"
249             bitRate="12200"
250             sampleRate="8000"
251             channels="1" />
252    </EncoderProfile>
253
254    <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
255      <Video codec="h264"
256             bitRate="2000000"
257             width="640"
258             height="480"
259             frameRate="30" />
260
261      <Audio codec="aac"
262             bitRate="156000"
263             sampleRate="48000"
264             channels="2" />
265    </EncoderProfile>
266
267    <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
268      <Video codec="h264"
269             bitRate="192000"
270             width="176"
271             height="144"
272             frameRate="30" />
273
274      <!-- audio setting is ignored -->
275      <Audio codec="amrnb"
276             bitRate="12200"
277             sampleRate="8000"
278             channels="1" />
279    </EncoderProfile>
280
281    <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
282      <Video codec="h264"
283             bitRate="42000000"
284             width="3840"
285             height="2160"
286             frameRate="30" />
287
288      <!-- audio setting is ignored -->
289      <Audio codec="aac"
290             bitRate="156000"
291             sampleRate="48000"
292             channels="2" />
293    </EncoderProfile>
294
295    <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
296      <Video codec="h264"
297             bitRate="192000"
298             width="176"
299             height="144"
300             frameRate="30" />
301
302      <!-- audio setting is ignored -->
303      <Audio codec="amrnb"
304             bitRate="12200"
305             sampleRate="8000"
306             channels="1" />
307    </EncoderProfile>
308
309    <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
310      <Video codec="h264"
311             bitRate="720000"
312             width="352"
313             height="288"
314             frameRate="30" />
315
316      <!-- audio setting is ignored -->
317      <Audio codec="amrnb"
318             bitRate="12200"
319             sampleRate="8000"
320             channels="1" />
321    </EncoderProfile>
322
323
324    <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
325      <Video codec="h264"
326             bitRate="512000"
327             width="320"
328             height="240"
329             frameRate="30" />
330
331      <!-- audio setting is ignored -->
332      <Audio codec="amrnb"
333             bitRate="12200"
334             sampleRate="8000"
335             channels="1" />
336    </EncoderProfile>
337
338    <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
339      <Video codec="h264"
340             bitRate="2000000"
341             width="640"
342             height="480"
343             frameRate="30" />
344
345      <!-- audio setting is ignored -->
346      <Audio codec="amrnb"
347             bitRate="12200"
348             sampleRate="8000"
349             channels="1" />
350    </EncoderProfile>
351
352    <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
353      <Video codec="h264"
354             bitRate="2000000"
355             width="640"
356             height="480"
357             frameRate="30" />
358
359      <!-- audio setting is ignored -->
360      <Audio codec="aac"
361             bitRate="156000"
362             sampleRate="48000"
363             channels="2" />
364    </EncoderProfile>
365
366    <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
367      <Video codec="h264"
368             bitRate="14000000"
369             width="1280"
370             height="720"
371             frameRate="30" />
372
373      <!-- audio setting is ignored -->
374      <Audio codec="aac"
375             bitRate="156000"
376             sampleRate="48000"
377             channels="2" />
378    </EncoderProfile>
379
380    <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
381      <Video codec="h264"
382             bitRate="20000000"
383             width="1920"
384             height="1080"
385             frameRate="30" />
386
387      <!-- audio setting is ignored -->
388      <Audio codec="aac"
389             bitRate="156000"
390             sampleRate="48000"
391             channels="2" />
392    </EncoderProfile>
393
394    <EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
395      <Video codec="h264"
396             bitRate="42000000"
397             width="2560"
398             height="1440"
399             frameRate="30" />
400
401      <!-- audio setting is ignored -->
402      <Audio codec="aac"
403             bitRate="156000"
404             sampleRate="48000"
405             channels="2" />
406    </EncoderProfile>
407
408    <EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
409      <Video codec="h264"
410             bitRate="20000000"
411             width="2048"
412             height="1080"
413             frameRate="30" />
414
415      <!-- audio setting is ignored -->
416      <Audio codec="aac"
417             bitRate="156000"
418             sampleRate="48000"
419             channels="2" />
420    </EncoderProfile>
421
422    <EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
423      <Video codec="h264"
424            bitRate="42000000"
425            width="4096"
426            height="2160"
427            frameRate="30" />
428
429      <Audio codec="aac"
430            bitRate="156000"
431            sampleRate="48000"
432            channels="2" />
433    </EncoderProfile>
434
435    <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
436      <Video codec="h264"
437            bitRate="42000000"
438            width="3840"
439            height="2160"
440            frameRate="30" />
441
442      <Audio codec="aac"
443            bitRate="156000"
444            sampleRate="48000"
445            channels="2" />
446    </EncoderProfile>
447
448        <ImageEncoding quality="95" />
449        <ImageEncoding quality="80" />
450        <ImageEncoding quality="70" />
451        <ImageDecoding memCap="20000000" />
452
453    </CamcorderProfiles>
454    <!-- Front Camera -->
455    <CamcorderProfiles cameraId="1">
456
457    <EncoderProfile quality="low" fileFormat="3gp" duration="30">
458      <Video codec="h264"
459             bitRate="192000"
460             width="176"
461             height="144"
462             frameRate="30" />
463
464      <Audio codec="amrnb"
465             bitRate="12200"
466             sampleRate="8000"
467             channels="1" />
468    </EncoderProfile>
469
470    <EncoderProfile quality="high" fileFormat="mp4" duration="30">
471      <Video codec="h264"
472             bitRate="20000000"
473             width="1920"
474             height="1080"
475             frameRate="30" />
476
477      <Audio codec="aac"
478             bitRate="156000"
479             sampleRate="48000"
480             channels="2" />
481    </EncoderProfile>
482
483    <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
484      <Video codec="h264"
485             bitRate="512000"
486             width="320"
487             height="240"
488             frameRate="30" />
489
490      <Audio codec="aac"
491             bitRate="156000"
492             sampleRate="48000"
493             channels="2" />
494    </EncoderProfile>
495
496    <EncoderProfile quality="cif" fileFormat="3gp" duration="30">
497      <Video codec="h264"
498             bitRate="720000"
499             width="352"
500             height="288"
501             frameRate="30" />
502
503      <Audio codec="amrnb"
504             bitRate="12200"
505             sampleRate="8000"
506             channels="1" />
507    </EncoderProfile>
508
509    <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
510      <Video codec="h264"
511             bitRate="2000000"
512             width="720"
513             height="480"
514             frameRate="30" />
515
516      <Audio codec="aac"
517             bitRate="156000"
518             sampleRate="48000"
519             channels="2" />
520    </EncoderProfile>
521
522    <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
523      <Video codec="h264"
524             bitRate="14000000"
525             width="1280"
526             height="720"
527             frameRate="30" />
528
529      <Audio codec="aac"
530             bitRate="156000"
531             sampleRate="48000"
532             channels="2" />
533    </EncoderProfile>
534
535    <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
536      <Video codec="h264"
537             bitRate="20000000"
538             width="1920"
539             height="1080"
540             frameRate="30" />
541
542      <Audio codec="aac"
543             bitRate="156000"
544             sampleRate="48000"
545             channels="2" />
546    </EncoderProfile>
547
548    <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
549      <Video codec="h264"
550             bitRate="192000"
551             width="176"
552             height="144"
553             frameRate="30" />
554
555      <Audio codec="amrnb"
556             bitRate="12200"
557             sampleRate="8000"
558             channels="1" />
559    </EncoderProfile>
560
561     <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
562      <Video codec="h264"
563             bitRate="2000000"
564             width="640"
565             height="480"
566             frameRate="30" />
567
568      <Audio codec="aac"
569             bitRate="156000"
570             sampleRate="48000"
571             channels="2" />
572    </EncoderProfile>
573
574    <!-- TIMELAPSE profiles for front camera -->
575    <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
576      <Video codec="h264"
577             bitRate="192000"
578             width="176"
579             height="144"
580             frameRate="30" />
581
582      <!-- audio setting is ignored -->
583      <Audio codec="amrnb"
584             bitRate="12200"
585             sampleRate="8000"
586             channels="1" />
587    </EncoderProfile>
588
589    <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
590      <Video codec="h264"
591             bitRate="20000000"
592             width="1920"
593             height="1080"
594             frameRate="30" />
595
596      <!-- audio setting is ignored -->
597      <Audio codec="aac"
598             bitRate="156000"
599             sampleRate="48000"
600             channels="2" />
601    </EncoderProfile>
602
603    <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
604      <Video codec="h264"
605             bitRate="192000"
606             width="176"
607             height="144"
608             frameRate="30" />
609
610      <!-- audio setting is ignored -->
611      <Audio codec="amrnb"
612             bitRate="12200"
613             sampleRate="8000"
614             channels="1" />
615    </EncoderProfile>
616
617    <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
618      <Video codec="h264"
619             bitRate="1200000"
620             width="352"
621             height="288"
622             frameRate="30" />
623
624      <!-- audio setting is ignored -->
625      <Audio codec="aac"
626             bitRate="96000"
627             sampleRate="48000"
628             channels="1" />
629    </EncoderProfile>
630
631    <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
632      <Video codec="h264"
633             bitRate="512000"
634             width="320"
635             height="240"
636             frameRate="30" />
637
638      <!-- audio setting is ignored -->
639      <Audio codec="amrnb"
640             bitRate="12200"
641             sampleRate="8000"
642             channels="1" />
643    </EncoderProfile>
644
645    <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
646      <Video codec="h264"
647             bitRate="2000000"
648             width="640"
649             height="480"
650             frameRate="30" />
651
652      <!-- audio setting is ignored -->
653      <Audio codec="amrnb"
654             bitRate="12200"
655             sampleRate="8000"
656             channels="1" />
657    </EncoderProfile>
658
659    <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
660      <Video codec="h264"
661             bitRate="5000000"
662             width="720"
663             height="480"
664             frameRate="30" />
665
666      <!-- audio setting is ignored -->
667      <Audio codec="aac"
668             bitRate="96000"
669             sampleRate="48000"
670             channels="1" />
671    </EncoderProfile>
672
673    <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
674      <Video codec="h264"
675             bitRate="8000000"
676             width="1280"
677             height="720"
678             frameRate="30" />
679
680      <!-- audio setting is ignored -->
681      <Audio codec="aac"
682             bitRate="96000"
683             sampleRate="48000"
684             channels="1" />
685    </EncoderProfile>
686
687    <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
688      <Video codec="h264"
689             bitRate="20000000"
690             width="1920"
691             height="1080"
692             frameRate="30" />
693
694      <!-- audio setting is ignored -->
695      <Audio codec="aac"
696             bitRate="156000"
697             sampleRate="48000"
698             channels="2" />
699    </EncoderProfile>
700
701        <ImageEncoding quality="95" />
702        <ImageEncoding quality="80" />
703        <ImageEncoding quality="70" />
704        <ImageDecoding memCap="20000000" />
705
706    </CamcorderProfiles>
707    <!-- Camera ID 2 -->
708    <CamcorderProfiles cameraId="2">
709
710    <EncoderProfile quality="low" fileFormat="3gp" duration="30">
711      <Video codec="h264"
712             bitRate="192000"
713             width="176"
714             height="144"
715             frameRate="30" />
716
717      <Audio codec="amrnb"
718             bitRate="12200"
719             sampleRate="8000"
720             channels="1" />
721    </EncoderProfile>
722
723    <EncoderProfile quality="high" fileFormat="mp4" duration="30">
724      <Video codec="h264"
725             bitRate="42000000"
726             width="3840"
727             height="2160"
728             frameRate="30" />
729
730      <Audio codec="aac"
731             bitRate="156000"
732             sampleRate="48000"
733             channels="2" />
734    </EncoderProfile>
735
736    <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
737      <Video codec="h264"
738             bitRate="512000"
739             width="320"
740             height="240"
741             frameRate="30" />
742
743      <Audio codec="aac"
744             bitRate="156000"
745             sampleRate="48000"
746             channels="2" />
747    </EncoderProfile>
748
749    <EncoderProfile quality="cif" fileFormat="3gp" duration="30">
750      <Video codec="h264"
751             bitRate="720000"
752             width="352"
753             height="288"
754             frameRate="30" />
755
756      <Audio codec="amrnb"
757             bitRate="12200"
758             sampleRate="8000"
759             channels="1" />
760    </EncoderProfile>
761
762    <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
763      <Video codec="h264"
764             bitRate="2000000"
765             width="720"
766             height="480"
767             frameRate="30" />
768
769      <Audio codec="aac"
770             bitRate="156000"
771             sampleRate="48000"
772             channels="2" />
773    </EncoderProfile>
774
775    <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
776      <Video codec="h264"
777             bitRate="14000000"
778             width="1280"
779             height="720"
780             frameRate="30" />
781
782      <Audio codec="aac"
783             bitRate="156000"
784             sampleRate="48000"
785             channels="2" />
786    </EncoderProfile>
787
788    <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
789      <Video codec="h264"
790             bitRate="20000000"
791             width="1920"
792             height="1080"
793             frameRate="30" />
794
795      <Audio codec="aac"
796             bitRate="156000"
797             sampleRate="48000"
798             channels="2" />
799    </EncoderProfile>
800
801    <EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
802      <Video codec="h264"
803             bitRate="42000000"
804             width="2560"
805             height="1440"
806             frameRate="30" />
807
808      <Audio codec="aac"
809             bitRate="156000"
810             sampleRate="48000"
811             channels="2" />
812    </EncoderProfile>
813
814    <EncoderProfile quality="2k" fileFormat="mp4" duration="30">
815      <Video codec="h264"
816             bitRate="20000000"
817             width="2048"
818             height="1080"
819             frameRate="30" />
820
821      <Audio codec="aac"
822             bitRate="156000"
823             sampleRate="48000"
824             channels="2" />
825    </EncoderProfile>
826
827    <EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
828      <Video codec="h264"
829            bitRate="42000000"
830            width="4096"
831            height="2160"
832            frameRate="24" />
833
834      <Audio codec="aac"
835            bitRate="156000"
836            sampleRate="48000"
837            channels="2" />
838    </EncoderProfile>
839
840    <EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
841      <Video codec="h264"
842            bitRate="42000000"
843            width="3840"
844            height="2160"
845            frameRate="30" />
846
847      <Audio codec="aac"
848            bitRate="156000"
849            sampleRate="48000"
850            channels="2" />
851    </EncoderProfile>
852
853    <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
854      <Video codec="h264"
855             bitRate="192000"
856             width="176"
857             height="144"
858             frameRate="30" />
859
860      <Audio codec="amrnb"
861             bitRate="12200"
862             sampleRate="8000"
863             channels="1" />
864    </EncoderProfile>
865
866    <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
867      <Video codec="h264"
868             bitRate="2000000"
869             width="640"
870             height="480"
871             frameRate="30" />
872
873      <Audio codec="aac"
874             bitRate="156000"
875             sampleRate="48000"
876             channels="2" />
877    </EncoderProfile>
878
879    <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
880      <Video codec="h264"
881             bitRate="192000"
882             width="176"
883             height="144"
884             frameRate="30" />
885
886      <!-- audio setting is ignored -->
887      <Audio codec="amrnb"
888             bitRate="12200"
889             sampleRate="8000"
890             channels="1" />
891    </EncoderProfile>
892
893    <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
894      <Video codec="h264"
895             bitRate="42000000"
896             width="3840"
897             height="2160"
898             frameRate="30" />
899
900      <!-- audio setting is ignored -->
901      <Audio codec="aac"
902             bitRate="156000"
903             sampleRate="48000"
904             channels="2" />
905    </EncoderProfile>
906
907    <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
908      <Video codec="h264"
909             bitRate="192000"
910             width="176"
911             height="144"
912             frameRate="30" />
913
914      <!-- audio setting is ignored -->
915      <Audio codec="amrnb"
916             bitRate="12200"
917             sampleRate="8000"
918             channels="1" />
919    </EncoderProfile>
920
921    <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
922      <Video codec="h264"
923             bitRate="720000"
924             width="352"
925             height="288"
926             frameRate="30" />
927
928      <!-- audio setting is ignored -->
929      <Audio codec="amrnb"
930             bitRate="12200"
931             sampleRate="8000"
932             channels="1" />
933    </EncoderProfile>
934
935
936    <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
937      <Video codec="h264"
938             bitRate="512000"
939             width="320"
940             height="240"
941             frameRate="30" />
942
943      <!-- audio setting is ignored -->
944      <Audio codec="amrnb"
945             bitRate="12200"
946             sampleRate="8000"
947             channels="1" />
948    </EncoderProfile>
949
950    <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
951      <Video codec="h264"
952             bitRate="2000000"
953             width="640"
954             height="480"
955             frameRate="30" />
956
957      <!-- audio setting is ignored -->
958      <Audio codec="amrnb"
959             bitRate="12200"
960             sampleRate="8000"
961             channels="1" />
962    </EncoderProfile>
963
964    <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
965      <Video codec="h264"
966             bitRate="2000000"
967             width="640"
968             height="480"
969             frameRate="30" />
970
971      <!-- audio setting is ignored -->
972      <Audio codec="aac"
973             bitRate="156000"
974             sampleRate="48000"
975             channels="2" />
976    </EncoderProfile>
977
978    <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
979      <Video codec="h264"
980             bitRate="14000000"
981             width="1280"
982             height="720"
983             frameRate="30" />
984
985      <!-- audio setting is ignored -->
986      <Audio codec="aac"
987             bitRate="156000"
988             sampleRate="48000"
989             channels="2" />
990    </EncoderProfile>
991
992    <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
993      <Video codec="h264"
994             bitRate="20000000"
995             width="1920"
996             height="1080"
997             frameRate="30" />
998
999      <!-- audio setting is ignored -->
1000      <Audio codec="aac"
1001             bitRate="156000"
1002             sampleRate="48000"
1003             channels="2" />
1004    </EncoderProfile>
1005
1006    <EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
1007      <Video codec="h264"
1008             bitRate="42000000"
1009             width="2560"
1010             height="1440"
1011             frameRate="30" />
1012
1013      <!-- audio setting is ignored -->
1014      <Audio codec="aac"
1015             bitRate="156000"
1016             sampleRate="48000"
1017             channels="2" />
1018    </EncoderProfile>
1019
1020    <EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
1021      <Video codec="h264"
1022             bitRate="20000000"
1023             width="2048"
1024             height="1080"
1025             frameRate="30" />
1026
1027      <!-- audio setting is ignored -->
1028      <Audio codec="aac"
1029             bitRate="156000"
1030             sampleRate="48000"
1031             channels="2" />
1032    </EncoderProfile>
1033
1034    <EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
1035      <Video codec="h264"
1036            bitRate="42000000"
1037            width="4096"
1038            height="2160"
1039            frameRate="30" />
1040
1041      <Audio codec="aac"
1042            bitRate="156000"
1043            sampleRate="48000"
1044            channels="2" />
1045    </EncoderProfile>
1046
1047    <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
1048      <Video codec="h264"
1049            bitRate="42000000"
1050            width="3840"
1051            height="2160"
1052            frameRate="30" />
1053
1054      <Audio codec="aac"
1055            bitRate="156000"
1056            sampleRate="48000"
1057            channels="2" />
1058    </EncoderProfile>
1059
1060    <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
1061      <Video codec="h264"
1062             bitRate="42000000"
1063             width="1920"
1064             height="1080"
1065             frameRate="120" />
1066
1067      <!-- audio setting is ignored -->
1068      <Audio codec="aac"
1069             bitRate="96000"
1070             sampleRate="48000"
1071             channels="1" />
1072    </EncoderProfile>
1073
1074    <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
1075      <Video codec="h264"
1076             bitRate="24000000"
1077             width="1280"
1078             height="720"
1079             frameRate="240" />
1080
1081      <!-- audio setting is ignored -->
1082      <Audio codec="aac"
1083             bitRate="96000"
1084             sampleRate="48000"
1085             channels="1" />
1086    </EncoderProfile>
1087
1088    <EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
1089      <Video codec="h264"
1090             bitRate="24000000"
1091             width="1280"
1092             height="720"
1093             frameRate="240" />
1094
1095      <!-- audio setting is ignored -->
1096      <Audio codec="aac"
1097             bitRate="96000"
1098             sampleRate="48000"
1099             channels="1" />
1100    </EncoderProfile>
1101
1102    <EncoderProfile quality="highspeed480p" fileFormat="mp4" duration="30">
1103      <Video codec="h264"
1104             bitRate="12000000"
1105             width="640"
1106             height="480"
1107             frameRate="240" />
1108
1109      <Audio codec="aac"
1110             bitRate="156000"
1111             sampleRate="48000"
1112             channels="2" />
1113    </EncoderProfile>
1114
1115        <ImageEncoding quality="95" />
1116        <ImageEncoding quality="80" />
1117        <ImageEncoding quality="70" />
1118        <ImageDecoding memCap="20000000" />
1119
1120    </CamcorderProfiles>
1121
1122    <CamcorderProfiles cameraId="3">
1123
1124    <EncoderProfile quality="low" fileFormat="3gp" duration="30">
1125      <Video codec="h264"
1126             bitRate="192000"
1127             width="176"
1128             height="144"
1129             frameRate="30" />
1130
1131      <Audio codec="amrnb"
1132             bitRate="12200"
1133             sampleRate="8000"
1134             channels="1" />
1135    </EncoderProfile>
1136
1137    <EncoderProfile quality="high" fileFormat="mp4" duration="30">
1138      <Video codec="h264"
1139             bitRate="42000000"
1140             width="3840"
1141             height="2160"
1142             frameRate="30" />
1143
1144      <Audio codec="aac"
1145             bitRate="156000"
1146             sampleRate="48000"
1147             channels="2" />
1148    </EncoderProfile>
1149
1150    <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
1151      <Video codec="h264"
1152             bitRate="512000"
1153             width="320"
1154             height="240"
1155             frameRate="30" />
1156
1157      <Audio codec="aac"
1158             bitRate="156000"
1159             sampleRate="48000"
1160             channels="2" />
1161    </EncoderProfile>
1162
1163    <EncoderProfile quality="cif" fileFormat="3gp" duration="30">
1164      <Video codec="h264"
1165             bitRate="720000"
1166             width="352"
1167             height="288"
1168             frameRate="30" />
1169
1170      <Audio codec="amrnb"
1171             bitRate="12200"
1172             sampleRate="8000"
1173             channels="1" />
1174    </EncoderProfile>
1175
1176    <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
1177      <Video codec="h264"
1178             bitRate="2000000"
1179             width="720"
1180             height="480"
1181             frameRate="30" />
1182
1183      <Audio codec="aac"
1184             bitRate="156000"
1185             sampleRate="48000"
1186             channels="2" />
1187    </EncoderProfile>
1188
1189    <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
1190      <Video codec="h264"
1191             bitRate="14000000"
1192             width="1280"
1193             height="720"
1194             frameRate="30" />
1195
1196      <Audio codec="aac"
1197             bitRate="156000"
1198             sampleRate="48000"
1199             channels="2" />
1200    </EncoderProfile>
1201
1202    <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
1203      <Video codec="h264"
1204             bitRate="20000000"
1205             width="1920"
1206             height="1080"
1207             frameRate="30" />
1208
1209      <Audio codec="aac"
1210             bitRate="156000"
1211             sampleRate="48000"
1212             channels="2" />
1213    </EncoderProfile>
1214
1215    <EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
1216      <Video codec="h264"
1217             bitRate="42000000"
1218             width="2560"
1219             height="1440"
1220             frameRate="30" />
1221
1222      <Audio codec="aac"
1223             bitRate="156000"
1224             sampleRate="48000"
1225             channels="2" />
1226    </EncoderProfile>
1227
1228    <EncoderProfile quality="2k" fileFormat="mp4" duration="30">
1229      <Video codec="h264"
1230             bitRate="20000000"
1231             width="2048"
1232             height="1080"
1233             frameRate="30" />
1234
1235      <Audio codec="aac"
1236             bitRate="156000"
1237             sampleRate="48000"
1238             channels="2" />
1239    </EncoderProfile>
1240
1241    <EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
1242      <Video codec="h264"
1243            bitRate="42000000"
1244            width="4096"
1245            height="2160"
1246            frameRate="24" />
1247
1248      <Audio codec="aac"
1249            bitRate="156000"
1250            sampleRate="48000"
1251            channels="2" />
1252    </EncoderProfile>
1253
1254    <EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
1255      <Video codec="h264"
1256            bitRate="42000000"
1257            width="3840"
1258            height="2160"
1259            frameRate="30" />
1260
1261      <Audio codec="aac"
1262            bitRate="156000"
1263            sampleRate="48000"
1264            channels="2" />
1265    </EncoderProfile>
1266
1267    <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
1268      <Video codec="h264"
1269             bitRate="192000"
1270             width="176"
1271             height="144"
1272             frameRate="30" />
1273
1274      <Audio codec="amrnb"
1275             bitRate="12200"
1276             sampleRate="8000"
1277             channels="1" />
1278    </EncoderProfile>
1279
1280    <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
1281      <Video codec="h264"
1282             bitRate="2000000"
1283             width="640"
1284             height="480"
1285             frameRate="30" />
1286
1287      <Audio codec="aac"
1288             bitRate="156000"
1289             sampleRate="48000"
1290             channels="2" />
1291    </EncoderProfile>
1292
1293    <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
1294      <Video codec="h264"
1295             bitRate="192000"
1296             width="176"
1297             height="144"
1298             frameRate="30" />
1299
1300      <!-- audio setting is ignored -->
1301      <Audio codec="amrnb"
1302             bitRate="12200"
1303             sampleRate="8000"
1304             channels="1" />
1305    </EncoderProfile>
1306
1307    <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
1308      <Video codec="h264"
1309             bitRate="42000000"
1310             width="3840"
1311             height="2160"
1312             frameRate="30" />
1313
1314      <!-- audio setting is ignored -->
1315      <Audio codec="aac"
1316             bitRate="156000"
1317             sampleRate="48000"
1318             channels="2" />
1319    </EncoderProfile>
1320
1321    <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
1322      <Video codec="h264"
1323             bitRate="192000"
1324             width="176"
1325             height="144"
1326             frameRate="30" />
1327
1328      <!-- audio setting is ignored -->
1329      <Audio codec="amrnb"
1330             bitRate="12200"
1331             sampleRate="8000"
1332             channels="1" />
1333    </EncoderProfile>
1334
1335    <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
1336      <Video codec="h264"
1337             bitRate="720000"
1338             width="352"
1339             height="288"
1340             frameRate="30" />
1341
1342      <!-- audio setting is ignored -->
1343      <Audio codec="amrnb"
1344             bitRate="12200"
1345             sampleRate="8000"
1346             channels="1" />
1347    </EncoderProfile>
1348
1349
1350    <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
1351      <Video codec="h264"
1352             bitRate="512000"
1353             width="320"
1354             height="240"
1355             frameRate="30" />
1356
1357      <!-- audio setting is ignored -->
1358      <Audio codec="amrnb"
1359             bitRate="12200"
1360             sampleRate="8000"
1361             channels="1" />
1362    </EncoderProfile>
1363
1364    <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
1365      <Video codec="h264"
1366             bitRate="2000000"
1367             width="640"
1368             height="480"
1369             frameRate="30" />
1370
1371      <!-- audio setting is ignored -->
1372      <Audio codec="amrnb"
1373             bitRate="12200"
1374             sampleRate="8000"
1375             channels="1" />
1376    </EncoderProfile>
1377
1378    <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
1379      <Video codec="h264"
1380             bitRate="2000000"
1381             width="640"
1382             height="480"
1383             frameRate="30" />
1384
1385      <!-- audio setting is ignored -->
1386      <Audio codec="aac"
1387             bitRate="156000"
1388             sampleRate="48000"
1389             channels="2" />
1390    </EncoderProfile>
1391
1392    <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
1393      <Video codec="h264"
1394             bitRate="14000000"
1395             width="1280"
1396             height="720"
1397             frameRate="30" />
1398
1399      <!-- audio setting is ignored -->
1400      <Audio codec="aac"
1401             bitRate="156000"
1402             sampleRate="48000"
1403             channels="2" />
1404    </EncoderProfile>
1405
1406    <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
1407      <Video codec="h264"
1408             bitRate="20000000"
1409             width="1920"
1410             height="1080"
1411             frameRate="30" />
1412
1413      <!-- audio setting is ignored -->
1414      <Audio codec="aac"
1415             bitRate="156000"
1416             sampleRate="48000"
1417             channels="2" />
1418    </EncoderProfile>
1419
1420    <EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
1421      <Video codec="h264"
1422             bitRate="42000000"
1423             width="2560"
1424             height="1440"
1425             frameRate="30" />
1426
1427      <!-- audio setting is ignored -->
1428      <Audio codec="aac"
1429             bitRate="156000"
1430             sampleRate="48000"
1431             channels="2" />
1432    </EncoderProfile>
1433
1434    <EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
1435      <Video codec="h264"
1436             bitRate="20000000"
1437             width="2048"
1438             height="1080"
1439             frameRate="30" />
1440
1441      <!-- audio setting is ignored -->
1442      <Audio codec="aac"
1443             bitRate="156000"
1444             sampleRate="48000"
1445             channels="2" />
1446    </EncoderProfile>
1447
1448    <EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
1449      <Video codec="h264"
1450            bitRate="42000000"
1451            width="4096"
1452            height="2160"
1453            frameRate="30" />
1454
1455      <Audio codec="aac"
1456            bitRate="156000"
1457            sampleRate="48000"
1458            channels="2" />
1459    </EncoderProfile>
1460
1461    <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
1462      <Video codec="h264"
1463            bitRate="42000000"
1464            width="3840"
1465            height="2160"
1466            frameRate="30" />
1467
1468      <Audio codec="aac"
1469            bitRate="156000"
1470            sampleRate="48000"
1471            channels="2" />
1472    </EncoderProfile>
1473
1474    <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
1475      <Video codec="h264"
1476             bitRate="42000000"
1477             width="1920"
1478             height="1080"
1479             frameRate="120" />
1480
1481      <!-- audio setting is ignored -->
1482      <Audio codec="aac"
1483             bitRate="96000"
1484             sampleRate="48000"
1485             channels="1" />
1486    </EncoderProfile>
1487
1488    <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
1489      <Video codec="h264"
1490             bitRate="24000000"
1491             width="1280"
1492             height="720"
1493             frameRate="240" />
1494
1495      <!-- audio setting is ignored -->
1496      <Audio codec="aac"
1497             bitRate="96000"
1498             sampleRate="48000"
1499             channels="1" />
1500    </EncoderProfile>
1501
1502    <EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
1503      <Video codec="h264"
1504             bitRate="24000000"
1505             width="1280"
1506             height="720"
1507             frameRate="240" />
1508
1509      <!-- audio setting is ignored -->
1510      <Audio codec="aac"
1511             bitRate="96000"
1512             sampleRate="48000"
1513             channels="1" />
1514    </EncoderProfile>
1515
1516    <EncoderProfile quality="highspeed480p" fileFormat="mp4" duration="30">
1517      <Video codec="h264"
1518             bitRate="12000000"
1519             width="640"
1520             height="480"
1521             frameRate="240" />
1522
1523      <Audio codec="aac"
1524             bitRate="156000"
1525             sampleRate="48000"
1526             channels="2" />
1527    </EncoderProfile>
1528
1529        <ImageEncoding quality="95" />
1530        <ImageEncoding quality="80" />
1531        <ImageEncoding quality="70" />
1532        <ImageDecoding memCap="20000000" />
1533
1534    </CamcorderProfiles>
1535
1536    <EncoderOutputFileFormat name="3gp" />
1537    <EncoderOutputFileFormat name="mp4" />
1538
1539    <!--
1540         If a codec is not enabled, it is invisible to the applications
1541         In other words, the applications won't be able to use the codec
1542         or query the capabilities of the codec at all if it is disabled
1543    -->
1544    <VideoEncoderCap name="h264" enabled="true"
1545        minBitRate="64000" maxBitRate="42000000"
1546        minFrameWidth="176" maxFrameWidth="4096"
1547        minFrameHeight="144" maxFrameHeight="2160"
1548        minFrameRate="15" maxFrameRate="30"
1549        maxHFRFrameWidth="1920" maxHFRFrameHeight="1080"
1550        maxHFRMode="120"  />
1551
1552    <VideoEncoderCap name="h263" enabled="true"
1553        minBitRate="64000" maxBitRate="2000000"
1554        minFrameWidth="176" maxFrameWidth="800"
1555        minFrameHeight="144" maxFrameHeight="480"
1556        minFrameRate="15" maxFrameRate="30"
1557        maxHFRFrameWidth="0" maxHFRFrameHeight="0"
1558        maxHFRMode="0"  />
1559
1560    <VideoEncoderCap name="m4v" enabled="true"
1561        minBitRate="64000" maxBitRate="20000000"
1562        minFrameWidth="176" maxFrameWidth="1920"
1563        minFrameHeight="144" maxFrameHeight="1088"
1564        minFrameRate="15" maxFrameRate="30"
1565        maxHFRFrameWidth="0" maxHFRFrameHeight="0"
1566        maxHFRMode="0"  />
1567
1568    <VideoEncoderCap name="hevc" enabled="true"
1569        minBitRate="64000" maxBitRate="100000000"
1570        minFrameWidth="176" maxFrameWidth="4096"
1571        minFrameHeight="144" maxFrameHeight="2160"
1572        minFrameRate="15" maxFrameRate="30"
1573        maxHFRFrameWidth="0" maxHFRFrameHeight="0"
1574        maxHFRMode="0"  />
1575
1576    <AudioEncoderCap name="aac" enabled="true"
1577        minBitRate="8000" maxBitRate="96000"
1578        minSampleRate="8000" maxSampleRate="48000"
1579        minChannels="1" maxChannels="6" />
1580
1581    <AudioEncoderCap name="heaac" enabled="true"
1582        minBitRate="8000" maxBitRate="64000"
1583        minSampleRate="16000" maxSampleRate="48000"
1584        minChannels="1" maxChannels="1" />
1585
1586    <AudioEncoderCap name="aaceld" enabled="true"
1587        minBitRate="16000" maxBitRate="192000"
1588        minSampleRate="16000" maxSampleRate="48000"
1589        minChannels="1" maxChannels="1" />
1590
1591    <AudioEncoderCap name="amrwb" enabled="true"
1592        minBitRate="6600" maxBitRate="23850"
1593        minSampleRate="16000" maxSampleRate="16000"
1594        minChannels="1" maxChannels="1" />
1595
1596    <AudioEncoderCap name="amrnb" enabled="true"
1597        minBitRate="5525" maxBitRate="12200"
1598        minSampleRate="8000" maxSampleRate="8000"
1599        minChannels="1" maxChannels="1" />
1600
1601    <AudioEncoderCap name="lpcm" enabled="true"
1602        minBitRate="768000" maxBitRate="4608000"
1603        minSampleRate="8000" maxSampleRate="48000"
1604        minChannels="1" maxChannels="6" />
1605
1606    <!--
1607        FIXME:
1608        We do not check decoder capabilities at present
1609        At present, we only check whether windows media is visible
1610        for TEST applications. For other applications, we do
1611        not perform any checks at all.
1612    -->
1613    <VideoDecoderCap name="wmv" enabled="true"/>
1614    <AudioDecoderCap name="wma" enabled="true"/>
1615
1616    <!--
1617        The VideoEditor Capability configuration:
1618        - maxInputFrameWidth: maximum video width of imported video clip.
1619        - maxInputFrameHeight: maximum video height of imported video clip.
1620        - maxOutputFrameWidth: maximum video width of exported video clip.
1621        - maxOutputFrameHeight: maximum video height of exported video clip.
1622        - maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
1623        used to limit the amount of memory for prefetched YUV frames.
1624        For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
1625        frames) memory.
1626    -->
1627    <VideoEditorCap  maxInputFrameWidth="1920"
1628        maxInputFrameHeight="1088" maxOutputFrameWidth="1920"
1629        maxOutputFrameHeight="1088" maxPrefetchYUVFrames="10"/>
1630    <!--
1631        The VideoEditor Export codec profile and level values
1632        correspond to the values in OMX_Video.h.
1633        E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
1634        and  level 4096 means OMX_VIDEO_AVCLevel41.
1635        Please note that the values are in decimal.
1636        These values are for video encoder.
1637    -->
1638    <!--
1639      Codec = h.264, Baseline profile, level 4.0
1640    -->
1641    <ExportVideoProfile name="h264" profile= "1" level="2048"/>
1642    <!--
1643      Codec = h.263, Baseline profile, level 70
1644    -->
1645    <ExportVideoProfile name="h263" profile= "1" level="128"/>
1646    <!--
1647      Codec = mpeg4, Simple profile, level 5
1648    -->
1649    <ExportVideoProfile name="m4v" profile= "1" level="128"/>
1650</MediaSettings>
1651