Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,606 Members 48,605 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][ICS&GB][4/26/12]Camera HQ Mod: Extreme vs High (UPD: MDPI GB version updated)

Tip us?
 
hansip87
Old
(Last edited by hansip87; 25th April 2012 at 06:56 PM.)
#1  
hansip87's Avatar
Senior Member - OP
Thanks Meter 1,742
Posts: 2,484
Join Date: Jan 2011
Location: Jakarta

 
DONATE TO ME
Thumbs up [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://forum.xda-developers.com/show...&postcount=161 High: For 10Mbps quality + 4Mbps VGA Quality + 100% JPEG Quality + 5MP Still Capture, thanks to Xperia-Ray!
http://forum.xda-developers.com/atta...0&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" />
to
Code:
<VideoEncoderCap name="h264" enabled="true"
minBitRate="96000" maxBitRate="14000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />

<VideoEncoderCap name="m4v" enabled="true"
minBitRate="96000" maxBitRate="14000000"
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" />
to
Code:
<AudioEncoderCap name="aac" enabled="true"
        minBitRate="128000" maxBitRate="128000"
        minSampleRate="48000" maxSampleRate="48000"
        minChannels="1" maxChannels="2" />
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" />
to
Code:
<ImageEncoding quality="100" />
<ImageEncoding quality="90" />  // This is the medium quality, u can set it to 100% to override if you wish
<ImageEncoding quality="80" /> // This is the low quality, u can set it to 100% to override if you wish
<ImageDecoding memCap="30000000" />
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
Love to Mod, Love to Experiment,
Sony Fanatic



My App Project:
Fast App Switcher Small App
System Monitor Small App


Phone History:
Nokia 6233 - Sony Ericsson K700i - SE Xperia X10 Mini Pro - SE Xperia Ray - Motorola RAZR Maxx - Xperia Z Ultra



The Following 136 Users Say Thank You to hansip87 For This Useful Post: [ Click to Expand ]
 
luuduchoanganh
Old
(Last edited by luuduchoanganh; 28th March 2012 at 06:54 PM.)
#2  
Member
Thanks Meter 6
Posts: 39
Join Date: Feb 2012
Location: Ho Chi Minh city
Oh, thanks you so much!
 
jjdoctor
Old
#3  
Recognized Developer
Thanks Meter 4,153
Posts: 2,693
Join Date: May 2011
Location: Rawalpindi

 
DONATE TO ME
Great work hansip, Now thats a Truely working Mod...

Short of thanks for today...



PLEASE DO NOT MESSAGE (PM) ME 4 QUESTIONS OR REQUESTS. POST IN RELEVANT THREAD & I WILLB GLAD 2 REPLY THERE
The Following 2 Users Say Thank You to jjdoctor For This Useful Post: [ Click to Expand ]
 
hjf9259
Old
#4  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Nov 2011
Quote:
Originally Posted by hansip87 View Post
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. 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)

Ok it's uploaded now, flash thru CWM & have a fun time!

G'day!

sent from my white ray using XDA App
great work!!thx!
but can it run in 2.3 firmware??
 
hansip87
Old
#5  
hansip87's Avatar
Senior Member - OP
Thanks Meter 1,742
Posts: 2,484
Join Date: Jan 2011
Location: Jakarta

 
DONATE TO ME
Quote:
Originally Posted by hjf9259 View Post
great work!!thx!
but can it run in 2.3 firmware??
Unfortunately no. But I can build one if someone lend me the apk.

sent from my white ray using XDA App
Love to Mod, Love to Experiment,
Sony Fanatic



My App Project:
Fast App Switcher Small App
System Monitor Small App


Phone History:
Nokia 6233 - Sony Ericsson K700i - SE Xperia X10 Mini Pro - SE Xperia Ray - Motorola RAZR Maxx - Xperia Z Ultra



The Following 2 Users Say Thank You to hansip87 For This Useful Post: [ Click to Expand ]
 
