diff options
| author | Steve Kondik <shade@chemlab.org> | 2014-01-27 01:00:41 -0800 |
|---|---|---|
| committer | Dirk Rettschlag <dirk.rettschlag@gmail.com> | 2014-01-27 10:51:07 +0100 |
| commit | 90f67764686d789ef9b6fcf90e23b221db8bdec2 (patch) | |
| tree | 84cbede30e705dfe3e8e9f82930c44e3f370e890 | |
| parent | 99132436fd273b537deaba6255c5d3511b81790a (diff) | |
n1: Update media_profiles.xml
* Bring up to date with correct values for all codecs and resolutions.
Change-Id: I78f7f607e5f37db0aaf2e4d83484afbec5832438
| -rw-r--r-- | configs/media_profiles.xml | 137 |
1 files changed, 24 insertions, 113 deletions
diff --git a/configs/media_profiles.xml b/configs/media_profiles.xml index 2cf549e..c3b38e1 100644 --- a/configs/media_profiles.xml +++ b/configs/media_profiles.xml @@ -1,8 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2012-2013, The Linux Foundation. All rights reserved - Not a contribution. - - Copyright (C) 2010 The Android Open Source Project +<!-- Copyright 2013 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -36,10 +33,10 @@ <!ATTLIST Video height CDATA #REQUIRED> <!ATTLIST Video frameRate CDATA #REQUIRED> <!ELEMENT Audio EMPTY> -<!ATTLIST Audio codec (amrnb|amrwb|aac|lpcm) #REQUIRED> +<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED> <!ATTLIST Audio bitRate CDATA #REQUIRED> <!ATTLIST Audio sampleRate CDATA #REQUIRED> -<!ATTLIST Audio channels (1|2|6) #REQUIRED> +<!ATTLIST Audio channels (1|2) #REQUIRED> <!ELEMENT ImageEncoding EMPTY> <!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED> <!ELEMENT ImageDecoding EMPTY> @@ -59,14 +56,14 @@ <!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED> <!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED> <!ELEMENT AudioEncoderCap EMPTY> -<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|lpcm) #REQUIRED> +<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED> <!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED> <!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED> <!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED> <!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED> <!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED> -<!ATTLIST AudioEncoderCap minChannels (1|2|6) #REQUIRED> -<!ATTLIST AudioEncoderCap maxChannels (1|2|6) #REQUIRED> +<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED> +<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED> <!ELEMENT VideoDecoderCap EMPTY> <!ATTLIST VideoDecoderCap name (wmv) #REQUIRED> <!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED> @@ -97,7 +94,7 @@ bitRate="128000" width="320" height="240" - frameRate="30" /> + frameRate="15" /> <Audio codec="amrnb" bitRate="12200" sampleRate="8000" @@ -123,9 +120,9 @@ height="480" frameRate="30" /> <Audio codec="aac" - bitRate="156000" + bitRate="96000" sampleRate="48000" - channels="2" /> + channels="1" /> </EncoderProfile> <EncoderProfile quality="720p" fileFormat="mp4" duration="30"> @@ -135,9 +132,9 @@ height="720" frameRate="30" /> <Audio codec="aac" - bitRate="156000" + bitRate="96000" sampleRate="48000" - channels="2" /> + channels="1" /> </EncoderProfile> <EncoderProfile quality="1080p" fileFormat="mp4" duration="30"> @@ -147,50 +144,11 @@ height="1080" frameRate="30" /> <Audio codec="aac" - bitRate="156000" + bitRate="96000" sampleRate="48000" - channels="2" /> - </EncoderProfile> - - <EncoderProfile quality="qcif" fileFormat="3gp" duration="30"> - <Video codec="h264" - bitRate="192000" - width="176" - height="144" - frameRate="30" /> - - <Audio codec="amrnb" - bitRate="12200" - sampleRate="8000" channels="1" /> </EncoderProfile> - <EncoderProfile quality="wvga" fileFormat="mp4" duration="30"> - <Video codec="h264" - bitRate="2000000" - width="800" - height="480" - frameRate="30" /> - - <Audio codec="aac" - bitRate="156000" - sampleRate="48000" - channels="2" /> - </EncoderProfile> - - <EncoderProfile quality="vga" fileFormat="mp4" duration="30"> - <Video codec="h264" - bitRate="2000000" - width="640" - height="480" - frameRate="30" /> - - <Audio codec="aac" - bitRate="156000" - sampleRate="48000" - channels="2" /> - </EncoderProfile> - <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30"> <Video codec="h264" bitRate="192000" @@ -217,48 +175,6 @@ channels="1" /> </EncoderProfile> - <EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30"> - <Video codec="h264" - bitRate="512000" - width="320" - height="240" - frameRate="30" /> - - <!-- audio setting is ignored --> - <Audio codec="aac" - bitRate="96000" - sampleRate="16000" - channels="1" /> - </EncoderProfile> - - <EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30"> - <Video codec="h264" - bitRate="2000000" - width="640" - height="480" - frameRate="30" /> - - <!-- audio setting is ignored --> - <Audio codec="aac" - bitRate="96000" - sampleRate="16000" - channels="1" /> - </EncoderProfile> - - <EncoderProfile quality="timelapsewvga" fileFormat="mp4" duration="30"> - <Video codec="h264" - bitRate="2000000" - width="800" - height="480" - frameRate="30" /> - - <!-- audio setting is ignored --> - <Audio codec="aac" - bitRate="96000" - sampleRate="16000" - channels="1" /> - </EncoderProfile> - <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30"> <Video codec="h264" bitRate="6000000" @@ -267,22 +183,22 @@ frameRate="30" /> <!-- audio setting is ignored --> <Audio codec="aac" - bitRate="156000" + bitRate="96000" sampleRate="48000" - channels="2" /> + channels="1" /> </EncoderProfile> <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30"> <Video codec="h264" - bitRate="8000000" + bitRate="12000000" width="1280" height="720" frameRate="30" /> <!-- audio setting is ignored --> <Audio codec="aac" - bitRate="156000" + bitRate="96000" sampleRate="48000" - channels="2" /> + channels="1" /> </EncoderProfile> <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30"> @@ -293,9 +209,9 @@ frameRate="30" /> <!-- audio setting is ignored --> <Audio codec="aac" - bitRate="156000" + bitRate="96000" sampleRate="48000" - channels="2" /> + channels="1" /> </EncoderProfile> <ImageEncoding quality="95" /> @@ -314,7 +230,7 @@ or query the capabilities of the codec at all if it is disabled --> <VideoEncoderCap name="h264" enabled="true" - minBitRate="64000" maxBitRate="12000000" + minBitRate="64000" maxBitRate="40000000" minFrameWidth="176" maxFrameWidth="1920" minFrameHeight="144" maxFrameHeight="1080" minFrameRate="15" maxFrameRate="30" /> @@ -326,15 +242,15 @@ minFrameRate="15" maxFrameRate="30" /> <VideoEncoderCap name="m4v" enabled="true" - minBitRate="64000" maxBitRate="4000000" + minBitRate="64000" maxBitRate="40000000" minFrameWidth="176" maxFrameWidth="1920" minFrameHeight="144" maxFrameHeight="1080" minFrameRate="15" maxFrameRate="30" /> <AudioEncoderCap name="aac" enabled="true" - minBitRate="8000" maxBitRate="96000" + minBitRate="758" maxBitRate="288000" minSampleRate="8000" maxSampleRate="48000" - minChannels="1" maxChannels="6" /> + minChannels="1" maxChannels="1" /> <AudioEncoderCap name="heaac" enabled="true" minBitRate="8000" maxBitRate="64000" @@ -347,7 +263,7 @@ minChannels="1" maxChannels="1" /> <AudioEncoderCap name="amrwb" enabled="true" - minBitRate="6600" maxBitRate="23850" + minBitRate="6600" maxBitRate="23050" minSampleRate="16000" maxSampleRate="16000" minChannels="1" maxChannels="1" /> @@ -356,11 +272,6 @@ minSampleRate="8000" maxSampleRate="8000" minChannels="1" maxChannels="1" /> - <AudioEncoderCap name="lpcm" enabled="true" - minBitRate="768000" maxBitRate="4608000" - minSampleRate="48000" maxSampleRate="48000" - minChannels="1" maxChannels="6" /> - <!-- FIXME: We do not check decoder capabilities at present |
