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