[MOD] Stock camera mod LG GB V20e/i/j/l: No shutter sounds & improved Pic/Vid quality - LG Optimus 2x

[MOD] Stock camera mod LG GB V20e/i/j/l: No shutter sounds & improved Pic/Vid quality
Hi folks,
I modded the stock LG Camera-app and implemented new features.
Every improvement (except 16:[email protected]) is working seamlessly with this mod. Please find the list of improvements below.
I also included the "media_profiles.xml" in the package.
V1.0 is based on V20e and can be used up to V20e.
V2.x is based on V20l and can be used from V20i onwards.
Please find the modded camera apps attached to this post. Enjoy!
Installation Instructions:
Flash the attached zip with CWM ("install zip from sd-card" --> "choose zip from sd-card").
I modded the following (in every version of the mod):
Disabled shutter & AF sounds (picture & video) - timer sounds are still enabled (on purpose --> no change!)
Increased preview fps to 40 (--> reduced page tearing)
Picture quality:
Set normal picture quality to 80 (= 20% compression)
Set fine picture quality to 90 (= 10% compression)
Set superfine picture quality to 100 (= 0% compression)
Video quality 1080p:
Set FPS from 24 to 30 (varies a little, similar to stock LG app)
Set normal video quality from 5Mbps to 7Mbps (= fine in stock LG app)
Set fine video quality from 7Mbps to 12Mbps
Set superfine video quality from 9Mbps to 17Mbps
Video quality 720p:
Set normal video quality from 2Mbps to 4Mbps (= superfine in stock LG app)
Set fine video quality from 3Mbps to 9Mbps
Set superfine video quality from 4Mbps to 14Mbps
Additional changes in the V2.x (V20l) mod are the following:
Changed 5MP picture resolution to 6MP 16:9 (3264 x 1840) - Implemented additional preview setting logic; AR not correct yet! trying to fix it.
Increased video bit rate for VGA (improves esp. quality of videos recorded by the front cam):
- Superfine from 1.5 Mbps to 5 Mbps
- Fine from 1.2 Mbps to 3 Mbps
- Normal from 768 kbps to 1.5 Mbps
Persistent flash mode setting (i.e. last flash mode is being saved; default mode is off)
DCF compliance (adopted DCF requirements like directory- and filenames)
Storage path changed to "DCIM/CAMERA/" (DCF compliant)
Removed closing/ not starting on low battery (still shows a toast to remind you on your low charge though)
Shutter-sound menu adjusted/ fixed (only option now: "Off")
Several changes in German translations
Modded further resources
Additional changes in V2.1:
Increased video bit rate for 1080p:
- Superfine: 20Mbps
- Fine: 17Mbps
- Normal: 12Mbps
Increased audio bit rate to 128kbps for 1080p and 720p
Increased audio sampling rate to 44.1kHz for 1080p and 720p
Persistent focus mode setting (focus mode is being saved)
Persistent GPS setting (GPS mode is being saved)
Music keeps on playing (removed auto-pause music on app start)
Implemented ODEX fix for odexed roms (Camera.odex is being deleted automatically)
Fixed DCF compliance for video filenames (missing underscore)
ToDo:
Fix AR for 16:9 @ 6MP
Adjust preview size for 16:9 pictures
Optimize code for better performance
The rest is still stock.
PS:
1. If you have a darker icon for your camera app, then update script worked like it should!
2. If this is useful for you, hit the "Thanks" button on the lower right!
3. If you cook this mod in your rom, please give proper reference to this thread in the list of included features and in your change log!

yeaaaaaaaaaaah, thank you very much

Froyo compatible?

Installed it succesfully on 20e, but i can not see any difference in quality. Blown up the fotos taken before and after the mod, but no difference at all.
What should be the improvement, i ask myself.

Main differences are on video mode. Original LG couldn't take very high quality/bitrates video in high resolutions...
Very nice thing to have this plus stock features as panoramic images for example (not present in CM 7).
Great and fast job!!!
O2X withTopogigi ROM 1.5/NeoBlaze kernel

Lo_RaT_PeNaT said:
yeaaaaaaaaaaah, thank you very much
Click to expand...
Click to collapse
You're welcome mate
Mediax said:
Froyo compatible?
Click to expand...
Click to collapse
No. For Froyo you can use somemadcaaant's mod.
mach2005 said:
Installed it succesfully on 20e, but i can not see any difference in quality. Blown up the fotos taken before and after the mod, but no difference at all.
What should be the improvement, i ask myself.
Click to expand...
Click to collapse
If you compare just few pics, you probably won't see a difference. But technically speaking there is quite a difference (jpeg compression i.e. picture quality was changed from 90 to 100 in superfine setting - if you're familiar with image editing of any sort, you know what I'm talking about). You can use fine/ normal quality to limit file sizes though.
Additionally picture quality is just one (small) part, video quality (incl. fps) and removed shutter & auto-focus sounds the other
Striatum_bdr said:
Main differences are on video mode. Original LG couldn't take very high quality/bitrates video in high resolutions...
Very nice thing to have this plus stock features as panoramic images for example (not present in CM 7).
Great and fast job!!!
O2X withTopogigi ROM 1.5/NeoBlaze kernel
Click to expand...
Click to collapse
Correct. Thank you!

Great job, much appreciated!
Sent from my LG-P990 using XDA App

Hi,
thanks for that mod!!
But i have a question. Is it possible to increase the fps for 720p for getting good slowmotions?
thx

@AndiCP
Is there a chance to add "touch to focus" in video recording ? or some autoF in camcorder?

action294 said:
Great job, much appreciated!
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Thank you!
dickeplatte said:
Hi,
thanks for that mod!!
But i have a question. Is it possible to increase the fps for 720p for getting good slowmotions?
thx
Click to expand...
Click to collapse
I'll try that in the next few days, but I think it won't work due to limitation in the kernel (max fps=30, otherwise reverting to standard fps).
petyo.tsanov said:
@AndiCP
Is there a chance to add "touch to focus" in video recording ? or some autoF in camcorder?
Click to expand...
Click to collapse
Let me see what I can do. Constant AF is not a target for me though, as the only effect would be AF-pumping (AF constantly analyzing the whole focus range to get the sharpest picture).

Possible future to do list:
-Option to pause video while recording, similar to Nokia N8 feature.
-Enhance tweak for Photo quality higher bitrate.
Is possible? Tks

Lo_RaT_PeNaT said:
Possible future to do list:
-Option to pause video while recording, similar to Nokia N8 feature.
-Enhance tweak for Photo quality higher bitrate.
Is possible? Tks
Click to expand...
Click to collapse
And it could be very useful an option to take 16:9 pictures.
Nice work guys!

Further Development
Picture quality (in terms of compression) is maxed already.
Pause mode is not possible, because it is not implemented in the API (only start & stop are).
Same goes for a non-pumping AF during video recording (not supported by API).
But I have 16:9 format for pictures and a 60 FPS mode for 720p on my list
Let's see when I can find some time to play with it...I'll keep you updated.

question...will this mod work if i'm using a CM7 or should i use this with a stock rom ?

AndiCP said:
But I have 16:9 format for pictures and a 60 FPS mode for 720p on my list
Let's see when I can find some time to play with it...I'll keep you updated.
Click to expand...
Click to collapse
sounds good
looking forward to 720p60

AndiCP said:
But I have 16:9 format for pictures and a 60 FPS mode for 720p on my list
Let's see when I can find some time to play with it...I'll keep you updated.
Click to expand...
Click to collapse
Great!!! Thx a lot!

Thanks! Working perfectly with the 20E version!

is it ok with v20c leak GB ? because i used Flair GB v3 rom atm..
update: tested already.. it's fine.. looks better for video as not lagging as before..

