Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update media profiles to allow camcorder operation in all available m…

…odes

Change-Id: Id74fb4936bf44e0c07bf260cd8814764575d802a
  • Loading branch information...
commit f1450fd51b285c8686ed6a4ae5434c95fbef39d5 1 parent 976799a
@slayher slayher authored
Showing with 23 additions and 5 deletions.
  1. +23 −5 media_profiles.xml
View
28 media_profiles.xml
@@ -78,7 +78,20 @@
<MediaSettings>
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<CamcorderProfiles>
-
+ <!-- Added but disabled for now until stagefright is fixed
+ <EncoderProfile quality="hd" fileFormat="mp4" duration="60">
+ <Video codec="m4v"
+ bitRate="6000000"
+ width="1280"
+ height="720"
+ frameRate="30" />
+
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="16000"
+ channels="1" />
+ </EncoderProfile>
+ -->
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="3000000"
@@ -86,14 +99,14 @@
height="480"
frameRate="24" />
- <Audio codec="amrnb"
- bitRate="12200"
- sampleRate="8000"
+ <Audio codec="aac"
+ bitRate="96000"
+ sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
- <Video codec="m4v"
+ <Video codec="h263"
bitRate="256000"
width="176"
height="144"
@@ -142,6 +155,11 @@
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
+ <AudioEncoderCap name="aac" enabled="true"
+ minBitRate="8192" maxBitRate="96000"
+ minSampleRate="8000" maxSampleRate="16000"
+ minChannels="1" maxChannels="1" />
+
<AudioEncoderCap name="amrnb" enabled="true"
minBitRate="5525" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
Please sign in to comment.
Something went wrong with that request. Please try again.