aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2017-08-02 00:20:20 +0200
committerdoc HD <doc.divxm@gmail.com>2017-08-04 17:06:54 +0300
commitb6739804788ed40362ffb8364bad27265047c2bd (patch)
treed17ed4e8abaf640d276c52352e885e7b8410101a
parent0d774445bd6b0a0cac62b7a27aeed03e45ed3327 (diff)
media: Modify 480p profile
720x480 resolution is not handled very well in camera apps, making them look horribly stretched. Remove VGA profile and use 640x480 resolution for 480p. This is what stock does. Change-Id: I4248960b58b5b4accc8d6c673ed1b9249a79e3cf
-rw-r--r--media/media_profiles.xml29
1 files changed, 2 insertions, 27 deletions
diff --git a/media/media_profiles.xml b/media/media_profiles.xml
index 35fa367..4efd57c 100644
--- a/media/media_profiles.xml
+++ b/media/media_profiles.xml
@@ -106,22 +106,10 @@
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="vga" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="2000000"
- width="640"
- height="480"
- frameRate="30" />
- <Audio codec="aac"
- bitRate="128000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="3449000"
- width="720"
+ width="640"
height="480"
frameRate="30" />
<Audio codec="aac"
@@ -180,23 +168,10 @@
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="128000"
- sampleRate="48000"
- channels="2" />
- </EncoderProfile>
-
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="3449000"
- width="720"
+ width="640"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->