[Q] How to restore 24fps camera to custom mods? - LG Optimus 2x

After searching I could not find an answer except some threads about making the 2x 30fps.
So I just got the 2x, Rooted,
Installed temasek's KANG BUILD P204-36
Then ironkrnl
everything went fine
The camera has a few modes but they are all 30fps or 15fps. Is this a property of the Rom or Kernal? Or will installing a new camera app resolve this?
I need native 24fps for my workflow, not 30fps converted to 24fps, it was a selling point for me.
I could probably figure out how to assemble a new kang build I just need a few tips on which drivers would be needed for 24fps if it is the rom. Or can I just push the new old driver straight to my phone?

Hi,
Because of Nvidia drivers being closed sourced, CM develepors are not able to make the CM camera behaviour as how the stock camera behaves.
If you want 24fps, use stock rom with stock camera app. Even with that the 720p is at 30fps. Only 1080p is 24fps.
I heard Nvidia is releasing its drivers source codes soon.. but from what I heard, it's for ICS.
Good luck.
Cheers.
Optimus 2x (P990)
GR5 + RC11-R + PPv10

OK so back to a stock rom then until ICS gets here, thanks for the reply
After you gave me the right terms i found this thread
http://forum.xda-developers.com/showthread.php?t=1159404 but it doesnt look like they got anywhere

what i hate about cm7's video camera is the much lowered fps during low light.. IT SUX!

Related

[MOD] High bitrate video recording + [email protected](cm7)

Some ppl. were asking for a high bitrate mod. This only works for the CM7 roms.
Does not work for stock rom as bitrate is hardcoded into the LG camera app. (see http://forum.xda-developers.com/showthread.php?t=1090785 for somemadcaaant's awesome work on that)
Choose the 720p only mod if you are running a kernel with the 64mb ram hack (it doesn't support 1080p). The 720p only will of course also work for the std. cm7 kernel.
Bitrate(orig)-signed.zip will bring you back to the settings that's on the cm7 nightly repo.
Reinstall the vork kernel if you want to go back to orig settings for 64mb hack.
I've added two pictures to compare 7 mbit/s vs 20 mbit/s (720p). I think esp. the trees look better. Is it worth the extra space? Dunno.
I leave all the different versions here, so ppl can choose whatever they want. Of course, the higher the bitrate the harder everything is being pushed, so your results may vary (esp. depending on sdcard speed). Phone playback may also be an issue. It's impossible to break anything permanently, so just install back to original settings if you run into issues.
For the different mods, the settings are
--------------- BitrateMod1.1-signed.zip-----------
HD: [email protected] and 17mbit/s
High: [email protected] and 14mbit/s.
-------------------------------------------------------
--------------- BitrateMod-signed.zip---------------
HD: [email protected] and 12mbit/s
High: [email protected] and 20mbit/s.
-------------------------------------------------------
----- BitrateMod(720p only)1.1-signed.zip--------
HD: [email protected] and 20mbit/s
High: [email protected] and 10mbit/s.
-------------------------------------------------------
-------- BitrateMod(720p only)-signed.zip--------
HD: [email protected] and 28mbit/s
High: [email protected] and 20mbit/s.
-------------------------------------------------------
------------ Bitrate(orig)-signed.zip ---------------
HD: [email protected] and 6-7mbit/s
High: [email protected] and 4mbit/s.
-------------------------------------------------------
------------ Std. vork kernel settings--------------
HD: Disabled
High: [email protected] and 4mbit/s.
-------------------------------------------------------
;--------------- BitrateMod_MAX.zip----------------
Video:
HD: [email protected] and 30mbit/s
High: [email protected] and 30mbit/s.
Still:
Super fine: 100 (old value was 90)
-------------------------------------------------------
All audio is 128 kbps aac.
This is good news and very welcomed
However, simple question: Why the limit @ 15fps over 1080p? Hardware limitation of the Tegra 2 chipset (highly doubt it) or what?
Wow awesome!
This is what we need, higher bit rate in camera and video, as above how come 1080p is capped at 15fps? shouldnt it be 24fps?
Lets start modding the camera hardcore to get the best quality!
-smc
levelone said:
This is good news and very welcomed
However, simple question: Why the limit @ 15fps over 1080p? Hardware limitation of the Tegra 2 chipset (highly doubt it) or what?
Click to expand...
Click to collapse
Whatever setting I use for the framerate on 1080p, it either crashes or falls back to 15fps. Of course we do know it can do 25fps on stock rom so it has to be cm7 related (kernel drivers or whatever). That's at 9mbit/s on stock, though.
12 mbit/s is, btw, also the highest bitrate i could get for 1080p.
EDIT: Oh, btw. it might not be a good idea to use this together with the 64mb extra ram hack.
I only get black screen when flashing this.
Sent from my Optimus 2X using XDA App
ionhide said:
I only get black screen when flashing this.
Sent from my Optimus 2X using XDA App
Click to expand...
Click to collapse
In camera app? Which rom? (EDIT: I guess I could read your profile )
I've only run this on cm build 24.
LeJay said:
In camera app? Which rom?
Click to expand...
Click to collapse
Stock camera on WGSpoestra's cm7 rom.. Only in camcorder mode..
Sent from my Optimus 2X using XDA App
ionhide said:
Stock camera on WGSpoestra's cm7 rom.. Only in camcorder mode..
Sent from my Optimus 2X using XDA App
Click to expand...
Click to collapse
Oh, that's on 64mb ram hack kernel. That doesn't support 1080p. I'll make one without, should help.
Did you do this by changing media_profiles.xml ? I tried that, didn't work..
but nice work
@LeJay
http://forum.xda-developers.com/showpost.php?p=13293713&postcount=5
possible or not?
somemadcaaant said:
Wow awesome!
This is what we need, higher bit rate in camera and video, as above how come 1080p is capped at 15fps? shouldnt it be 24fps?
Lets start modding the camera hardcore to get the best quality!
-smc
Click to expand...
Click to collapse
Its a limitation on cm7. Stock rom can do 1080p @ 24fps
Imperticus said:
Did you do this by changing media_profiles.xml ? I tried that, didn't work..
but nice work
Click to expand...
Click to collapse
Yea, all the mod does is replace the media_profiles.xml file. You can just extract the zip to see what's different. You have to play around with the settings a little bit. If you do something wrong it's very likely it'll get stuck at boot. Use adb or cwm to restore media_profiles.xml to orig.
The resolution for 1080p has to be 1920x1088 to work. Std. cm7 sets it to 1920x1080 and therefore only records in 720p.
petyo.tsanov said:
@LeJay
http://forum.xda-developers.com/showpost.php?p=13293713&postcount=5
possible or not?
Click to expand...
Click to collapse
petyo.tsanov said:
@LeJay
http://forum.xda-developers.com/showpost.php?p=13293713&postcount=5
possible or not?
Click to expand...
Click to collapse
I'd think so, but don't expect to see that mod from me. I don't think it's that trivial .
EDIT: That's my personal, fairly uninformed, guess.
mmmm i read on the other camera mod thread, that changing media profiles, doesn't affect recording, cause lg camera app bypasses media profiles... is that possible? they area trying to decompile the app
CaFFeiNe666 said:
mmmm i read on the other camera mod thread, that changing media profiles, doesn't affect recording, cause lg camera app bypasses media profiles... is that possible? they area trying to decompile the app
Click to expand...
Click to collapse
Yes. This is for cm7, not any of the froyo roms based on stock.
LeJay said:
Yes. This is for cm7, not any of the froyo roms based on stock.
Click to expand...
Click to collapse
Can you ported lg camera app to cm mod ?
Great job LeJay!
I've flashed away from CM7 atm, runniong an MCR ROM instead. Will certainly test this once I'm back to CM7. I hope the dev of CM7 for O2X can by pass all limitations and truly unlock the power of this device.
Media capabilities (Korea ROM 10S got MKV, 4.1 profile support), [email protected] (AT LEAST!) etc... Only time will tell if they're able to.
Would love to have LG camera on cm7. Is this possible?
I was trying to change the settings inside the JAVA files of the LG Camera app, which are in HEX format for me.
I recalculated all the values in DEC, doubled them and reconverted them to HEX but didn't seem to work.
My highest recording was 10500 which I'm sure is just random from 9000 to 10500 with the normal settings.
if you do a text search for bitrate in the decompiled LG Camera app it is located in 5-6 locations.
Only 2 locations are needed.
First location is where the values are stored in private static fields
And the second location is the script is accessing the values and doing some operations with it.
Too bad it's low level coded
Looks like the CM7 camera app is easier to modify, because the LG one is insanely hardcoded

audiovideo test

Hello everybody!
Maybe it is not of much use.
Reading on this forum, I was not sure about the quality of the camera of the LG p990.
But then the other day I had the chance to put the device in an extreme condition, and I must say, the audio and the video full HD is pretty good.
Considering as well the luck of volume and focus control!
The LG is rooted but with its stock rom froyo v. 10d
I cannot post the link so if you want search on you tube aerdna3691 there is only this video.

Downgrade from CM9 and a Camera question

Hi.
At the moment I am using the Nova HD Plus ROM, which is a great ICS Kang, but I sadly cannot record a thing with it. Tomorrow I am going to a Sports event I would like to take some videos.
Is there something I should be aware when downgrading?
Also which ROM provides great quality videos. I used to use temasek`s KANG ROM and since he is back, I might use his ROMs again, but are there any ROMs with better video quality? Also, which kernel to use with?
Thanks in advance!
Dont think that you should worry about when changing rom. Except that you have to do a full wipe!
Go for Tamaseks KANG and Etana Kernel. Best performance and stability.
hi
The camera problem have not solve,you can download and Installation Other app to take video
AlanLi said:
hi
The camera problem have not solve,you can download and Installation Other app to take video
Click to expand...
Click to collapse
Which problem are talking of bro ??
Sent from my Optimus 2X using XDA
Nevr forget the thanX button
when i start a video recording, the error shows , 'unfortunetely camera stopped working'....
how to record HD video, no proper solution released yet from NOVA HD developer team...very bad.
LINCHOST said:
when i start a video recording, the error shows , 'unfortunetely camera stopped working'....
how to record HD video, no proper solution released yet from NOVA HD developer team...very bad.
Click to expand...
Click to collapse
Due to the lack of media acceleration, video recording doesn't work yet on CM9. We just have to be patient.
Hi!
If you would rather not risk a downgrade you can download an app to record in standard definition. I don't recall the name of it though, but I'm sure you'll find it around here if you search for it.
And I think a full wipe is enough, not sure if a "backtoExt3" is necessary though.
EDIT: As you can see in this thread
http://forum.xda-developers.com/showthread.php?t=1574098
the name of the app is Video Illusion

[Q] Camera Recording Problem

Hello guys,
I have an optimus black since 2012 and like 4 months ago I have been having a problem with the camera when I try to record, it records like in slow motion with the stock Cyanogenmod 10 4.1.2 camera and with no sound or chimpunk sound with Camera ICS+ app
Do you know any method to solve it?
Aljecama12 said:
Hello guys,
I have an optimus black since 2012 and like 4 months ago I have been having a problem with the camera when I try to record, it records like in slow motion with the stock Cyanogenmod 10 4.1.2 camera and with no sound or chimpunk sound with Camera ICS+ app
Do you know any method to solve it?
Click to expand...
Click to collapse
I guess bad recording is a related bug. Anyway, try reflashing the rom. But CM camera has a bad quality recording anyway so if you want high quality you should go for ROMs based on stock ics. Much better camera on IZS or Marvel.
Sent from my LG-P970 using xda premium
You don't have that problem only on camera...but on every sound recording. You can test it with the Android's stock sound recorder.
The only way I found to avoid this, is to flash the CM10 stable build and NOT REPLACING the stock CM10 kernel.
I was running CM10, a newer build, from 01/01/13, and I had the same issue. I tried wiping data, tried the stock camera...and finally I decided to try the sound recorder. The chipmunk voice was there, on every app that was recording the sound, I think it is a codec issue.
Then I reverted to CM10 stable, and tried the same combinations, with many kernels. I was able to get a decent sound recording with the stable build, but only with it's stock kernel. That's what I'm running now on my OB.
If I even try to replace the kernel, the issue will come back.
I changed the ROM to Zeus 2.3 version 7 and it works GREAT Overclock, excellent governors, customization, undervolting and Photo and video quality increased a lot! I recommend that ROM really!!!
Sent from my XT890 using xda premium

Better Camera mod / hack

Hello!
I was doing some video recording on my 4x, but I noticed that videos hove avarage only 22fps..
Is there any way to get better fps on our lg 4x?
I am on CM10.2, cm original kernel, I have tried few recommended apps for recording, but framerate is almost always 22fps.
Any ideas for camera app, kernel?
Thanks!
skrajnik said:
Hello!
I was doing some video recording on my 4x, but I noticed that videos hove avarage only 22fps..
Is there any way to get better fps on our lg 4x?
I am on CM10.2, cm original kernel, I have tried few recommended apps for recording, but framerate is almost always 22fps.
Any ideas for camera app, kernel?
Thanks!
Click to expand...
Click to collapse
either go back to stock, or, i'm not sure if it works properly - try iodak's ported stock camera app; it should record at higher fps.
Ok, thanks, will try and report back...
Have tried suggested camera an it does record 1080p at approx. 30fps (mostly 27fps)..
But at very low birthrate (round 9000), so the video is not very high quality..
As soon I opened it I also noticed annoying focus bug..
So - is there any app / mod / hack, that has better quality and record at least 24fps? That works on CM 4.2
As far as I tested camera apps, best results are with snap camera (but only 22fps.. ) Maybe lg camera too..
First of all, Questions belong into the Q&A section (---> moved)
Now, to your Q, you can't get a higher framerate, as it is capped @30fps.
But I think i know how to "uncap" it, let me take a look at it tomorrow
laufersteppenwolf said:
First of all, Questions belong into the Q&A section (---> moved)
Now, to your Q, you can't get a higher framerate, as it is capped @30fps.
But I think i know how to "uncap" it, let me take a look at it tomorrow
Click to expand...
Click to collapse
amazing , thats great, that would be a nice info. though me im fine with fps. the quality is what bothers me. it would be nice if it could get a higher definition too. faces must be close or they look "ugly"
edit: if we choose a latte fx its easier to notice the bad quality and what i mean.
Yeah, I agree, it would be great to have more fps and better bitrate..
I got 17mps on snap camera.. Could we get it on camera itself?
skrajnik said:
Yeah, I agree, it would be great to have more fps and better bitrate..
I got 17mps on snap camera.. Could we get it on camera itself?
Click to expand...
Click to collapse
No, it can't be included into a camera app, as it is inside the system, and not inside an app
So it is possible to include/hack this into kernel or what?
Still haven`t found app, that would record at 30fps and had better bitrate..

Categories

Resources