mondrianwifi: Remove 4K encoder camera

Not supported by back camera
This commit is contained in:
nyyu 2022-08-20 08:34:42 +02:00
parent 0a4dd32dc9
commit 3567a3dd44

View file

@ -20,87 +20,81 @@
--> -->
<MediaSettings> <MediaSettings>
<!-- Each camcorder profile defines a set of predefined configuration parameters --> <!-- Each camcorder profile defines a set of predefined configuration parameters -->
<!-- Back Camera -->
<CamcorderProfiles cameraId="0"> <CamcorderProfiles cameraId="0">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60"> <EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="m4v"
bitRate="128000"
width="320"
height="240"
frameRate="15" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="65000000"
width="3840"
height="2160"
frameRate="30" />
<Audio codec="aac"
bitRate="320000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="192000" bitRate="192000"
width="176" width="176"
height="144" height="144"
frameRate="30" /> frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="14000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="amrnb" <Audio codec="amrnb"
bitRate="12200" bitRate="12200"
@ -108,68 +102,58 @@
channels="1" /> channels="1" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="1200000" bitRate="20000000"
width="352" width="1920"
height="288" height="1080"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="96000" bitRate="156000"
sampleRate="48000" sampleRate="48000"
channels="1" /> channels="2" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="6000000" bitRate="2000000"
width="720" width="640"
height="480" height="480"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="96000" bitRate="156000"
sampleRate="48000" sampleRate="48000"
channels="1" /> channels="2" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="12000000" bitRate="14000000"
width="1280" width="1280"
height="720" height="720"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="96000" bitRate="156000"
sampleRate="48000" sampleRate="48000"
channels="1" /> channels="2" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="17000000" bitRate="20000000"
width="1920" width="1920"
height="1080" height="1080"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="65000000"
width="3840"
height="2160"
frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="320000" bitRate="156000"
sampleRate="48000" sampleRate="48000"
channels="2" /> channels="2" />
</EncoderProfile> </EncoderProfile>
@ -180,75 +164,81 @@
<ImageDecoding memCap="20000000" /> <ImageDecoding memCap="20000000" />
</CamcorderProfiles> </CamcorderProfiles>
<!-- Front Camera -->
<CamcorderProfiles cameraId="1"> <CamcorderProfiles cameraId="1">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60"> <EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="m4v"
bitRate="128000"
width="320"
height="240"
frameRate="15" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="6000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="192000" bitRate="192000"
width="176" width="176"
height="144" height="144"
frameRate="30" /> frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="14000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="amrnb" <Audio codec="amrnb"
bitRate="12200" bitRate="12200"
@ -256,25 +246,27 @@
channels="1" /> channels="1" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="1200000" bitRate="20000000"
width="352" width="1920"
height="288" height="1080"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="96000" bitRate="156000"
sampleRate="48000" sampleRate="48000"
channels="1" /> channels="2" />
</EncoderProfile> </EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="6000000" bitRate="5000000"
width="720" width="720"
height="480" height="480"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="96000" bitRate="96000"
@ -284,10 +276,11 @@
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="12000000" bitRate="8000000"
width="1280" width="1280"
height="720" height="720"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="96000" bitRate="96000"
@ -297,15 +290,16 @@
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30"> <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264" <Video codec="h264"
bitRate="17000000" bitRate="20000000"
width="1920" width="1920"
height="1080" height="1080"
frameRate="30" /> frameRate="30" />
<!-- audio setting is ignored --> <!-- audio setting is ignored -->
<Audio codec="aac" <Audio codec="aac"
bitRate="96000" bitRate="156000"
sampleRate="48000" sampleRate="48000"
channels="1" /> channels="2" />
</EncoderProfile> </EncoderProfile>
<ImageEncoding quality="95" /> <ImageEncoding quality="95" />
@ -324,10 +318,10 @@
or query the capabilities of the codec at all if it is disabled or query the capabilities of the codec at all if it is disabled
--> -->
<VideoEncoderCap name="h264" enabled="true" <VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="50000000" minBitRate="64000" maxBitRate="100000000"
minFrameWidth="176" maxFrameWidth="3840" minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="2160" minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="30" /> minFrameRate="15" maxFrameRate="60" />
<VideoEncoderCap name="h263" enabled="true" <VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000" minBitRate="64000" maxBitRate="2000000"
@ -336,28 +330,18 @@
minFrameRate="15" maxFrameRate="30" /> minFrameRate="15" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true" <VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="40000000" minBitRate="64000" maxBitRate="20000000"
minFrameWidth="176" maxFrameWidth="1920" minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080" minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="30" /> minFrameRate="15" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true" <AudioEncoderCap name="aac" enabled="true"
minBitRate="758" maxBitRate="288000" minBitRate="8000" maxBitRate="192000"
minSampleRate="8000" maxSampleRate="48000" minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="1" /> minChannels="1" maxChannels="6" />
<AudioEncoderCap name="heaac" enabled="true"
minBitRate="8000" maxBitRate="64000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="aaceld" enabled="true"
minBitRate="16000" maxBitRate="192000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrwb" enabled="true" <AudioEncoderCap name="amrwb" enabled="true"
minBitRate="6600" maxBitRate="23050" minBitRate="6600" maxBitRate="23850"
minSampleRate="16000" maxSampleRate="16000" minSampleRate="16000" maxSampleRate="16000"
minChannels="1" maxChannels="1" /> minChannels="1" maxChannels="1" />
@ -375,5 +359,5 @@
--> -->
<VideoDecoderCap name="wmv" enabled="false"/> <VideoDecoderCap name="wmv" enabled="false"/>
<AudioDecoderCap name="wma" enabled="false"/> <AudioDecoderCap name="wma" enabled="false"/>
</MediaSettings>
</MediaSettings>