summaryrefslogtreecommitdiffstats
path: root/media_profiles.xml
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-07-15 15:43:25 -0700
committerIliyan Malchev <malchev@google.com>2011-07-15 15:43:31 -0700
commit49aa67816b2c8b0c5c7752ed6fa875be8d0eea15 (patch)
treefef05b0e2371348a38fa6c3e02d6df4671728ded /media_profiles.xml
parent7a81ea7ab20e92b1ce0e369e07736946a9cb17e8 (diff)
downloaddevice_samsung_tuna-49aa67816b2c8b0c5c7752ed6fa875be8d0eea15.zip
device_samsung_tuna-49aa67816b2c8b0c5c7752ed6fa875be8d0eea15.tar.gz
device_samsung_tuna-49aa67816b2c8b0c5c7752ed6fa875be8d0eea15.tar.bz2
tuna: update media profiles
This update allows for recording 720p & 1080p from the primary, and 720p from the front sensor, both at 30fps. Subsequent patches will address sampling rates etc. Change-Id: Ie49ae83a0c89ee6a8b1528761879361b22155fa8 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'media_profiles.xml')
-rw-r--r--media_profiles.xml160
1 files changed, 43 insertions, 117 deletions
diff --git a/media_profiles.xml b/media_profiles.xml
index 128ec6f..05ef332 100644
--- a/media_profiles.xml
+++ b/media_profiles.xml
@@ -79,30 +79,6 @@
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<CamcorderProfiles cameraId="0">
- <EncoderProfile quality="low" fileFormat="mp4" duration="60">
- <Video codec="h264"
- bitRate="3000000"
- width="720"
- height="480"
- frameRate="30" />
- <Audio codec="aac"
- bitRate="96000"
- sampleRate="16000"
- channels="1" />
- </EncoderProfile>
-
- <EncoderProfile quality="high" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="256000"
- width="176"
- height="144"
- frameRate="30" />
- <Audio codec="aac"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
<EncoderProfile quality="qcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="256000"
@@ -139,27 +115,26 @@
channels="1" />
</EncoderProfile>
-
- <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="60">
+ <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="3000000"
- width="720"
- height="480"
+ bitRate="1000000"
+ width="1280"
+ height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
- sampleRate="16000"
+ sampleRate="8000"
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
+ <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
- width="176"
- height="144"
+ bitRate="4000000"
+ width="1920"
+ height="1080"
frameRate="30" />
<Audio codec="aac"
- bitRate="12200"
+ bitRate="96000"
sampleRate="8000"
channels="1" />
</EncoderProfile>
@@ -190,7 +165,7 @@
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1000000"
width="720"
height="480"
frameRate="30" />
@@ -200,40 +175,39 @@
channels="1" />
</EncoderProfile>
-
- <ImageEncoding quality="90" />
- <ImageEncoding quality="80" />
- <ImageEncoding quality="70" />
- <ImageDecoding memCap="20000000" />
-
- </CamcorderProfiles>
-
- <CamcorderProfiles cameraId="1">
-
- <EncoderProfile quality="low" fileFormat="mp4" duration="60">
+ <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="3000000"
- width="720"
- height="480"
+ bitRate="1000000"
+ width="1280"
+ height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
- sampleRate="16000"
+ sampleRate="8000"
channels="1" />
</EncoderProfile>
- <EncoderProfile quality="high" fileFormat="mp4" duration="30">
+ <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
- width="176"
- height="144"
+ bitRate="4000000"
+ width="1920"
+ height="1080"
frameRate="30" />
<Audio codec="aac"
- bitRate="12200"
+ bitRate="96000"
sampleRate="8000"
channels="1" />
</EncoderProfile>
+ <ImageEncoding quality="90" />
+ <ImageEncoding quality="80" />
+ <ImageEncoding quality="70" />
+ <ImageDecoding memCap="20000000" />
+
+ </CamcorderProfiles>
+
+ <CamcorderProfiles cameraId="1">
+
<EncoderProfile quality="qcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="256000"
@@ -272,48 +246,12 @@
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
- <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="256000"
- width="1920"
- height="1080"
- frameRate="30" />
- <Audio codec="aac"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapselow" fileFormat="mp4" duration="60">
- <Video codec="h264"
- bitRate="3000000"
- width="720"
- height="480"
- frameRate="30" />
- <Audio codec="aac"
bitRate="96000"
- sampleRate="16000"
- channels="1" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="256000"
- width="176"
- height="144"
- frameRate="30" />
- <Audio codec="aac"
- bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
@@ -344,7 +282,7 @@
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1000000"
width="720"
height="480"
frameRate="30" />
@@ -356,24 +294,12 @@
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
- bitRate="256000"
+ bitRate="1000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
- bitRate="12200"
- sampleRate="8000"
- channels="1" />
- </EncoderProfile>
-
- <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
- <Video codec="h264"
- bitRate="256000"
- width="1920"
- height="1080"
- frameRate="30" />
- <Audio codec="aac"
- bitRate="12200"
+ bitRate="96000"
sampleRate="8000"
channels="1" />
</EncoderProfile>
@@ -395,21 +321,21 @@
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
- minBitRate="64000" maxBitRate="3000000"
- minFrameWidth="176" maxFrameWidth="800"
- minFrameHeight="144" maxFrameHeight="480"
+ minBitRate="64000" maxBitRate="4000000"
+ minFrameWidth="176" maxFrameWidth="1920"
+ minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
- minBitRate="64000" maxBitRate="1000000"
- minFrameWidth="176" maxFrameWidth="800"
- minFrameHeight="144" maxFrameHeight="480"
+ minBitRate="64000" maxBitRate="4000000"
+ minFrameWidth="176" maxFrameWidth="1920"
+ minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
- minBitRate="64000" maxBitRate="2000000"
- minFrameWidth="176" maxFrameWidth="800"
- minFrameHeight="144" maxFrameHeight="480"
+ minBitRate="64000" maxBitRate="4000000"
+ minFrameWidth="176" maxFrameWidth="1920"
+ minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="1" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"