i9000 media_profiles.xml CM10.1 framerate reduction for brighter videos in the dark - Galaxy S I9000 Q&A, Help & Troubleshooting

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

Related

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)

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

[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

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 Samsung camera mod

I found that using screen recording while using samsung camera app in photo mode makes the field of view wider compared to video. And dynamic range is better also.(forget 4k). But good for social media sharing.. but the only problem is the zoom toggle in the way. Is there any way to remove that toggles.. maybe a modded apk or something???...
I think it's because when the camera is in photo mode, the app uses the whole sensor. This means that it is recording with a resolution of 3000x4000 pixels (3:4 aspect ratio). But when you record 4K, the camera app uses only a portion of the sensor equal to 2160x3840 pixels (16:9 ratio). That is the reason you see a wider view in the photo mode and not in the video mode. The only solution right now, might be to use OpenCamera to record video but you have to select the 3:4 ratio in the video settings. If you do that though, OpenCamera will only film with a resolution of 1440x1080 so the video will not be that sharp. I admit, I would love to see a mod or a toggle from Samsung that lets you record in 3:4 though.
Thanks. But what about the hdr.. i mean i have tested it and the hdr performance with ultrawide camera in screen recording is great compared to normal video capture. Even in low light the screen recording looks way too wider and brighter and had great dynamic range. (I have also tested shoooting in 1:1 in video). Kindly test it out and see it yourself. But don't pixel peep it's obviously less crisp than 4k. But great for social media.
I see what you mean. Video from screen recorder is a bit different from video mode. However I do not know why this happens. I suspect that maybe screen recorder is not able to capture the whole color gamut of the HDR preview.

General HDR10+ in 4K too low bitrate

When selecting HDR10+ in 4K the resulting video only has 35MBit/s which is way too low for reasonable quality.
The sky is not rendered with a smooth gradient and the amount of details is very low.
If someone selects these type of video good quality is expected. To get this at least 80-120MBit/s are required.
Sample (Amozon Photos, no transcoding)
Sample (YouTube)

Categories

Resources