Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP hansip87

28th March 2012, 06:22 PM   |  #1  
hansip87's Avatar
OP Senior Member
Flag Jakarta
Thanks Meter: 1,899
 
2,576 posts
Join Date:Joined: Jan 2011
Donate to Me
More
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
Last edited by hansip87; 25th April 2012 at 07:56 PM.
The Following 138 Users Say Thank You to hansip87 For This Useful Post: [ View ]
28th March 2012, 07:43 PM   |  #2  
Member
Flag Ho Chi Minh city
Thanks Meter: 6
 
39 posts
Join Date:Joined: Feb 2012
Oh, thanks you so much!
Last edited by luuduchoanganh; 28th March 2012 at 07:54 PM.
29th March 2012, 04:16 AM   |  #3  
Recognized Developer
Flag Rawalpindi
Thanks Meter: 4,167
 
2,699 posts
Join Date:Joined: May 2011
More
Great work hansip, Now thats a Truely working Mod...

Short of thanks for today...
The Following 2 Users Say Thank You to jjdoctor For This Useful Post: [ View ]
29th March 2012, 04:48 AM   |  #4  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: Nov 2011
Question
Quote:
Originally Posted by hansip87

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??
29th March 2012, 06:16 AM   |  #5  
hansip87's Avatar
OP Senior Member
Flag Jakarta
Thanks Meter: 1,899
 
2,576 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by hjf9259

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
The Following 2 Users Say Thank You to hansip87 For This Useful Post: [ View ]
29th March 2012, 06:23 AM   |  #6  
sirkay's Avatar
Senior Member
Flag KL
Thanks Meter: 2,136
 
1,642 posts
Join Date:Joined: Mar 2011
Donate to Me
More
yeah he just got nothing to do .. he definitely do OVERTIME
c'mon give him the apk!
29th March 2012, 09:06 AM   |  #7  
Senior Member
Thanks Meter: 324
 
305 posts
Join Date:Joined: Jan 2012
Quote:
Originally Posted by hansip87

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.
Last edited by Xperia-Ray; 29th March 2012 at 09:13 AM.
The Following User Says Thank You to Xperia-Ray For This Useful Post: [ View ]
29th March 2012, 10:36 AM   |  #8  
hansip87's Avatar
OP Senior Member
Flag Jakarta
Thanks Meter: 1,899
 
2,576 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by Xperia-Ray

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.
The Following 2 Users Say Thank You to hansip87 For This Useful Post: [ View ]
29th March 2012, 01:22 PM   |  #9  
Senior Member
Thanks Meter: 324
 
305 posts
Join Date:Joined: Jan 2012
Quote:
Originally Posted by hansip87

Ok already added now Please try and report back if there's an issue with that.

Works perfectlly! Thank U
29th March 2012, 06:06 PM   |  #10  
JoHnNy08PL's Avatar
Senior Member
Flag Bydgoszcz
Thanks Meter: 108
 
426 posts
Join Date:Joined: Oct 2010
More
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.

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes