kunlun2: Remove unsupported media profiles
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
2fede046fa
commit
b09479f6bd
1 changed files with 3 additions and 252 deletions
|
@ -2,13 +2,10 @@
|
||||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
|
||||||
Not a contribution.
|
Not a contribution.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
@ -35,7 +32,7 @@
|
||||||
<!ATTLIST Video height CDATA #REQUIRED>
|
<!ATTLIST Video height CDATA #REQUIRED>
|
||||||
<!ATTLIST Video frameRate CDATA #REQUIRED>
|
<!ATTLIST Video frameRate CDATA #REQUIRED>
|
||||||
<!ELEMENT Audio EMPTY>
|
<!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 bitRate CDATA #REQUIRED>
|
||||||
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
|
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
|
||||||
<!ATTLIST Audio channels (1|2|6) #REQUIRED>
|
<!ATTLIST Audio channels (1|2|6) #REQUIRED>
|
||||||
|
@ -61,7 +58,7 @@
|
||||||
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
|
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
|
||||||
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
|
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
|
||||||
<!ELEMENT AudioEncoderCap EMPTY>
|
<!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 enabled (true|false) #REQUIRED>
|
||||||
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
|
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
|
||||||
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
|
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
|
||||||
|
@ -186,45 +183,6 @@
|
||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="2560"
|
|
||||||
height="1440"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="2k" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="2048"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="4096"
|
|
||||||
height="2160"
|
|
||||||
frameRate="24" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="42000000"
|
bitRate="42000000"
|
||||||
|
@ -251,19 +209,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</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="timelapselow" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="192000"
|
bitRate="192000"
|
||||||
|
@ -320,35 +265,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</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="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
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="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="2000000"
|
bitRate="2000000"
|
||||||
|
@ -391,47 +307,6 @@
|
||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="2560"
|
|
||||||
height="1440"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="2048"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="4096"
|
|
||||||
height="2160"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="42000000"
|
bitRate="42000000"
|
||||||
|
@ -480,19 +355,6 @@
|
||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="512000"
|
|
||||||
width="320"
|
|
||||||
height="240"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="cif" fileFormat="3gp" duration="30">
|
<EncoderProfile quality="cif" fileFormat="3gp" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="720000"
|
bitRate="720000"
|
||||||
|
@ -545,39 +407,6 @@
|
||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="2560"
|
|
||||||
height="1440"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
<EncoderProfile quality="2k" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="2048"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
<EncoderProfile quality="4kdci" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="4096"
|
|
||||||
height="2160"
|
|
||||||
frameRate="24" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
<!-- <EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
|
<!-- <EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="42000000"
|
bitRate="42000000"
|
||||||
|
@ -602,19 +431,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</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>
|
|
||||||
|
|
||||||
<!-- TIMELAPSE profiles for front camera -->
|
<!-- TIMELAPSE profiles for front camera -->
|
||||||
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
|
@ -672,34 +488,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</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="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
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="amrnb"
|
|
||||||
bitRate="12200"
|
|
||||||
sampleRate="8000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="5000000"
|
bitRate="5000000"
|
||||||
|
@ -741,39 +529,7 @@
|
||||||
sampleRate="48000"
|
sampleRate="48000"
|
||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
<EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="2560"
|
|
||||||
height="1440"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
<EncoderProfile quality="timelapse2k" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="2048"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
<EncoderProfile quality="timelapse4kdci" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="4096"
|
|
||||||
height="2160"
|
|
||||||
frameRate="30" />
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
<!-- <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
|
<!-- <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="42000000"
|
bitRate="42000000"
|
||||||
|
@ -858,11 +614,6 @@
|
||||||
minSampleRate="8000" maxSampleRate="8000"
|
minSampleRate="8000" maxSampleRate="8000"
|
||||||
minChannels="1" maxChannels="1" />
|
minChannels="1" maxChannels="1" />
|
||||||
|
|
||||||
<AudioEncoderCap name="lpcm" enabled="true"
|
|
||||||
minBitRate="768000" maxBitRate="4608000"
|
|
||||||
minSampleRate="8000" maxSampleRate="48000"
|
|
||||||
minChannels="1" maxChannels="6" />
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
FIXME:
|
FIXME:
|
||||||
We do not check decoder capabilities at present
|
We do not check decoder capabilities at present
|
||||||
|
|
Loading…
Reference in a new issue