720p60 would be good, but 1080p24 would be very welcome too. And, I guess, easier to make

Thanks for this great Mod
The 16:9 will be amazing feature as it is a lot better to watch pics in 16:9 dipslay, which became a standard
The 720p at 60 fps will give some nice effects

Related

[MOD][CAM] Stock froyo LG Camera 1080p @ 30fps @ 17 mb bitrate @ 128kbp/44khz

Moved from thread to make it easier for me to keep tabs:
http://forum.xda-developers.com/showthread.php?t=1055026
Working LG Camera mod Latest [Camera-1.1.3.4].
Recomended version for froyo:
Camera-1.1.3.4_44-96.zip
Video enhancements:
-1080p @ 30fps in all quality settings.
-No recording sound fix.
-Memory buffer increase for extra speed (no real impact)
-Audio bitrate increased from 64kbps to 128kbps for 720p, 96kbps for 1080p and sample rate increased from 22khz to 44khz for all bitrates - should fix crackling sound experienced by some.
-Increased (Variable) video quality for 1080p and 720p:
(Found under video quality in the menu for each resolution)
-1080P SUPER_FINE_ENCODER_BITRATE 9mb to 17mb
-1080P FINE_ENCODER_BITRATE 7mb to 14mb
-1080P NORMAL_ENCODER_BITRATE 5mb to 11mb
-720P SUPER_FINE_ENCODER_BITRATE 4mb to 13mb
-720P FINE_ENCODER_BITRATE 3mb to 11mb
-720P NORMAL_ENCODER_BITRATE 2mb to 9mb
-Increased video preview fps to 40fps to decrease screen tearing while recording.
Image enhancements:
-Attempt to increase image resolution for 8mp.
-Attempt at brightness fix.
-Increased quality setting file size (doubled).
GPS fix/tweak for Australian residence:
-GPS_FasterFix_Oceania.zip
To install:
No need to rename the zip, just copy to sdcard, boot to CMW, select "install zip from sdcard" then select "choose zip from sdcard" and flash.
or
Extract the camera.apk from the required zip file, copy to memory card and use root explorer to delete current camera.apk file then copy to system/app folder.
Possible future to do list:
-Enable Continuous Autofocus in video recording option.
-Enhance tweak for Photo quality higher bitrate.
-Tweak custom camera options to stick once restarted stored here:
/data/data/com.android.camera/shared_prefs/arc_camera_prefs.xml
-60fps mod (should be interesting, aim is for 720p).
-Custom requests.
-Add user configurable settings in menu.
-Transparent menu?
-Fix for bottom black bar covering setting menu image in video mode.
-Raw image file format.
-Option to pause video while recording, similar to Nokia N8 feature.
Note:
-Reports state working with 64mb mod kernels, use compatible version Camera-1.1.3.4_22-64.zip.
-Currently only working for froyo/stock/modaco roms.
-Use Camera-1.1.3.4_22-64.zip if any1 is having audio issues with new build, 22khz/64kbps.
-GPS_FasterFix_Oceania.zip flash in CWM.
-3 builds:
Camera-1.1.3.4_44-128.zip - @ 17mb + highest quality audio 44khz/128kbps, (some have experienced crackling in recordings tho not myself).
Camera-1.1.3.4_44-96.zip - @ 17mb + Normal quality audio 44khz/96kbps, best compromise between avg fps and sound quality.
Camera-1.1.3.4_22-64.zip - @ 17mb + default stock audio 22khz/64kbps for original LG build + my tweaks.
Give credit to whom ever mods this if using in roms etc, if you wish to make a mod or help mod feel free to drop me a line and i can assist you.
Here is the CM7 camera mod, 1080p @ 30fps @ 20mb + AutoFocus by Lejay:
http://forum.xda-developers.com/showthread.php?t=1094424
Here is the modded Gingerbread (Pauls Gr1) camera mod by AndiCP:
http://forum.xda-developers.com/showpost.php?p=16653925&postcount=1
Edit:2012/06/18
Added LG Esteem fps camera tweaks | LG ZVD 2.7 | Gingerbread 2.3.4
Old:
http://forum.xda-developers.com/showthread.php?t=1089228
Thanx to all for the compliments, very much appreciated 8)
-smc
of coz this is good, but what is the disadvantages of this?
Not to much hopefully, definately a reduced memory card capacity tho as files are BIG.
Still working out the best bitrate to use for video recording, I think 720p could be reduced by half 8mb as it makes almost zero difference to quality imho, what do you think?
-smc
somemadcaaant said:
Not to much hopefully, definately a reduced memory card capacity tho as files are BIG.
Still working out the best bitrate to use for video recording, I think 720p could be reduced by half 8mb as it makes almost zero difference to quality imho, what do you think?
-smc
Click to expand...
Click to collapse
Make a clip of [email protected] and put it on YouTube?
could you upload the APK with the 30fps recording and 19mbps ?
I can't see the download link.
somemadcaaant said:
Move from thread to make it easier for me to keep tabs:
.....
-smc
Click to expand...
Click to collapse
somemadcaaant, could you inrease audio bitrate as well for better quality?
Oh my, you actually did it . Awesome work.
Only problem is that now I have to flash away from cm7 to check it out .
I'm pleasantly surprised the hardware is actually capable of it.
didnt work at cm, get fc
but... where's the download link?
n3n00 said:
Make a clip of [email protected] and put it on YouTube?
Click to expand...
Click to collapse
There you go
Video: http://goo.gl/tcNBp
Info: http://db.tt/LbBegYe
Sorry just modifying a new build, link is now up, I tried to make the bitrates more modest thru out 720p and 1080p.
I'll add higher audio probs tomorrow, i need a break lol
-smc
TheMorpheus said:
There you go
Video: http://goo.gl/tcNBp
Info: http://db.tt/LbBegYe
Click to expand...
Click to collapse
Wow look at the min fps @ 23,148 fps there.
-smc
Just replaced the default Camere with this one in my roms, thanks
Thank you, what is exactly name the folder? Where i put this modded apps? I can´t search system folder.
I'm just getting an fc when trying to run the camera app.. Which exact rom are you running?
All I want is just haven auto focus while recording.
carreaum said:
Thank you, what is exactly name the folder? Where i put this modded apps? I can´t search system folder.
Click to expand...
Click to collapse
i made zip file for installing in recovery, here you go :
Camera
ranrick said:
All I want is just haven auto focus while recording.
Click to expand...
Click to collapse
Well... There is one setting that looks very interesting regarding that.
Anyone got audio sync problems? Got it on my first recording.
Sent from my LG-P990 using Tapatalk
Sckank said:
Anyone got audio sync problems? Got it on my first recording.
Sent from my LG-P990 using Tapatalk
Click to expand...
Click to collapse
Which rom? I'm flashing left and right here, trying to hit something that works.

