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