sirkay
Old
#6  
sirkay's Avatar
Senior Member
Thanks Meter 2,136
Posts: 1,642
Join Date: Mar 2011
Location: KL

 
DONATE TO ME
yeah he just got nothing to do .. he definitely do OVERTIME
c'mon give him the apk!

HTML Code:
[IMG]https://dl.dropbox.com/u/39034447/sigs.png[/IMG]
| Sony Ericsson W880i
xKernel Ray | xKernel Arc | xKernel Neo | xKernel V?? coming soon | Git | Basebands
 
Xperia-Ray
Old
(Last edited by Xperia-Ray; 29th March 2012 at 08:13 AM.)
#7  
Senior Member
Thanks Meter 306
Posts: 300
Join Date: Jan 2012
Quote:
Originally Posted by hansip87 View Post
Unfortunately no. But I can build one if someone lend me the apk.

sent from my white ray using XDA App
Finally!! Thank you, please check my post on same subject
http://forum.xda-developers.com/show...41&postcount=6

There is the link for the moded camera with quality mod (2.4 mb pics) pliz mod it to use 10Mbs

The phone can support up to 13mbs with lgcamera apk@ 30fps.
10Mbs will be enough.

P.s do you know what would happen if you enable wmv,wma in the media_profiles?
Can we record at this format?
I didnt try to enable it because I read someone got boot loop. I still dont have backup and flash tools.
The Following User Says Thank You to Xperia-Ray For This Useful Post: [ Click to Expand ]
 
hansip87
Old
#8  
hansip87's Avatar
Senior Member - OP
Thanks Meter 1,742
Posts: 2,484
Join Date: Jan 2011
Location: Jakarta

 
DONATE TO ME
Quote:
Originally Posted by Xperia-Ray View Post
Finally!! Thank you, please check my post on same subject
http://forum.xda-developers.com/show...41&postcount=6

There is the link for the moded camera with quality mod (2.4 mb pics) pliz mod it to use 10Mbs

The phone can support up to 13mbs with lgcamera apk@ 30fps.
10Mbs will be enough.

P.s do you know what would happen if you enable wmv,wma in the media_profiles?
Can we record at this format?
I didnt try to enable it because I read someone got boot loop. I still dont have backup and flash tools.
Ok already added now Please try and report back if there's an issue with that.
Love to Mod, Love to Experiment,
Sony Fanatic



My App Project:
Fast App Switcher Small App
System Monitor Small App


Phone History:
Nokia 6233 - Sony Ericsson K700i - SE Xperia X10 Mini Pro - SE Xperia Ray - Motorola RAZR Maxx - Xperia Z Ultra



The Following 2 Users Say Thank You to hansip87 For This Useful Post: [ Click to Expand ]
 
Xperia-Ray
Old
#9  
Senior Member
Thanks Meter 306
Posts: 300
Join Date: Jan 2012
Quote:
Originally Posted by hansip87 View Post
Ok already added now Please try and report back if there's an issue with that.
Works perfectlly! Thank U
 
JoHnNy08PL
Old
#10  
JoHnNy08PL's Avatar
Senior Member
Thanks Meter 107
Posts: 424
Join Date: Oct 2010
Location: Bydgoszcz
On the EXIF's there is no change. Everything is the same.
On Neo V photos are approximately 3 times bigger (0.5MB->1.5MB)

At videos there is change in info only about bitrate
Stock Bit rate : 5 993 Kbps
Custom Bit rate : 9 986 Kbps
And the size of videos is approximately 2 times bigger - in my test 15 sec movie at stock was ~11MB, at custom it was ~20MB.
Differences... I just did one shot of photo and video and weather sucks so there is no very good visible details.

FW: Sense 5@SD ROM Audio: a-JAYS Two@PowerAMP

Tags
camera hq mod, xperia hdpi mdpi
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes