Skip to content

Commit

Permalink
Using a media_profiles.xml which sets 1920x1080.
Browse files Browse the repository at this point in the history
The actual recorded video is 1920x1088.  With this media_profiles.xml and a hack to the file
frameworks/base/media/libmediaplayerservice/StagefrightRecorder.cpp will allow 1920x1080
in the Camera Application, and 1920x1088 recorded to file.

This matches the stock sense behavior.
  • Loading branch information
kornyone committed Nov 7, 2011
1 parent ef72ca7 commit 4185497
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions media_profiles.xml
Expand Up @@ -80,9 +80,9 @@
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="hd" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="6000000"
width="1280"
height="720"
bitRate="10000000"
width="1920"
height="1080"
frameRate="30" />

<Audio codec="aac"
Expand Down Expand Up @@ -167,9 +167,9 @@
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="8000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minBitRate="64000" maxBitRate="10000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="1" maxFrameRate="30" />

<VideoEncoderCap name="h263" enabled="true"
Expand Down

0 comments on commit 4185497

Please sign in to comment.