[MOD][ICS&GB][4/26/12]Camera HQ Mod: Extreme vs High (UPD: MDPI GB version updated)
So, after searching around, i finally modded sony camera ui to have higher 10mbps bitrate @ 720p. It was not editable with media_profiles.xml because of the apk predefines the profile by itself, thanks to user Xperia-Ray user feedback on the next thread . So i altered the profile it needs for 720p. I chose at 10mbps to reduce hiccup or dropped frames and to comply with media_profiles.xml default bitrate cap.
As for photo quality, I think ics beta camera apk already gives you 90% compression value (file size@2.4MB) and think it can be modified simply from media_profiles.xml (since the apk only have 3 stepping of level, and after that the quality of 1-100 is determined by native code so no APK editing will solve that)
UPDATE: Added modified one for Gingerbread. Taken & Modded from Larut mod here. Thanks to him for 100% JPEQ Quality Mod
UPDATE 2: Added modified one for MDPI-devices Gingerbread.
UPDATE 3: MDPI Gingerbread updated, added override in JPEG Quality to 100%. apparently Gingerbread ignores media_profiles.xml.
UPDATE 4: Added Alternative Xperia Pro GB version.
UPDATE 5: Added new ICS 562 Leaked version based camera apk and 14Mbps quality.
UPDATE 6: Added new ICS 562 Official Nordic version with improvement of 14Mbps for 720p and 4Mbps for 480p.
UPDATE 7: ICS version Official is split into 2 option, Extreme Quality and High Quality, Extreme supports 14Mbps 720p + 6Mbps VGA Quality. while high is set at 10Mbps 720p + 4mbps VGA Quality.
UPDATE 7: Gingerbread version is split into 2 option, Extreme Quality and High Quality, Extreme supports 14Mbps 720p + 6Mbps VGA Quality. while high is set at 10Mbps 720p + 4mbps VGA Quality.
UPDATE 8: Added 5MP Option for 8MP module. Thanks to Xperia-Ray for the tips!
UPDATE 9: Added Alternative Version for ICS which reduce (or eliminate?) choppiness while recording HD. Please Try and give me feedback. Thanks to Xperia-Ray for the tips!
UPDATE 10: MDPI version is split into Extreme and High version.
DOWNLOADS
Gingerbread MDPI Version Download link:
http://www.mediafire.com/?03uqm3ktyzcv7rk Extreme: For 14Mbps quality + 6Mbps VGA Quality + 100% JPEG Quality
http://www.mediafire.com/?ao5wnia6cmanv4d High: For 10Mbps quality + 4Mbps VGA Quality + 100% JPEG Quality
https://www.box.com/s/81039f09e6b3de792181 Stock File. Thanks to Till-Kruspe
Gingerbread HDPI Version Download link:
http://www.mediafire.com/?apnu5jm4fu8en6x Extreme: For 14Mbps quality + 6Mbps VGA Quality + 100% JPEG Quality
http://xdaforums.com/showpost.php?p=25165187&postcount=161 High: For 10Mbps quality + 4Mbps VGA Quality + 100% JPEG Quality + 5MP Still Capture, thanks to Xperia-Ray!
http://xdaforums.com/attachment.php?attachmentid=1007250&d=1334589298 Stock File. Thanks to Lightspeed_x
ICS Official HDPI Version Download link:
http://www.mediafire.com/?deuzi41qakbmljd Extreme: For 14Mbps quality + 6Mbps VGA Quality + 5MP Still Capture
http://www.mediafire.com/?goy888j58fystt9 High: For 10Mbps quality + 4Mbps VGA Quality + 5MP Still Capture
http://www.mediafire.com/?59tw5c5mfdrlmp2 Normal: For stock quality + 5MP Still Capture
ICS Official Version Alternate Video Codec Download link:
http://www.mediafire.com/?tbeg1yh1uk0laa3
G'day!
FAQ:
Q: My Recording is only up to 10Mbps even though i use 14Mbps pack
A: Change the following in etc/media_profiles.xml from:
to
Q: In ICS it's choppy!
A: Turn Off Video Stabilization, seems like the stabilization is done in software, causing stuttering. Hope somebody can fix the camera driver for that.
Q: The Sound is only mono? Help!
A: Change media_profiles.xml from
to
Q: How to change JPEG Compression value in ICS?
A: Change the following in etc/media_profiles.xml from:
to
These lines depend on how many cameras you get. There will be 2 camera setting if your device has front cam, so if you want to improve the front one, set the above twice to the respective parent tag.
sent from my white ray using XDA App
So, after searching around, i finally modded sony camera ui to have higher 10mbps bitrate @ 720p. It was not editable with media_profiles.xml because of the apk predefines the profile by itself, thanks to user Xperia-Ray user feedback on the next thread . So i altered the profile it needs for 720p. I chose at 10mbps to reduce hiccup or dropped frames and to comply with media_profiles.xml default bitrate cap.
As for photo quality, I think ics beta camera apk already gives you 90% compression value (file size@2.4MB) and think it can be modified simply from media_profiles.xml (since the apk only have 3 stepping of level, and after that the quality of 1-100 is determined by native code so no APK editing will solve that)
UPDATE: Added modified one for Gingerbread. Taken & Modded from Larut mod here. Thanks to him for 100% JPEQ Quality Mod
UPDATE 2: Added modified one for MDPI-devices Gingerbread.
UPDATE 3: MDPI Gingerbread updated, added override in JPEG Quality to 100%. apparently Gingerbread ignores media_profiles.xml.
UPDATE 4: Added Alternative Xperia Pro GB version.
UPDATE 5: Added new ICS 562 Leaked version based camera apk and 14Mbps quality.
UPDATE 6: Added new ICS 562 Official Nordic version with improvement of 14Mbps for 720p and 4Mbps for 480p.
UPDATE 7: ICS version Official is split into 2 option, Extreme Quality and High Quality, Extreme supports 14Mbps 720p + 6Mbps VGA Quality. while high is set at 10Mbps 720p + 4mbps VGA Quality.
UPDATE 7: Gingerbread version is split into 2 option, Extreme Quality and High Quality, Extreme supports 14Mbps 720p + 6Mbps VGA Quality. while high is set at 10Mbps 720p + 4mbps VGA Quality.
UPDATE 8: Added 5MP Option for 8MP module. Thanks to Xperia-Ray for the tips!
UPDATE 9: Added Alternative Version for ICS which reduce (or eliminate?) choppiness while recording HD. Please Try and give me feedback. Thanks to Xperia-Ray for the tips!
UPDATE 10: MDPI version is split into Extreme and High version.
DOWNLOADS
Gingerbread MDPI Version Download link:
http://www.mediafire.com/?03uqm3ktyzcv7rk Extreme: For 14Mbps quality + 6Mbps VGA Quality + 100% JPEG Quality
http://www.mediafire.com/?ao5wnia6cmanv4d High: For 10Mbps quality + 4Mbps VGA Quality + 100% JPEG Quality
https://www.box.com/s/81039f09e6b3de792181 Stock File. Thanks to Till-Kruspe
Gingerbread HDPI Version Download link:
http://www.mediafire.com/?apnu5jm4fu8en6x Extreme: For 14Mbps quality + 6Mbps VGA Quality + 100% JPEG Quality
http://xdaforums.com/showpost.php?p=25165187&postcount=161 High: For 10Mbps quality + 4Mbps VGA Quality + 100% JPEG Quality + 5MP Still Capture, thanks to Xperia-Ray!
http://xdaforums.com/attachment.php?attachmentid=1007250&d=1334589298 Stock File. Thanks to Lightspeed_x
ICS Official HDPI Version Download link:
http://www.mediafire.com/?deuzi41qakbmljd Extreme: For 14Mbps quality + 6Mbps VGA Quality + 5MP Still Capture
http://www.mediafire.com/?goy888j58fystt9 High: For 10Mbps quality + 4Mbps VGA Quality + 5MP Still Capture
http://www.mediafire.com/?59tw5c5mfdrlmp2 Normal: For stock quality + 5MP Still Capture
ICS Official Version Alternate Video Codec Download link:
http://www.mediafire.com/?tbeg1yh1uk0laa3
G'day!
FAQ:
Q: My Recording is only up to 10Mbps even though i use 14Mbps pack
A: Change the following in etc/media_profiles.xml from:
Code:
<VideoEncoderCap name="h264" enabled="true"
minBitRate="96000" maxBitRate="10000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="96000" maxBitRate="10000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
Code:
<VideoEncoderCap name="h264" enabled="true"
minBitRate="96000" maxBitRate="[COLOR="Red"]14000000[/COLOR]"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="96000" maxBitRate="[COLOR="Red"]14000000[/COLOR]"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
Q: In ICS it's choppy!
A: Turn Off Video Stabilization, seems like the stabilization is done in software, causing stuttering. Hope somebody can fix the camera driver for that.
Q: The Sound is only mono? Help!
A: Change media_profiles.xml from
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="[COLOR="Red"]2[/COLOR]" />
Q: How to change JPEG Compression value in ICS?
A: Change the following in etc/media_profiles.xml from:
Code:
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
Code:
<ImageEncoding quality="[COLOR="Red"]100[/COLOR]" />
<ImageEncoding quality="[COLOR="Red"]90[/COLOR]" /> [I]// This is the medium quality, u can set it to 100% to override if you wish[/I]
<ImageEncoding quality="[COLOR="Red"]80[/COLOR]" /> [I]// This is the low quality, u can set it to 100% to override if you wish[/I]
<ImageDecoding memCap="[COLOR="Red"]30000000[/COLOR]" />
These lines depend on how many cameras you get. There will be 2 camera setting if your device has front cam, so if you want to improve the front one, set the above twice to the respective parent tag.
sent from my white ray using XDA App
Last edited: