yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] _schoba_:
i just tested the 1.1k zip version

First i tested the 1080 recording at superfine:

now videos are soo smooth, and quality is better!

also recognised that audio quality increased to a awesome level, now you can record a video with some music and replay them on a PC with a good audio device and it sounds really great!

while you are recording a video , there is a noticeable stutter, the same while playing this video ON the phone

( i think that is the really high bitrate in combination with 1080p) but i dont really care

also after recording at 1080p with any video quality , there is a blackscreen instead of the last picture of that video

now you can go to the album or to the photo modus, but if you try to record another clip, the display is sometimes black and you have to go to the camera modus and back to video modus, then the display is normal, and now it is not possible to record a video? i press the button, and after 1 second the button goes to unpressed and nothing happens...

after this it is not possible to record any video with any settings, and after playing around a little the camera app stuck and i had to pull out my battery.

ALL other resolutions at any quality works perfect, only the 1080p has this problem!

So you did a really good work, there are only problems at 1080...

Thanks a lot!

BTW, settings are all at automatic, and store to the internal sd

I am on MoDaCo FR17 64MB+ Gilg@mesh Edition 1.7

And sorry for my bad english...:o
[LG Optimus 2x] maddafaka:
I have a question!

before I apply the zip in cwm, do I have to remove the camera app or just simply flash zip and that's all??

Thx for answer and the nice work!!! :)
[LG Optimus 2x] _schoba_:
just simply flash zip and that's all!
[LG Optimus 2x] maddafaka:
thx Bro! :)
[LG Optimus 2x] stevvie:
Nice mod, working great here using fear 10 rom based on Fr17: MoDaCo Custom ROM.

all I did was on the PC used android commander to delete system/app/camera.apk then copied/pushed (using Android Commander) this one renamed to camera.apk to system/app. and no FC no audio sync probs, but there again I'm saving on my class10 sd card.
[LG Optimus 2x] HD2MAX:
@Somemadcaaant

Can integrate modes for photos on widescreen format?, so we can see on gallery in full screen, as in htc

Example:

16/9 4MP

2592x1552

etc

this would be very interesting
[LG Optimus 2x] nathsgames:
This is amazing work! Well done!!

I'm going to flash this right away!

Fear 10, Eternity Kernel @ 1.2Ghz, 64MB RAM hack.
[LG Optimus 2x] CaFFeiNe666:
probably your problem is 64mb hack, it gave some problems on some devices with standard settings, gallery problems etc...

probably this hjack needing more power, gives more problems... don't know
[LG Optimus 2x] fajarep:
i just wanna thanks for your camera patch, my camera gets better, more focus on low light capture, and more smooth when video recording, including sound.., good patch..
[LG Optimus 2x] somemadcaaant:
As with CaFFeiNe666 said, the symptoms you describe could be a side effect with the 64k hack which is not good, i've been testing today and haven't experienced the issues u stated so i'm guessing a reduced version will probably fix it, make it faster for the smaller frame buffer.

I have experienced some stutter also in testing today with the new sound bitrate, I think we will have good sound at 64kbps+44khz if I reduce it in next version, the codec limitation is 22khz+64kbps max and 44khz+128kbps max, not sure is audo is done by hardware/software but im leaning towards software on the cpu.

I really wanted 22khz+128kbps to be honest and I don't like stutter at all, are we all experiencing stutter now? Is any1 using the older version and still experiencing stutter?

-smc
[LG Optimus 2x] somemadcaaant:
@ _schoba_

Can you test the 1.1g version for me? Or any1 with a 64mb ram hack for their rom?

Damn I must change the file versions, was initially only going to be 1.1a and 1.1b lol

-smc
[LG Optimus 2x] johnnydj:
it's time for 1.2 lol :D

oh btw I'm curious to see how the phone can handle 60fps with 720p

we will soon make a slow motion camera (worth of thousands of dollars) out of our phones =))

I tested the 1.1g with ram hack and works fine.

tho I switched back now to no ram hack with 1.1k
[LG Optimus 2x] nathsgames:
I have ram hack, Fear 10 ROM running at 1.2Ghz and have the 1.1k patch loaded and very happy with this outcome!

The sound I noticed was slightly crackly when playing back on the phone, but was perfect when played back on the PC...

Youtube quick test sitting in my office chair... not much action but you can see the smoothness and the quality http://youtu.be/XR97i6t4UPg?hd=1
[LG Optimus 2x] altemirx:
Thanks for great work! Can You improve photo quality: filters, noise, white balance, sharpen, colors, etc? This is independent and big work.
[LG Optimus 2x] h1o:
Patch,Video with autofocus continue?
[LG Optimus 2x] geirbergmann:
I try to flash the .zip file, but i think i still have the original camera app? Tried to rename it to camera.zip too, but no luck. Did not uninstall the original camera first. Any help? :)
[LG Optimus 2x] CaFFeiNe666:
you answered yourself
[LG Optimus 2x] somemadcaaant:
Yep noticed the same, thought when i got home and played on my pc they would stutter as they did slightly on the phone, but running better then expected, seems to be just the limitations of the phone to play back.

I took dozens of videos in different light sources today and was still getting only low frame rates of 20 to 24 with average 29, very happy and i don't think a quality change is needed unless ppl want better fps for play and lower file sizes on the phone.

-smc
[LG Optimus 2x] johnnydj:
you don't have to uninstall if you're flashing the zip from recovery.

just get into recovery, select the zip and flash it.

you will have the newer version.
[LG Optimus 2x] johnnydj:
I don't think disc space is a problem... I mean damn... we can have up to 32gb cards lol

But, you can probably reduce the bitrate on 1080p super fine from 19mbps to 14mbps and scale the others down from there.
[LG Optimus 2x] somemadcaaant:
Yep I'll take a look at it shortly.

-smc
[LG Optimus 2x] Ben86:
Made another video with latest camera hack 1.1k:

http://www.youtube.com/watch?v=662vpv0cHII

Rom details are given in description
[LG Optimus 2x] geirbergmann:
thats what i did... But it looks just like the original.
[LG Optimus 2x] n3n00:
That is pretty.... GREAT!
[LG Optimus 2x] geirbergmann:
Uninstalled the original camera app and flashed 1.1.

In astro file i still find camera 1.0.. Strange.

But i think i have the new one now, but audio out of sync in 1080?

And isnt it suppose to be more settings in 1.1?
[LG Optimus 2x] johnnydj:
the applications version isn't changed...

it's only a theoretical change in the version.

there's no additional settings.

everything looks the same, but the quality of the videos are increased.

record a video, copy it to your PC, then right click on the file, hit properties and then the details tab. you should see 44khz 128kbps and 19000mbps there.
[LG Optimus 2x] somemadcaaant:
Yeah true good points, do we want to be beaten by the SGS2 tho with it's 17mb compression? I'm conflicted lol 8)

-smc
[LG Optimus 2x] somemadcaaant:
Yep settings are hard coded for the moment, good idea tho to add user changeable settings, will add it to the list!

-smc
[LG Optimus 2x] Beeklaan:
Great job!

The sound isn't sync.... Like a sec before actual.

How can i put the old one back?

Edit: It seems to be sync when i play it on my PC with VLC media player...

Great great great video performance boost!
[LG Optimus 2x] nathsgames:
After my post above, yes I do have crackling sound you can hear it in my video http://www.youtube.com/watch?v=XR97i6t4UPg
[LG Optimus 2x] 75markus:
it seems like 19mb bitrate is a little to much for playing videos on our device ...

i also have the audio/video sync problems when playing videos right on the phone

perhaps 15mb bitrate could be worth testing ?
[LG Optimus 2x] Ben86:
please add a instruction for the fellows who dont know what to do. for me worked the following:

Root, titanium backup and roo explorer are requiered (i tested with modaco roms)

- download camera hack and rename the apk to Camera.apk

- copy the renamed Camera.apk to your device (i did so to root of internal sd)

- use titanium backup to uninstall stock camera (in german its called "Kamera", i guess for engish laguage it will be called "Camera")

- use root explorer in R/W mode (upper right corner is the button for this)

-- go to /system/app and be sure there is no more apk like Camera.apk

-- if so copy the renamed Camera.apk into this dictionary

- reboot device and there will be a new shortcut in appslist
[LG Optimus 2x] Bebob_NL:
Or you could use CWM and push the zip file. :)
[LG Optimus 2x] erikku:
I just want to confirm that it also works on the T-Mobile G2X using Dark & Sinister ROM. ;):):D:p
[LG Optimus 2x] CaFFeiNe666:
you can use fine or normal testing ?

i'd suggest

17Mbps for superfine

14 for fine

11 for normal

720p needing much less disk space and cpu power i would make

super fine 13mbps

fine 11

normal 9

less resolution, more detail ;)

for audio it would be perfect 44hz 96KBps at least

people whic have sync problems, can describe their microsd brand and speed class?

it would be so good if you could set user-defined shutter time in camera... or at least change the lg ones, cause sometimes they are a little slow...
[LG Optimus 2x] antoniotdi:
I agree :)
[LG Optimus 2x] Riemen:
I can only take one Video. After that, hitting the record-button does nothing. To take another video, I have to reboot. Although I have Modaco FR17 with 64 MB hack, this seems more like an application-bug to me, as the recording itself seems to work.

I also would wish a click to focus feature for the camera. As this device has no half-clickable physical camera button, the usual way of focusing with the object in the center and then movin the kamera, keeping the button half-pressed to select the correct view does not work here. So the Object has to be always in the center of the picture, which is creatively very disappointing.

A click to focus feature could solve this...
[LG Optimus 2x] CaFFeiNe666:
another user had same problems, another user had 64mb hack

64mb hack was deleted in some roms, or was given as an option

cause it gave some problems in some GPU accelerated apps, like the lg gallery

so probably the problem is the 64mb hack

click to focus has to be supported also by sensor for what i know

from other programs tries, we know autofocus is supported, click to focus... don't know...

but autofocus also resolves that issue, cause the camera autofocuses as you move
[LG Optimus 2x] somemadcaaant:
Oh that's not good, did u try the 1.1g version instead?

Has the 64mb gpu hack been of much benefit to any?

-smc
[LG Optimus 2x] somemadcaaant:
Also agreed.

I've been experimenting with resolution and quality settings for image and video values, it's taking to long, plus trying to ping point the max fps values for 60fps in 720p - taking too long lol.

I'll upload a new version with the above settings and new image settings and some other tweaks.

-smc
[LG Optimus 2x] vs0587:
Camera 1.1k

No out of sync problem in 1080p@30fps, 19mbps with microsdhc team group 16gb class 10!
[LG Optimus 2x] somemadcaaant:
Not sure, I would wager a guess as yes - could you test for us?

-smc
[LG Optimus 2x] libehv:
flashed the 1.01k and the sound is perfect, no crackling sound:)
[LG Optimus 2x] somemadcaaant:
Ok overhauled and updated the first post with new version with reduced quality for 1080p as requested, good idea imo but kept previous versions up in case you want them 8)

Tweaked image quality slightly, can produce ugly artifacts with much reduced compression, current work in progress.

Was unable to find any reference stopping me inreasing fps above 30fps even when increasing all 30fps values to 60fps, possibly a hardware cap but i dont know why that would be im still looking since bitrates are variable.

Autofocus still unknown, found no references to video af these may have to be added.

Also an issue with increasing 720p bitrate past previous values, possibly due to tiredness lol

Can some1 test 8mp image quality if possible? Hopefully i decreased compression which should give an extra 500kb to 1mb in file size.