cam + camcorder improvements wishlist

Hello all dear hard working Dev's,
I've started this thread for adding new features in camera for next cyan mod update
my wish list is as follows :-
1.)Continues auto focus in video.
2.)Constant frame rate in video recording (when we go to dark areas, fps gets lowered and brightness decreases)
3.)torch mode in camera(when we snap a closer object, the image goes perfect blank/white)
4.)reduced compression in both photos and videos and increase in size(the vignette app produces about 3MB images while main cam takes only 1.5MB max)
IT DOEN'T MATTER IF tHE ROM IS FROYO OR GINGERBREAD(for me)

i9000 media_profiles.xml CM10.1 framerate reduction for brighter videos in the dark

Hi, I want to create another profile in media_profiles.xml (or edit existing one, 480p for example)for recording in dark environment.
I succesfully changed audio and video quality, but I can't decrease framerate for brighter videos (camera FCor I can't press record button). I know, that is possible - http://forum.xda-developers.com/showthread.php?t=1583259 (yes yes, stock rom and another variation od i9000 series, but this mod is based on the same thing as I wrote - brighter videos by lowering framerate .. and it works - I had this phone before)
quote:
If you limit the framerate to a minimum of 30fps, the video can become very dark when there is not enough light. If you lower this limit to - say - 10 fps, the video will be brighter in low light, but it will be "laggy" and because each frame is exposed longer than at 30 fps, blur will be more likely. Both is inevitable, but in my opinion still better than a black video
I will be grateful for any help, it is really important for me, because I often organizing a underground parties,
and I want to promote it, so I'm doing a video report from them and... audio quality is superb (better than S3 or S4!),
but (as I said - underground parties) it is dark, there is only a strobe, small light for artists and nothing else, so ... almost nothing can be seen on my recordings

