1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3     Copyright (C) 2012-2018, 2021 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 (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="2160p" fileFormat="mp4" duration="30">
190      <Video codec="h264"
191            bitRate="42000000"
192            width="3840"
193            height="2160"
194            frameRate="30" />
195
196      <Audio codec="aac"
197            bitRate="156000"
198            sampleRate="48000"
199            channels="2" />
200    </EncoderProfile>
201
202    <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
203      <Video codec="h264"
204             bitRate="192000"
205             width="176"
206             height="144"
207             frameRate="30" />
208
209      <Audio codec="amrnb"
210             bitRate="12200"
211             sampleRate="8000"
212             channels="1" />
213    </EncoderProfile>
214
215    <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
216      <Video codec="h264"
217             bitRate="2000000"
218             width="640"
219             height="480"
220             frameRate="30" />
221
222      <Audio codec="aac"
223             bitRate="156000"
224             sampleRate="48000"
225             channels="2" />
226    </EncoderProfile>
227
228    <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
229      <Video codec="h264"
230             bitRate="192000"
231             width="176"
232             height="144"
233             frameRate="30" />
234
235      <!-- audio setting is ignored -->
236      <Audio codec="amrnb"
237             bitRate="12200"
238             sampleRate="8000"
239             channels="1" />
240    </EncoderProfile>
241
242    <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
243      <Video codec="h264"
244             bitRate="42000000"
245             width="3840"
246             height="2160"
247             frameRate="30" />
248
249      <!-- audio setting is ignored -->
250      <Audio codec="aac"
251             bitRate="156000"
252             sampleRate="48000"
253             channels="2" />
254    </EncoderProfile>
255
256    <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
257      <Video codec="h264"
258             bitRate="192000"
259             width="176"
260             height="144"
261             frameRate="30" />
262
263      <!-- audio setting is ignored -->
264      <Audio codec="amrnb"
265             bitRate="12200"
266             sampleRate="8000"
267             channels="1" />
268    </EncoderProfile>
269
270    <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
271      <Video codec="h264"
272             bitRate="720000"
273             width="352"
274             height="288"
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
285    <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
286      <Video codec="h264"
287             bitRate="512000"
288             width="320"
289             height="240"
290             frameRate="30" />
291
292      <!-- audio setting is ignored -->
293      <Audio codec="amrnb"
294             bitRate="12200"
295             sampleRate="8000"
296             channels="1" />
297    </EncoderProfile>
298
299    <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
300      <Video codec="h264"
301             bitRate="2000000"
302             width="640"
303             height="480"
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="timelapse480p" fileFormat="mp4" duration="30">
314      <Video codec="h264"
315             bitRate="2000000"
316             width="640"
317             height="480"
318             frameRate="30" />
319
320      <!-- audio setting is ignored -->
321      <Audio codec="aac"
322             bitRate="156000"
323             sampleRate="48000"
324             channels="2" />
325    </EncoderProfile>
326
327    <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
328      <Video codec="h264"
329             bitRate="14000000"
330             width="1280"
331             height="720"
332             frameRate="30" />
333
334      <!-- audio setting is ignored -->
335      <Audio codec="aac"
336             bitRate="156000"
337             sampleRate="48000"
338             channels="2" />
339    </EncoderProfile>
340
341    <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
342      <Video codec="h264"
343             bitRate="20000000"
344             width="1920"
345             height="1080"
346             frameRate="30" />
347
348      <!-- audio setting is ignored -->
349      <Audio codec="aac"
350             bitRate="156000"
351             sampleRate="48000"
352             channels="2" />
353    </EncoderProfile>
354
355    <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
356      <Video codec="h264"
357            bitRate="42000000"
358            width="3840"
359            height="2160"
360            frameRate="30" />
361
362      <Audio codec="aac"
363            bitRate="156000"
364            sampleRate="48000"
365            channels="2" />
366    </EncoderProfile>
367
368        <ImageEncoding quality="95" />
369        <ImageEncoding quality="80" />
370        <ImageEncoding quality="70" />
371        <ImageDecoding memCap="20000000" />
372
373    </CamcorderProfiles>
374    <!-- Front Camera -->
375    <CamcorderProfiles cameraId="1">
376
377    <EncoderProfile quality="low" fileFormat="3gp" duration="30">
378      <Video codec="h264"
379             bitRate="192000"
380             width="176"
381             height="144"
382             frameRate="30" />
383
384      <Audio codec="amrnb"
385             bitRate="12200"
386             sampleRate="8000"
387             channels="1" />
388    </EncoderProfile>
389
390    <EncoderProfile quality="high" fileFormat="mp4" duration="30">
391      <Video codec="h264"
392             bitRate="20000000"
393             width="1920"
394             height="1080"
395             frameRate="30" />
396
397      <Audio codec="aac"
398             bitRate="156000"
399             sampleRate="48000"
400             channels="2" />
401    </EncoderProfile>
402
403    <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
404      <Video codec="h264"
405             bitRate="512000"
406             width="320"
407             height="240"
408             frameRate="30" />
409
410      <Audio codec="aac"
411             bitRate="156000"
412             sampleRate="48000"
413             channels="2" />
414    </EncoderProfile>
415
416    <EncoderProfile quality="cif" fileFormat="3gp" duration="30">
417      <Video codec="h264"
418             bitRate="720000"
419             width="352"
420             height="288"
421             frameRate="30" />
422
423      <Audio codec="amrnb"
424             bitRate="12200"
425             sampleRate="8000"
426             channels="1" />
427    </EncoderProfile>
428
429    <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
430      <Video codec="h264"
431             bitRate="2000000"
432             width="720"
433             height="480"
434             frameRate="30" />
435
436      <Audio codec="aac"
437             bitRate="156000"
438             sampleRate="48000"
439             channels="2" />
440    </EncoderProfile>
441
442    <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
443      <Video codec="h264"
444             bitRate="14000000"
445             width="1280"
446             height="720"
447             frameRate="30" />
448
449      <Audio codec="aac"
450             bitRate="156000"
451             sampleRate="48000"
452             channels="2" />
453    </EncoderProfile>
454
455    <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
456      <Video codec="h264"
457             bitRate="20000000"
458             width="1920"
459             height="1080"
460             frameRate="30" />
461
462      <Audio codec="aac"
463             bitRate="156000"
464             sampleRate="48000"
465             channels="2" />
466    </EncoderProfile>
467
468    <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
469      <Video codec="h264"
470             bitRate="192000"
471             width="176"
472             height="144"
473             frameRate="30" />
474
475      <Audio codec="amrnb"
476             bitRate="12200"
477             sampleRate="8000"
478             channels="1" />
479    </EncoderProfile>
480
481     <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
482      <Video codec="h264"
483             bitRate="2000000"
484             width="640"
485             height="480"
486             frameRate="30" />
487
488      <Audio codec="aac"
489             bitRate="156000"
490             sampleRate="48000"
491             channels="2" />
492    </EncoderProfile>
493
494    <!-- TIMELAPSE profiles for front camera -->
495    <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
496      <Video codec="h264"
497             bitRate="192000"
498             width="176"
499             height="144"
500             frameRate="30" />
501
502      <!-- audio setting is ignored -->
503      <Audio codec="amrnb"
504             bitRate="12200"
505             sampleRate="8000"
506             channels="1" />
507    </EncoderProfile>
508
509    <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
510      <Video codec="h264"
511             bitRate="20000000"
512             width="1920"
513             height="1080"
514             frameRate="30" />
515
516      <!-- audio setting is ignored -->
517      <Audio codec="aac"
518             bitRate="156000"
519             sampleRate="48000"
520             channels="2" />
521    </EncoderProfile>
522
523    <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
524      <Video codec="h264"
525             bitRate="192000"
526             width="176"
527             height="144"
528             frameRate="30" />
529
530      <!-- audio setting is ignored -->
531      <Audio codec="amrnb"
532             bitRate="12200"
533             sampleRate="8000"
534             channels="1" />
535    </EncoderProfile>
536
537    <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
538      <Video codec="h264"
539             bitRate="1200000"
540             width="352"
541             height="288"
542             frameRate="30" />
543
544      <!-- audio setting is ignored -->
545      <Audio codec="aac"
546             bitRate="96000"
547             sampleRate="48000"
548             channels="1" />
549    </EncoderProfile>
550
551    <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
552      <Video codec="h264"
553             bitRate="512000"
554             width="320"
555             height="240"
556             frameRate="30" />
557
558      <!-- audio setting is ignored -->
559      <Audio codec="amrnb"
560             bitRate="12200"
561             sampleRate="8000"
562             channels="1" />
563    </EncoderProfile>
564
565    <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
566      <Video codec="h264"
567             bitRate="2000000"
568             width="640"
569             height="480"
570             frameRate="30" />
571
572      <!-- audio setting is ignored -->
573      <Audio codec="amrnb"
574             bitRate="12200"
575             sampleRate="8000"
576             channels="1" />
577    </EncoderProfile>
578
579    <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
580      <Video codec="h264"
581             bitRate="5000000"
582             width="720"
583             height="480"
584             frameRate="30" />
585
586      <!-- audio setting is ignored -->
587      <Audio codec="aac"
588             bitRate="96000"
589             sampleRate="48000"
590             channels="1" />
591    </EncoderProfile>
592
593    <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
594      <Video codec="h264"
595             bitRate="8000000"
596             width="1280"
597             height="720"
598             frameRate="30" />
599
600      <!-- audio setting is ignored -->
601      <Audio codec="aac"
602             bitRate="96000"
603             sampleRate="48000"
604             channels="1" />
605    </EncoderProfile>
606
607    <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
608      <Video codec="h264"
609             bitRate="20000000"
610             width="1920"
611             height="1080"
612             frameRate="30" />
613
614      <!-- audio setting is ignored -->
615      <Audio codec="aac"
616             bitRate="156000"
617             sampleRate="48000"
618             channels="2" />
619    </EncoderProfile>
620
621        <ImageEncoding quality="95" />
622        <ImageEncoding quality="80" />
623        <ImageEncoding quality="70" />
624        <ImageDecoding memCap="20000000" />
625
626    </CamcorderProfiles>
627
628    <EncoderOutputFileFormat name="3gp" />
629    <EncoderOutputFileFormat name="mp4" />
630
631    <!--
632         If a codec is not enabled, it is invisible to the applications
633         In other words, the applications won't be able to use the codec
634         or query the capabilities of the codec at all if it is disabled
635    -->
636    <VideoEncoderCap name="h264" enabled="true"
637        minBitRate="64000" maxBitRate="42000000"
638        minFrameWidth="176" maxFrameWidth="4096"
639        minFrameHeight="144" maxFrameHeight="2160"
640        minFrameRate="15" maxFrameRate="30"
641        maxHFRFrameWidth="1920" maxHFRFrameHeight="1080"
642        maxHFRMode="120"  />
643
644    <VideoEncoderCap name="h263" enabled="true"
645        minBitRate="64000" maxBitRate="2000000"
646        minFrameWidth="176" maxFrameWidth="800"
647        minFrameHeight="144" maxFrameHeight="480"
648        minFrameRate="15" maxFrameRate="30"
649        maxHFRFrameWidth="0" maxHFRFrameHeight="0"
650        maxHFRMode="0"  />
651
652    <VideoEncoderCap name="m4v" enabled="true"
653        minBitRate="64000" maxBitRate="20000000"
654        minFrameWidth="176" maxFrameWidth="1280"
655        minFrameHeight="144" maxFrameHeight="720"
656        minFrameRate="15" maxFrameRate="30"
657        maxHFRFrameWidth="0" maxHFRFrameHeight="0"
658        maxHFRMode="0"  />
659
660    <VideoEncoderCap name="hevc" enabled="true"
661        minBitRate="64000" maxBitRate="100000000"
662        minFrameWidth="176" maxFrameWidth="4096"
663        minFrameHeight="144" maxFrameHeight="2160"
664        minFrameRate="15" maxFrameRate="30"
665        maxHFRFrameWidth="0" maxHFRFrameHeight="0"
666        maxHFRMode="0"  />
667
668    <AudioEncoderCap name="aac" enabled="true"
669        minBitRate="8000" maxBitRate="96000"
670        minSampleRate="8000" maxSampleRate="48000"
671        minChannels="1" maxChannels="6" />
672
673    <AudioEncoderCap name="heaac" enabled="true"
674        minBitRate="8000" maxBitRate="64000"
675        minSampleRate="16000" maxSampleRate="48000"
676        minChannels="1" maxChannels="1" />
677
678    <AudioEncoderCap name="aaceld" enabled="true"
679        minBitRate="16000" maxBitRate="192000"
680        minSampleRate="16000" maxSampleRate="48000"
681        minChannels="1" maxChannels="1" />
682
683    <AudioEncoderCap name="amrwb" enabled="true"
684        minBitRate="6600" maxBitRate="23850"
685        minSampleRate="16000" maxSampleRate="16000"
686        minChannels="1" maxChannels="1" />
687
688    <AudioEncoderCap name="amrnb" enabled="true"
689        minBitRate="5525" maxBitRate="12200"
690        minSampleRate="8000" maxSampleRate="8000"
691        minChannels="1" maxChannels="1" />
692
693    <AudioEncoderCap name="lpcm" enabled="true"
694        minBitRate="768000" maxBitRate="4608000"
695        minSampleRate="8000" maxSampleRate="48000"
696        minChannels="1" maxChannels="6" />
697
698    <!--
699        FIXME:
700        We do not check decoder capabilities at present
701        At present, we only check whether windows media is visible
702        for TEST applications. For other applications, we do
703        not perform any checks at all.
704    -->
705    <VideoDecoderCap name="wmv" enabled="true"/>
706    <AudioDecoderCap name="wma" enabled="true"/>
707
708    <!--
709        The VideoEditor Capability configuration:
710        - maxInputFrameWidth: maximum video width of imported video clip.
711        - maxInputFrameHeight: maximum video height of imported video clip.
712        - maxOutputFrameWidth: maximum video width of exported video clip.
713        - maxOutputFrameHeight: maximum video height of exported video clip.
714        - maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
715        used to limit the amount of memory for prefetched YUV frames.
716        For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
717        frames) memory.
718    -->
719    <VideoEditorCap  maxInputFrameWidth="1920"
720        maxInputFrameHeight="1088" maxOutputFrameWidth="1920"
721        maxOutputFrameHeight="1088" maxPrefetchYUVFrames="10"/>
722    <!--
723        The VideoEditor Export codec profile and level values
724        correspond to the values in OMX_Video.h.
725        E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
726        and  level 4096 means OMX_VIDEO_AVCLevel41.
727        Please note that the values are in decimal.
728        These values are for video encoder.
729    -->
730    <!--
731      Codec = h.264, Baseline profile, level 4.0
732    -->
733    <ExportVideoProfile name="h264" profile= "1" level="2048"/>
734    <!--
735      Codec = h.263, Baseline profile, level 70
736    -->
737    <ExportVideoProfile name="h263" profile= "1" level="128"/>
738    <!--
739      Codec = mpeg4, Simple profile, level 5
740    -->
741    <ExportVideoProfile name="m4v" profile= "1" level="128"/>
742</MediaSettings>
743