Update media_profiles to use new set of bitrates for video
This patch updates video bitrates for all resolutions in media profiles.
This patch also removes 720p resolution from primary camera,
since it is desired to use 480p resolution as second highest one after 1080p.
Change-Id: I6f8ca13b95e270ce8577c7061d49e8acebf09424
Signed-Off-By: Kalpesh Patil <kalpeshpatil@ti.com>
diff --git a/media_profiles.xml b/media_profiles.xml
old mode 100644
new mode 100755
index 1874554..d9bc3ca
--- a/media_profiles.xml
+++ b/media_profiles.xml
@@ -86,7 +86,7 @@
<EncoderProfile quality="qcif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="192000"
width="176"
height="144"
frameRate="30" />
@@ -98,7 +98,7 @@
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1200000"
width="352"
height="288"
frameRate="30" />
@@ -110,7 +110,7 @@
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="5000000"
width="720"
height="480"
frameRate="30" />
@@ -120,21 +120,9 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="1000000"
- 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="4000000"
+ bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
@@ -146,7 +134,7 @@
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="192000"
width="176"
height="144"
frameRate="30" />
@@ -158,7 +146,7 @@
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1200000"
width="352"
height="288"
frameRate="30" />
@@ -170,7 +158,7 @@
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="1000000"
+ bitRate="5000000"
width="720"
height="480"
frameRate="30" />
@@ -180,21 +168,9 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="1000000"
- width="1280"
- height="720"
- frameRate="30" />
- <Audio codec="aac"
- bitRate="96000"
- sampleRate="48000"
- channels="1" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="4000000"
+ bitRate="17000000"
width="1920"
height="1080"
frameRate="30" />
@@ -215,7 +191,7 @@
<EncoderProfile quality="qcif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="192000"
width="176"
height="144"
frameRate="30" />
@@ -227,7 +203,7 @@
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1200000"
width="352"
height="288"
frameRate="30" />
@@ -239,7 +215,7 @@
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="5000000"
width="720"
height="480"
frameRate="30" />
@@ -251,7 +227,7 @@
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="1000000"
+ bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
@@ -263,7 +239,7 @@
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="192000"
width="176"
height="144"
frameRate="30" />
@@ -275,7 +251,7 @@
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1200000"
width="352"
height="288"
frameRate="30" />
@@ -287,7 +263,7 @@
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="1000000"
+ bitRate="5000000"
width="720"
height="480"
frameRate="30" />
@@ -299,7 +275,7 @@
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="1000000"
+ bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
@@ -325,7 +301,7 @@
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
- minBitRate="64000" maxBitRate="4000000"
+ minBitRate="64000" maxBitRate="17000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="1" maxFrameRate="30" />