Recording with constant framerate (LOS)

Hey guys!
I'm currently using nvertigo67's LAS for the 1+3T, which comes with OOS camera pre-installed.
It works extremely nice, except for one thing. It does record 1080p in 60fps, however with a variable framerate. I asked the dev. if he knew any way to change it to record at a constant 60fps, to which he said he doesn't know much about changing codec settings (post 1 & 2)
Do any of you know what I should try to do to be able to record with a constant framerate?
Lada333 said:
Hey guys!
I'm currently using nvertigo67's LAS for the 1+3T, which comes with OOS camera pre-installed.
It works extremely nice, except for one thing. It does record 1080p in 60fps, however with a variable framerate. I asked the dev. if he knew any way to change it to record at a constant 60fps, to which he said he doesn't know much about changing codec settings (post 1 & 2)
Do any of you know what I should try to do to be able to record with a constant framerate?
Click to expand...
Click to collapse
use a camera app where you can lock the ambient brightness like open camera. then try to lower the ambient brightness shown in the camera by holding the camera to a bright spot and press on the lock. this changes the iso so the framerate rises and by locking it it will stay on that framerate constantly. ofc you can also use a camera app where you can choose between different iso values.
but for me oss camera has allways same framerate no matter what light conditions. your issue might be kernel related. low performance maybe. or some apps consuming cpu in the background
nadejo said:
use a camera app where you can lock the ambient brightness like open camera. then try to lower the ambient brightness shown in the camera by holding the camera to a bright spot and press on the lock. this changes the iso so the framerate rises and by locking it it will stay on that framerate constantly. ofc you can also use a camera app where you can choose between different iso values.
but for me oss camera has allways same framerate no matter what light conditions. your issue might be kernel related. low performance maybe. or some apps consuming cpu in the background
Click to expand...
Click to collapse
I have tried Open Camera, unfortunately it doesn't go above 30 fps, even when selecting 60 as the approximate frame rate.
The developer told me it's how the encoder works (please see "post 1 & 2" I have linked in my first post, he explains it there pretty well.)
OOS camera worked for me well too, while I was actually using OOS. The AOSP camera doesn't support 60fps recording either.

Question No 60 FPS video recording at all

The phone has no option to record at 60 fps. Am I missing something or this flagship cannot record at 60fps?
GamerArc said:
The phone has no option to record at 60 fps. Am I missing something or this flagship cannot record at 60fps?
Click to expand...
Click to collapse
Open the Camera app.
Go to Video mode.
At the top of the screen, where it appears de screen-ratio icon (9:16 or an square icon), thereis a little horizontal bar just below that icon. Scroll it down.
There it will appear more options like selecting resolution 8k, 4k, FHD and also FPS.
60 fps does not work with 8K and I have to say that there is some bug recording at 60ps (4k or 1080p). It will not focus properly, but try it.
Oh thank you very much bro..I would have never found it if not for you. And yes you are right, the camera is not able to focus.
I find this issue even with photos. Like when I want to take a close up photo of a document or an object the camera won't fo us properly.
I hope Motorola knows about this bug that focus on camera is totally broken.

Categories

Resources