Yesterday i tried to mess a bit with the camera so i decided to try the "[MOD][CAM] [email protected]@20mbps + auto-focus on CM7" (http://forum.xda-developers.com/showthread.php?t=1094424)
I did installed with the recovery. but after that i get very low fps on my videos..i tried every single file with about the same outcome.. so i wanna know how i can bring the cm7 default camera.apk back?
currently my videos are at 9 frames/sec wich is really bad...
I am using CM7.1.0 stable my phone is the greek version of Optimus X2 (its the speed) P990
My SD card speed is class 4 and i am using the sd booster app for a better performance..not big difference tbh...so either i would like to know where i can find the original camera.apk for cm7 or what i can do to fix this.. thanks in advance!
EDIT: I dont have experience on modding..just started messing around with phone following various step by step guides..
I have managed to put the default camera.apk and media_profiles.xml from CM7.1.0
to my mobile. I noticed small difference a bit better i think lik 12fps...
I have to mention that the light in the room was average.. when I had more light the frames gone up to like 25-26 fps... (i did monitored it with fraps) i have to try to daylight now...
Btw is that a general issue for all in dark video takes or its something wrong with my phone and/or software?
Any suggestions?
I am quite sure it has something to do with cm7 camera app. Alot of people do complaint about the quality of cm7's camera app comparing to the stock LG camera app on stock roms.
It's not a fault of CM team, the camera library is closed source, so it is hard to understand how O2X camera works.
Since I use the camcorder, I had to leave CM7 waiting for a fix
sodade21 said:
Yesterday i tried to mess a bit with the camera so i decided to try the "[MOD][CAM] [email protected]@20mbps + auto-focus on CM7" (http://forum.xda-developers.com/showthread.php?t=1094424)
I did installed with the recovery. but after that i get very low fps on my videos..i tried every single file with about the same outcome.. so i wanna know how i can bring the cm7 default camera.apk back?
currently my videos are at 9 frames/sec wich is really bad...
I am using CM7.1.0 stable my phone is the greek version of Optimus X2 (its the speed) P990
My SD card speed is class 4 and i am using the sd booster app for a better performance..not big difference tbh...so either i would like to know where i can find the original camera.apk for cm7 or what i can do to fix this.. thanks in advance!
EDIT: I dont have experience on modding..just started messing around with phone following various step by step guides..
Click to expand...
Click to collapse
A library system/lib/libcamera.so was changed in newer CM releases and it features auto compensation, that's the reason why video sucks in low light compared to stock.
You can use a libcamera.so from older CM nightlies/stable releases. But make sure that you also copy Camera.apk from that version.
ktxed said:
A library system/lib/libcamera.so was changed in newer CM releases and it features auto compensation, that's the reason why video sucks in low light compared to stock.
You can use a libcamera.so from older CM nightlies/stable releases. But make sure that you also copy Camera.apk from that version.
Click to expand...
Click to collapse
oh i see.. I'll try that thank you!
hmm this is interesting.. i too am not so happy with the camera on CM7.2 temasek
there's no way to install the stock camera apk on CM roms?
what i dearly miss from that camera is the ability for faster timer shots (2s).. the fastest timer is 10s for CM7 =\
Hi everybody! I never use much video recording, so this may not be a huge problem.. anyway I would like to try solving it!
When shooting a video (using either cm7 camera and lgcamera) the video sometimes freezes for a second. That's obviously annoying, expecially if I want others to see that video.
So I searched about it and I found someone talking about a SD problem. The fact is I'm using a class 10 SD, so speed shouldn't be a problem!
Also, I'm using amarullz's a2sdx script (without any other kind of lag).
Could someone give me a hint?
Sent from my Ace on Apocalypse Rom
Are the cameras installed as system apps?
Amarullz mounts apps, data, dalvik-cache and other stuff to the partition, which even in a class 10 sd card has lower speed than internal.
If they are already system apps and lag still happens try messing around with the recording resolution or maybe you have many apps running as background processes.
Other than that, making a cwm backup and trying other roms to see if the lag comes from the rom itself?
Thank you for your answer.
I will try flashing other Roms and checking out if something changes, but I remember this to be happening even on vo-1's cm7, some time ago.
I would like to try moving LGcamera to system but I don't know if this may cause problems (i knew that some apps can't be forced as system apps, don't remember why though).
Anyway, since I suppose your video recording works fine, could you tell me what app/rom/a2sd script are you using? That may help!
Sent from my Ace on Apocalypse Rom
Im using cm7-rc3-aa, no extra scripts. Stock camera, class 6 sandisk sdcard. Default camera app. Link2sd to link apps to partition (ext3 format partition).
I don't experience lags while recording videos, i used to experience that lag with the class 2 sd card that was included in the stock phone (cheap bast**** at samsung). Since i changed to class 6 sdcard though, no lags. It's also true i haven't recorded any video longer than 5 mins.
dxppxd said:
Im using cm7-rc3-aa, no extra scripts. Stock camera, class 6 sandisk sdcard. Default camera app. Link2sd to link apps to partition (ext3 format partition).
I don't experience lags while recording videos, i used to experience that lag with the class 2 sd card that was included in the stock phone (cheap bast**** at samsung). Since i changed to class 6 sdcard though, no lags. It's also true i haven't recorded any video longer than 5 mins.
Click to expand...
Click to collapse
The problem seemed to be Ram. If I kill most apps (including launcher) there are no problems!
I didn't think camera apps were such ram - hungry about video recording! Hitter thanks for your help!
Sent from my Ace on Apocalypse Rom
Hi,
I'm unrooted, stock V10h.
After noticing that the stock camera photos are very compressed (8MP photos never go above 3MBs) with no option to change that, I installed Camera Zoom FX. All seemed good, but then on a sunny day after taking *lots* of photos, noticed I couldn't view some of them on the phone, although thumbnails were there. Came home, transferred to PC, opened and noticed that the ones the phone couldn't display were corrupted. All of them, had a gray bar at the bottom, some more, some less. Obviously the compressed jpg stream was broken after some point.
Thought it was Camera Zoom FX's problem, because this never happened with the native camera app. Uninstalled.
Still wanting better quality, installed Camera ICS. Great too. But same problem too (on some photos again).
Went on to install Camera MX. Same.
Finally narrowed it down to this:
if resulting photo is > 5MB (more precise: if > 5130 KB) then it's corrupted
(and that's why the native camera doesn't have this problem: there's no way to choose better JPG quality for it to make 5MB photos).
I thought: memory speed problem. But then again, the photos were saved in the phone internal memory. Internal memory is not supposed to have speed problems. Anyway, I tried saving to Class 6 and Class 10 SD card, and the results were the same.
Anyone know about this?
Also, please report if your >5MB pictures are fine (in case you shoot at that quality), and what app you use to take them.
Note: the problem seems to be there with jpg photos in general, irrespective of device. Here's a link of someone experiencing the same photo corruption on a normal camera (Casio EX-F1). The problem with my photos is exactly as in the photo he posts a bit later in the thread.
Ok noone seems to know anything about it.
Could someone at least please report if you can get photos equal to or above 5Mb in size, whatever camera app you are using and whether the photos are ok?
(to get that quality, you must select 8 megapixels and then the highest quality in some other setting. For example camera zoom fx and camera mx have a percentage slider (set it to 100), while camera ICS names the quality (select ultra). Also a steady shot and lots of light is needed for the pictures to go up to 5Mb even in these settings.)
EPa said:
Ok noone seems to know anything about it.
Could someone at least please report if you can get photos equal to or above 5Mb in size, whatever camera app you are using and whether the photos are ok?
(to get that quality, you must select 8 megapixels and then the highest quality in some other setting. For example camera zoom fx and camera mx have a percentage slider (set it to 100), while camera ICS names the quality (select ultra). Also a steady shot and lots of light is needed for the pictures to go up to 5Mb even in these settings.)
Click to expand...
Click to collapse
Just tested with Camera ICS.... Same issue as you. Photo was 5,266,434.00 bytes.
Using V10h Euro Open.
i had the same issue on deodexed ICS i had a week after purchase, and after i installed this mod:
http://forum.xda-developers.com/showthread.php?t=1855818
i tought the mod broke my camera, but i guess it was this bug/limit.
Thank you both for reporting. At least now we know it's an (LG implementation?) android bug.
Really annoying to me, as I would like to use the camera's full potential. Hope this gets fixed in the upcoming JB for 4X.
(although in order for something to be fixed, LG would have to know. And this problem surely hasn't received attention since it seems I am the first one to bring it up).
It would be interesting to see what would happen if someone with v20a tested this.
Yes indeed.
On another note, I also checked GeoCam and sometimes it gives an error (not enough memory or something). The photos that it saves with no problem are maximum < 5 Mb, so I assume it is the same problem. But this app demonstrates that there is a way for the programmer to know that during saving the photo something did not go as expected.
Where exactly the bug lies, is another matter.
EPa said:
Yes indeed.
On another note, I also checked GeoCam and sometimes it gives an error (not enough memory or something). The photos that it saves with no problem are maximum < 5 Mb, so I assume it is the same problem. But this app demonstrates that there is a way for the programmer to know that during saving the photo something did not go as expected.
Where exactly the bug lies, is another matter.
Click to expand...
Click to collapse
i might try the mod in official 4.1 when it's out and someone releases a deodexed version, just to check if it works on JB.
this is quite a strange problem we have on our hands, i did some search on google, and haven't found many similar problems.
Flying_Bear said:
i might try the mod in official 4.1 when it's out and someone releases a deodexed version, just to check if it works on JB.
Click to expand...
Click to collapse
I too am anxiously waiting for the official 4.1 and was hoping that it would not have this problem.. just wishful thinking..
i already know it a long time ago, and i asked about this at the camera MOD thread by ksekhar http://forum.xda-developers.com/showthread.php?t=1855818. but no one seems to bother
iceddeath said:
Ale-xs said:
Hello ksekhar. I found a problem in the LG firmware, it appears in your mod too.
In third-party programs (ICS camera+) and in your camera mod of the compression quality jpeg minimum, maximum file size.
In some conditions, such as the leaves in the sun, the size of the file begins to exceed 5 megabytes. Then the problems start.
This file is written to the error (broken jpeg file). I've been thinking why this is so and finally got it.
In your version, you just increase the compression quality to any situation the file size is not more than 4-5 MB.
Also, if you is not difficult, please do me a version (as we did earlier) which fixes only compression jpeg,
but the quality of compression should be a cross between the standard version and your version.
Or tell me how I myself can change the quality of compression.
For example (like photoshop - compression level from 0 to 12)
Original LG camera - compression 9
Your mod - compression 12
The required - compression 10.
Link to example of broken jpeg file: http://narod.ru/disk/61445464001.4b4c982386ce7c47b2214e33a90a25aa/bug_IMG_20120923_124127.jpg.html
Click to expand...
Click to collapse
i have this problem too
when photo taken exceeds 5MB.. it is broken...and it happened too often. any solutions?
Click to expand...
Click to collapse
Ok, that's bad...
For now, I check whether the thumbnail of the just taken photo appears correctly (inside the photo application). If not, it's a sign the photo has exceeded 5 mb. Then I go to settings, reduce the quality, reshoot.
Or, one can use Camera MX and set the quality slider to 90-95. Then the photos are better than stock camera, and they don't exceed 5 mb.
Since noone cares for this problem I can only hope the new firmware automagically hasn't got this problem. If it does.. we'll see then...
Bad news... Just updated to official V20a, and the same issue persists. a 5.02mb JPEG resulted in an image which was half ok, half greyed out and corrupt.
Only hope now a mod, or a custom ROM..
Ok, is there a way mother LG can be notified about this? (and don't tell me phone support in my country, they can only handle basic stuff. They won't understand what I'm talking about and respond like "use the official camera application"...)
Insomniac535 said:
Bad news... Just updated to official V20a, and the same issue persists. a 5.02mb JPEG resulted in an image which was half ok, half greyed out and corrupt.
Click to expand...
Click to collapse
thanks for the info.
yeah, my country doesn't even have proper support for LG devices. we could try mailing them?
I just noticed this problem yesterday. Is there any fix for this?
lm007 said:
I just noticed this problem yesterday. Is there any fix for this?
Click to expand...
Click to collapse
Not that I know of.
i have no idea why, but yesterday i took some pictures with my 4x (with the stock lg camera app!).
the most pictures had around 1,5-2,5mb , one hat 4,7mb and one 5,05..
the ->5mb pic is corrupt..
never saw this error on stock, im using stock camera app on my CM
Anyway, i reported this bug to CM on the 4X forum, lets see if they can help. would good if more people confirmed this bug on CM forum..
I have a little experience about this bug.
Last time I flashed google's camera 4.2 with photosphere, camera.tegra.so and libnvmm_camera.so (modded to disable denoise filter) and stock camera. The result was that wherever camera I used (stock, cm, google's) the pic were corrupted (taking photos in dark). Just few of them were OK.
Here are modded .so files - works with CM10.1 (made by me, if you want i can made thread for them):
http://db.tt/2Lfxuehq - camera.tegra.so pasted to /system/lib/hw
http://db.tt/LXdwvJUZ - libnvmm_camera.so pasted to /system/lib
Sth more I will say when I come from holidays.