-smc
[LG Optimus 2x] somemadcaaant:
Interesting... Atrix is getting some video mod love:

http://xdaforums.com/showthread.php?t=1079760&page=3

-smc
[LG Optimus 2x] carreaum:
Photos are now a little better in term of quality but compression....
[LG Optimus 2x] vsg2000:
What are the differences between:

Camera-1.1.1-Enhanced Audio-Old-unsigned.zip

Camera-1.1.2-unsigned.zip
[LG Optimus 2x] xgeneralex:
Really good quality! Perhaps the photos could be just a little bit more sharpness and a bit of contrast.

You're Great!
[LG Optimus 2x] vsg2000:
Hi smc. Can you look at this post?: http://xdaforums.com/showthread.php?t=1041821

Is there any way to implement the app in your camera mod?

Thanks for your attention.

In private too!
[LG Optimus 2x] CaFFeiNe666:
quote ;) think would be better to make a little graphic at the end with settings of all versions :P
[LG Optimus 2x] ranrick:
Autofocus by Tapping is great! Hope you can do it.
[LG Optimus 2x] erikku:
Yeah, sure I would like to. I would like to add that it is v1.1g I am using. The ROM I'm on is based on Froyo 2.2.2. I've posted some test clips on YouTube. Thank you for a awesome job!:) Your the MAN!:D

T-mobile G2x 1080P@30FPS HD Video Sample

T-mobile G2x 720P@30FPS HD Video Sample

T-mobile G2x 1080P@30FPS HD Video Sample (MOTION)

T-mobile G2x 720P@30FPS HD Video Sample (MOTION)
[LG Optimus 2x] Hitchi:
Is it necessary to have a class10 SD? I only have a class6... so what resoultion should I take...

The Youtube examples are a little bit stuttering or?
[LG Optimus 2x] Riemen:
I know there are problems with certain apps and the 64 MB hack. But the only one, I have discovered so far wsa LG Gallery, which is no problem, because Google Gallery works fine.

The next time I flash a new Rom, I will uncheck the 64 MB hack to test, if this solves the Problem. If this is the only way to make this greatly improved camera work, I will keep that, but I would prefer, if somemadcaaant could make it work with 64 MB hack.

This is not correct. Compact cameras and mobiles don't have hardware autofocus sensors. Here focusing just means measuring the contrast in the focus area while moving the lenses and to stopping it when the contrast is at its maximum. This is only software. Click to focus just means to move the contrast sensing area to another part of the picture, which should not be that hard to implement...

Edit: I just have seen, there is a 64 MB hack version now... I will test it and report.

Edit2: Where has the changelog gone?
[LG Optimus 2x] somemadcaaant:
Difference is new version has reduced video bitrate of 17mb, some more tweaks on image quality/brightness fix and a new app icon so u know u have installed the modded version now when u see it in the app draw 8)

-smc
[LG Optimus 2x] somemadcaaant:
If you have standard rom (No 64mb gpu hack) then try the latest version, it's what i'll be referencing from now on in newer versions.

I have a class 10 32gb card and i get mild stutter on videoplay back on phone (on pc there is no stutter), but internal memory will always be faster so you can always record to there and transfer new vidoes to your ext sd card.

I use vanilla Modaco FR17 rom by the way, under volted and no overclock.

-smc
[LG Optimus 2x] somemadcaaant:
How did you go with the 64mb hack version?

Change log was a tag ugly as too much changed to quickly and got a bit chaotic, i'll attach new log as file tonight once home.

-smc
[LG Optimus 2x] nathsgames:
Just did a quick test with the new 1.2 patch, results are phenomonal!

I am uploading another test video now to Youtube.

Stats from video are: 30FPS/ 1920*1088/ bitrate 19025kbps/ audio bitrate 127kbps/ sample rate 44kHz.

40 seconds - 100MB!

