mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-07-01 23:35:40 +00:00
lemonadep: Unlock 2160p recording on supported cameras
Main back camera (cam ID 0) and ultra-wide back camera (cam ID 2) support recording resolutions up to 2160p. Change-Id: Iacdc4dbb0f8c9999d46cc06f928599d58eacc4e8
This commit is contained in:
parent
bd64e3f998
commit
c8a899aeb8
@ -123,23 +123,11 @@
|
|||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207 -->
|
|
||||||
<!-- Modify for deleting 4K video recording -->
|
|
||||||
<!--
|
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="50000000"
|
bitRate="50000000"
|
||||||
width="3840"
|
width="3840"
|
||||||
height="2160"
|
height="2160"
|
||||||
frameRate="30" />
|
frameRate="30" />
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
<Audio codec="aac"
|
||||||
bitRate="156000"
|
bitRate="156000"
|
||||||
@ -212,49 +200,6 @@
|
|||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207 -->
|
|
||||||
<!-- Remove for deleting 4K video recording -->
|
|
||||||
<!--
|
|
||||||
<EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="29400000"
|
|
||||||
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="57500000"
|
|
||||||
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="50000000"
|
bitRate="50000000"
|
||||||
@ -268,21 +213,6 @@
|
|||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="8kuhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="105000000"
|
|
||||||
width="7680"
|
|
||||||
height="4320"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
-->
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
|
<EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="192000"
|
bitRate="192000"
|
||||||
@ -324,26 +254,12 @@
|
|||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207 -->
|
|
||||||
<!-- Modify for deleting 4K video recording -->
|
|
||||||
|
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="50000000"
|
bitRate="50000000"
|
||||||
width="3840"
|
width="3840"
|
||||||
height="2160"
|
height="2160"
|
||||||
frameRate="30" />
|
frameRate="30" />
|
||||||
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<!-- <Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
-->
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
<!-- audio setting is ignored -->
|
||||||
<Audio codec="aac"
|
<Audio codec="aac"
|
||||||
bitRate="156000"
|
bitRate="156000"
|
||||||
@ -450,49 +366,6 @@
|
|||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207 -->
|
|
||||||
<!-- Remove for deleting 4K video recording -->
|
|
||||||
<!--
|
|
||||||
<EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="29400000"
|
|
||||||
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="57500000"
|
|
||||||
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="50000000"
|
bitRate="50000000"
|
||||||
@ -500,41 +373,13 @@
|
|||||||
height="2160"
|
height="2160"
|
||||||
frameRate="30" />
|
frameRate="30" />
|
||||||
|
|
||||||
|
<!-- audio setting is ignored -->
|
||||||
<Audio codec="aac"
|
<Audio codec="aac"
|
||||||
bitRate="156000"
|
bitRate="156000"
|
||||||
sampleRate="48000"
|
sampleRate="48000"
|
||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse8kuhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="105000000"
|
|
||||||
width="7680"
|
|
||||||
height="4320"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="50000000"
|
|
||||||
width="3840"
|
|
||||||
height="2160"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<ImageEncoding quality="95" />
|
<ImageEncoding quality="95" />
|
||||||
<ImageEncoding quality="80" />
|
<ImageEncoding quality="80" />
|
||||||
<ImageEncoding quality="70" />
|
<ImageEncoding quality="70" />
|
||||||
@ -969,23 +814,11 @@
|
|||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207, -->
|
|
||||||
<!-- Modify for deleting 4K video recording -->
|
|
||||||
<!--
|
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="50000000"
|
bitRate="50000000"
|
||||||
width="3840"
|
width="3840"
|
||||||
height="2160"
|
height="2160"
|
||||||
frameRate="30" />
|
frameRate="30" />
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
<Audio codec="aac"
|
||||||
bitRate="156000"
|
bitRate="156000"
|
||||||
@ -1058,49 +891,6 @@
|
|||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207, -->
|
|
||||||
<!-- Remove for deleting 4K video recording -->
|
|
||||||
<!--
|
|
||||||
<EncoderProfile quality="qhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="29400000"
|
|
||||||
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="57500000"
|
|
||||||
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="50000000"
|
bitRate="50000000"
|
||||||
@ -1114,21 +904,6 @@
|
|||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="8kuhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="105000000"
|
|
||||||
width="7680"
|
|
||||||
height="4320"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
-->
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
|
<EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="192000"
|
bitRate="192000"
|
||||||
@ -1170,23 +945,11 @@
|
|||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207, -->
|
|
||||||
<!-- Modify for deleting 4K video recording -->
|
|
||||||
<!--
|
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="50000000"
|
bitRate="50000000"
|
||||||
width="3840"
|
width="3840"
|
||||||
height="2160"
|
height="2160"
|
||||||
frameRate="30" />
|
frameRate="30" />
|
||||||
-->
|
|
||||||
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="20000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="30" />
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
<!-- audio setting is ignored -->
|
||||||
<Audio codec="aac"
|
<Audio codec="aac"
|
||||||
@ -1294,49 +1057,6 @@
|
|||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<!-- #ifndef OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
<!-- yangwen@MULTIMEDIA.MediaServer.cts.662064,20201207, -->
|
|
||||||
<!-- Remove for deleting 4K video recording -->
|
|
||||||
<!--
|
|
||||||
<EncoderProfile quality="timelapseqhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="29400000"
|
|
||||||
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="57500000"
|
|
||||||
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="50000000"
|
bitRate="50000000"
|
||||||
@ -1344,27 +1064,13 @@
|
|||||||
height="2160"
|
height="2160"
|
||||||
frameRate="30" />
|
frameRate="30" />
|
||||||
|
|
||||||
|
<!-- audio setting is ignored -->
|
||||||
<Audio codec="aac"
|
<Audio codec="aac"
|
||||||
bitRate="156000"
|
bitRate="156000"
|
||||||
sampleRate="48000"
|
sampleRate="48000"
|
||||||
channels="2" />
|
channels="2" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="timelapse8kuhd" fileFormat="mp4" duration="30">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="105000000"
|
|
||||||
width="7680"
|
|
||||||
height="4320"
|
|
||||||
frameRate="30" />
|
|
||||||
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="156000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="2" />
|
|
||||||
</EncoderProfile>
|
|
||||||
-->
|
|
||||||
<!-- #endif //OPLUS_BUG_COMPATIBILITY -->
|
|
||||||
|
|
||||||
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
|
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
|
||||||
<Video codec="h264"
|
<Video codec="h264"
|
||||||
bitRate="50000000"
|
bitRate="50000000"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user