I don't know what MSD card I have, but it's handling it fine!
[LG Optimus 2x] ermacwins:
Is it possible to have your camera mod installed alongside with LG stock camera?
[LG Optimus 2x] nathsgames:
Here is my updated test video with patch 1.1.2 using MoDaCo Fear Version 10 inc RAM hack running at 1.2Ghz.

[YOUTUBE]wxEV_4bKu2s[/YOUTUBE]

I thought this one had auto focus hence why I went in close at the start, but you can definately see the difference, also no audio crackles now!
[LG Optimus 2x] ryaneu:
Sorry. Is there a v1.2 update somewhere or is it v1.1.2?
[LG Optimus 2x] nathsgames:
Thanks yes it's 1.1.2
[LG Optimus 2x] johnnydj:
oh btw. you guys know that you can tap focus with the LG Camera when you take photos right?

you just have to hold your finger on the screen for 1 second for manual focus on the point. :D
[LG Optimus 2x] sebkn:
Could someone try and make a side by side comparison with and without the mod?! :)
[LG Optimus 2x] Riemen:
Yesterday, everything seemed to work fine, but today, I had the same problem as before: Seems, something crashes after the first video. I need to reboot to take another one...

The videos look ok, no stuttering or skipped frames.
[LG Optimus 2x] somemadcaaant:
Might have to make a list of known roms+64mb kernels this works for perhaps. Nathsgames what combo u using mate?

-smc

.: Droid :.
[LG Optimus 2x] kite86:
Great job somemadcaaant, i'm still waitin my O2X to arrive (should be today), but reading feedbacks and watching videos you did really a great job :)
[LG Optimus 2x] johnnydj:
you realize that's nearly impossible?

you can download the mod and make a comparison yourself
[LG Optimus 2x] Drakenhielm:
It's not impossible, I've got two o2x. I might do a comparison between them later to day or in a few days and put the two videos in one clip on youtube.
[LG Optimus 2x] johnnydj:
I said "nearly" :P pretty sure not a lot of us have 2 o2x phones, and with 1 phone would be kind of hard to shoot the same scene twice.
[LG Optimus 2x] infexis:
guys... can someone explain what the 64mb hack actually means?
[LG Optimus 2x] somemadcaaant:
New kernel hack to halve the amount of gpu ram which is normally 128mb out of the total 512mb of available phone memory, gives more memory for the rest of the OS.

Also attached my changelog on first post.

-smc
[LG Optimus 2x] sebkn:
the two clips wouldn't have to be perfectly linet up to see the quality improvements...
[LG Optimus 2x] Aaberg:
The problem isn't alignment; the problem is: who has 2 O2Xs?
[LG Optimus 2x] infexis:
aha ok, that means loss in gpu game performance right?

in that case i preffere the version with no hack :)
[LG Optimus 2x] sebkn:
take one shot without the mod, and one with. but never mind, i did i myself :P
[LG Optimus 2x] CaFFeiNe666:
some, have you possibility to deactivate automatic flash on start, and starting with no flash?

two reasons... usually if i want flash, i activate it, second one, sometimes near objects are flash-burned...

so i think an instant photo usually is without flash, flashed photos, are usually "organized" photos :P

don't know if my point is shared by others ;)
[LG Optimus 2x] sebkn:
Here is a comparison before and after the mod that i got ask to post here by another xda-member :)
[LG Optimus 2x] speedbreaker:
would this work with stock froyo without a modaco rom?
[LG Optimus 2x] ranrick:
Yes it works. I tested it.
[LG Optimus 2x] speedbreaker:
cool thanks!
[LG Optimus 2x] Graffin:
Just for the record, the LG Viewty can record videos at 320x240@120fps. Then plays those videos at 15fps.

I think that we can get some 720p@120fps or 480p@120fps.

It would be awesome to have an option of SlowMo Recording. Create a video at 120fps and then just play it at 24fps.

Some examples:

http://www.youtube.com/watch?v=VIfz8ETyCfk

http://www.youtube.com/watch?v=PCcQgOZEpnQ
[LG Optimus 2x] infexis:
Cool idea. I had one before and that function was really cool indeed. Would be nice with hd q :-)
[LG Optimus 2x] nraudigy2:
Works great on G2X. Thanks.
[LG Optimus 2x] Riemen:
Now I've flashed a new Modaco rom without 64 MB hack and the camera works much better. No more "only one video bug", no more crashes.

But with 1.2, video and audio are still not completely in sync. I've a class 10 SD card, so this can't be the cause.

Seems like this app still needs a little bit fine tuning...
[LG Optimus 2x] vs0587:
Have you erased old camera settings with titanium backup? :rolleyes:

I solved sync problem by resetting original camera.apk settings!!
[LG Optimus 2x] 75markus:
could you explain a bit more detailed please ?

i also have the sync problems ...
[LG Optimus 2x] vs0587:
You need to open titanium, select camera1.0 and in the pop-up that opens, select "delete data" or something like that, mine is in Italian and it says "cancella i dati". is the second button from the top right.
[LG Optimus 2x] Riemen:
Cleaning the settings did change nothing.

Now I watched the videos on the PC and here, everything is completely in sync, so it must be a problem of the player app.

The camera works perfectly fine for me now.
[LG Optimus 2x] vs0587:
Mmm, it solved the problem for me..... Try to kill all task before playng the video..
[LG Optimus 2x] 75markus:
ok, i already cleaned data from camera app, but playback on phone still not in sync ...

i also guess it´s the player app ...
[LG Optimus 2x] koboltzz:
autofocus on cm7!!

Possible here too?
[LG Optimus 2x] Ben86:
Isnt it possible to write a programm for that changes? so everyone could fine tune its camera on there own.
[LG Optimus 2x] snuffler:
haha true :D it was 120fps, my bad.. remembered wrong.. yeah but that is exactly what i was talking about - slow mo' videos! I mean it has to be possible.. doesn't actually matter that much if it is 720p or even 480p as long as the fps is as high as possible :) 120fps would be freaking sweet (60fps could also work if the playback is for example 15fps)

Let's all pray for smc to make our dreams come true.....
[LG Optimus 2x] johnnydj:
yeah but auto focus is a bit important IMO
[LG Optimus 2x] vlad88667:
agreed! I think I would use autofocus more often than slowmotion ;-)
[LG Optimus 2x] Graffin:
I think that he can take care of everything. XD

Even Slowmo-Autofocus video, maybe with some HDR and unicorns.
[LG Optimus 2x] CaFFeiNe666:
i think he doesn't reply more, cause starting from a big help thread has become a "just request" thread :P

everyone asking for a feature wants :P

i think autofocus would be next feature, if he talks with lejay who activated autofocus on ginger, probably he can make a port on froyo :P
[LG Optimus 2x] somemadcaaant:
Keep adding request and ideas as ill add them to the to do list and get round to them eventually including unicorns. Hopefully knock off a few if i get a few hrs on weekend.

Video AF is top on the list, tho implementation could take a while.

Further, wonder when the official LG GB will be out.

-smc

.: Droid :.
[LG Optimus 2x] altemirx:
Please, to enhance picture quality. Green color is very bad :( New options is to greeting at camera's menu (video/audio compression, bitrate etc).
[LG Optimus 2x] LeJay:
To be honest, it's crazy unstable on cm7.
[LG Optimus 2x] MrDeacon:
Running R17. Flashed with CWM, and the whole phone is messed up. It doesn't get past the Modaco-bootscreen. Sometimes, it seems that only the animation is frozen, because if I lower the volume, the phone vibrates, eventually. The bootanimation can be "locked" and "unlocked" as well. It seems very strange, since the flashable zip only replaces Camera.apk.
[LG Optimus 2x] Riemen:
Somemadcaaant, are you still on this? Haven't read anything of you here for a few days.

Just want to know, if you are still developing more great camera updates...
[LG Optimus 2x] johnnydj:
he just replied back on the other page :P