[MOD] Camera_Mod Bitrate/FPS/Image Quality - 7|27|14 - G3 Android Development

This mod only contains modified values to media_profiles.xml, We have already seen this posted but they seem to no longer work so im posting one here :good:
Suggestions for improvements are helpful, Some of these values ive tested a bit higher but this is a good starting point
I am not responsible for dead phones/bricks or any sort of bad thing this mod could ever cause
Things You Need:
Rooted LG G3
File Manager with root access (i use ES File Manager)
The MOD
How To Install:
Extract the ZIP
Use a file manager to Copy/Paste & overwrite the media_profiles.xml to the "/system/etc/" directory
Make sure the media_profiles.xml has permissions set to "rw- r-- r--"
Reboot
Current Features:
4K bitrate increased from 30mbps to 40mbps
Image compression set to 100
1080p bitrate increased from 30mbps to 40mbps
1080p FPS increased 30fps to 60fps
I will be uploading both the MOD & Stock zips
I have not tested the flashable zip

confirmed working with LG G3 D855 v10e-EUR-XX.
no crashing while recording but showing (in windows and sony vegas) only 30fps instead of 60fps on 1080p.

mekz77 said:
confirmed working with LG G3 D855 v10e-EUR-XX.
no crashing while recording but showing (in windows and sony vegas) only 30fps instead of 60fps on 1080p.
Click to expand...
Click to collapse
Also the bitrate in the file still says 30mbps for 1080p. I changed mine to 40 and it works all right. But I don't understand why it's still taking video at 30 fps despite the file clearly saying 60.
Sent from my LG-D851

mekz77 said:
confirmed working with LG G3 D855 v10e-EUR-XX.
no crashing while recording but showing (in windows and sony vegas) only 30fps instead of 60fps on 1080p.
Click to expand...
Click to collapse
Dog_Daze said:
Also the bitrate in the file still says 30mbps for 1080p. I changed mine to 40 and it works all right. But I don't understand why it's still taking video at 30 fps despite the file clearly saying 60.
Sent from my LG-D851
Click to expand...
Click to collapse
Yeah, its kinda weird how the videos say 30fps when its changed to 60fps
i may have overlooked a value for bitrate, ill double check this really quick
EDIT: yeah, i re-uploaded it.
i had like 5 copys on my desktop so i must have gotten confused

bunchies said:
EDIT: yeah, i re-uploaded it.
Click to expand...
Click to collapse
thank you!
1080p video now with 40mbps but still showing 30fps.

mekz77 said:
thank you!
1080p video now with 40mbps but still showing 30fps.
Click to expand...
Click to collapse
yeah, i tried to fix it but i soft-bricked my g3 :/
need to factory reset now

25 fps
You can create video at 25 or 50 frames per second? (bad English)

Slow motion not working still with this?
I tried it. Playback was normal.

sidmuer said:
Slow motion not working still with this?
I tried it. Playback was normal.
Click to expand...
Click to collapse
Slow motion works, it's still at it's stock values
Sent from my VS985 4G using XDA Premium 4 mobile app

bunchies said:
Slow motion works, it's still at it's stock values
Sent from my VS985 4G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I never used slow motion before.
I set it to slow motion video after this mod.
I recorded something.
Played it back.
It was normal speed. Is there a setting I am missing?
I will go back to original later and check the result then,

sidmuer said:
I never used slow motion before.
I set it to slow motion video after this mod.
I recorded something.
Played it back.
It was normal speed. Is there a setting I am missing?
I will go back to original later and check the result then,
Click to expand...
Click to collapse
Slow-mo will only playback as slow-mo on the device and only with the default gallery.
Sent from my LG-D855 using Tapatalk

sidmuer said:
I never used slow motion before.
I set it to slow motion video after this mod.
I recorded something.
Played it back.
It was normal speed. Is there a setting I am missing?
I will go back to original later and check the result then,
Click to expand...
Click to collapse
Well you can record slow motion and in the gallery playback multipule speeds
When copyed to a pc, you can see it plays @120Fps and isn't in slow motion
It looks like the only way to slow it down on PC is to probably use video editing software, unless there's a way to do it in the gallery before copying it over
Sent from my VS985 4G using XDA Premium 4 mobile app

yeah what a crap.. wish someone can port the movie creator app from xperia devices.. Had it on my xperia Z and it was really great

mekz77 said:
thank you!
1080p video now with 40mbps but still showing 30fps.
Click to expand...
Click to collapse
I confirm the same on my D850 VLC player says 30FPS

nest75068 said:
I confirm the same on my D850 VLC player says 30FPS
Click to expand...
Click to collapse
Yeup, I already soft bricked and had to factory reset so this issue is on hold till we have a recovery (vs985)
Sent from my VS985 4G using XDA Premium 4 mobile app

Question does anyone have camera force close while trying to record video and trying to zoom I have d851

Is there a way to play video frame by frame? I really liked this feature on my note 3.
Sent from my LG-D851 using Tapatalk

tridogg97 said:
Question does anyone have camera force close while trying to record video and trying to zoom I have d851
Click to expand...
Click to collapse
I had the same problem, but I think i forgot to set the permissions correctly. Did you change the permissions after moving the new file in to /etc?

chiballer20 said:
I had the same problem, but I think i forgot to set the permissions correctly. Did you change the permissions after moving the new file in to /etc?
Click to expand...
Click to collapse
tridogg97 said:
Question does anyone have camera force close while trying to record video and trying to zoom I have d851
Click to expand...
Click to collapse
Vs985, no crash when trying to zoom when recording
Sent from my VS985 4G using XDA Premium 4 mobile app

chiballer20 said:
I had the same problem, but I think i forgot to set the permissions correctly. Did you change the permissions after moving the new file in to /etc?
Click to expand...
Click to collapse
Yes I did set permissions I figured it out it was xposed uninstalled reinstalled fixed it thanks.

Related

[Q] Improve the camera

Hi
Is there any way to improve the camera?
Specifically:
- get ~ 30 fps (or anything more than 15) in video mode
- get bigger videos (720x480 would be ok, and I believe that even 720p could be done with the right software and gpu acceleration)
- more vibrant colors en still images
Any idea is welcome
Thank you in advance
+1
I just need the FPS to be increased. All else is make do-able.
Ofcourse any other tweaks would be welcome!
kewlsid05 said:
+1
I just need the FPS to be increased. All else is make do-able.
Ofcourse any other tweaks would be welcome!
Click to expand...
Click to collapse
In other thread we discussed this issue, and we found that (apparently) the camera settings are hard-coded in the camera application.
I tried changing the file /data/local.prop and it didn't work
Other possibilities could be to change the /system/build.prop (but probably it will not work)
Or.. get another camera app that doesn't have this limitation
Is there a stock android camera app that can be used?
ggerena said:
Is there a stock android camera app that can be used?
Click to expand...
Click to collapse
im looking for the stock froyo camera .apk also!
[like maniac!!]
If anyone manages to find a way to record at 30fps with this phone, then I can finally die happily
ggerena said:
In other thread we discussed this issue, and we found that (apparently) the camera settings are hard-coded in the camera application.
I tried changing the file /data/local.prop and it didn't work
Other possibilities could be to change the /system/build.prop (but probably it will not work)
Or.. get another camera app that doesn't have this limitation
Is there a stock android camera app that can be used?
Click to expand...
Click to collapse
Here ya go
http://dl.dropbox.com/u/5828026/CameraGoogle.apk
this would be an excellent mod if someone can figure it out
Omnichron said:
Here ya go
http://dl.dropbox.com/u/5828026/CameraGoogle.apk
Click to expand...
Click to collapse
So i guess, i need to push that apk in my system, or just install it?
Is it confirmed that it runs on LG Op. One?
morx said:
So i guess, i need to push that apk in my system, or just install it?
Is it confirmed that it runs on LG Op. One?
Click to expand...
Click to collapse
Just tried it. It installs fine, but crashes when switching to video mode, error when trying to get the preview.
pantzini said:
Just tried it. It installs fine, but crashes when switching to video mode, error when trying to get the preview.
Click to expand...
Click to collapse
after installing the apk, it replaces the stock camera of the phone?
Or you have that camera application as a replacement?
what's the uninstall process?
I've tried edit local.prop & build.prop with new presets, no success.
LG Camera for GT540 doesn't work on higher res videos even after updating those files
morx said:
after installing the apk, it replaces the stock camera of the phone?
Or you have that camera application as a replacement?
Click to expand...
Click to collapse
I got both the camera applications.
morx said:
what's the uninstall process?
Click to expand...
Click to collapse
I just selected the standard camera in applications and unistalled as usual. No consequences so far.
morx said:
after installing the apk, it replaces the stock camera of the phone?
Or you have that camera application as a replacement?
Click to expand...
Click to collapse
I got both the camera applications.
pantzini said:
I just selected the standard camera in applications and unistalled as usual. No consequences so far.
Click to expand...
Click to collapse
Oops... sorry about the double reply!
Bump!
Any progress?
I tried using other apps but the sound is still 8000Hz and crashes all camera apps if i change the setting.
I am ok with the resolution. Its the framerate and sound which i hate...
It takes wonderful videos on my Optimus p509!
Omnichron said:
It takes wonderful videos on my Optimus p509!
Click to expand...
Click to collapse
Mine takes good videos also, but the sound isn't the best. It is just 8khz!
Hmmm camera improvements for a 3mpx . I don't know , seems useless.
Though a filming improvement would be nice ( from 17 or 18 to 30 ) . Even on my Nokia 5230 with a 2mpx shooter I had 30fps VGA filming
Zerobarat1 said:
Hmmm camera improvements for a 3mpx . I don't know , seems useless.
Though a filming improvement would be nice ( from 17 or 18 to 30 ) . Even on my Nokia 5230 with a 2mpx shooter I had 30fps VGA filming
Click to expand...
Click to collapse
My point exactly. Its not like the Optimus is not powerful enough to record 30 Fps.
And the thing is that its not 18 FPS all out. It drops to 7-8 fps at times. If i can get 24 fps and 22.5k Hz sound at 64 kbps all out i'll be happy. The exposure problems and the dullness of images and such is make do able but low fps and that bad bad sound just ruins it. Videos are totally useless. I dont expect HD quality out of my O1 but cmon. It should atleast do VGA properly.
I believe, that changing build.prop is totally ignored by the camera App. I've tried all possible settings/combinations and nothing changed. There must be some way.

[Q] Better camera app?

I've been looking for a better camera app.
By "better", I am referring to faster/quality. Not instagram and other image manipulation nonsense.
I am also aware that we are limited by hardware, but still there must be something better.
Has anyone found a suitable contender?
Kaioh_shin said:
I've been looking for a better camera app.
By "better", I am referring to faster/quality. Not instagram and other image manipulation nonsense.
I am also aware that we are limited by hardware, but still there must be something better.
Has anyone found a suitable contender?
Click to expand...
Click to collapse
Camera jb+
Sent from my LG-P769 using Tapatalk 4
Is there any way to improve the quality of the camera? It is almost useless. Rooting or something?
Kaioh_shin said:
I've been looking for a better camera app.
By "better", I am referring to faster/quality. Not instagram and other image manipulation nonsense.
I am also aware that we are limited by hardware, but still there must be something better.
Has anyone found a suitable contender?
Click to expand...
Click to collapse
The best camera, IMHO, is LG Camera Pro.
Better Camera App
I am using super app LGcamera (there is free version too) and there is available to set these things:
video bitrate (default is 15MBps) i use 20MBps
audio quality is better (FULL HD VIDEO) 96kbps, mono, 48000HZ
you can change your save destination
take a photo while recording a movie
....and more
Hey guys
thanks for the opinion!
I've tried for a while jb+ and I enjoyed it more than the stock one (was faster and minimal UI). I did not enjoy however the way you change settings, it seemed awkward. Also the video recorder does no support 1080. Another thing was the lighting setting, auto mode was rubbish and I had to manually select lighting for each photo.
Starting today, I'll be trying LGcamera.
So far, I'm impressed. It really feels solid and works good.
Video supports 1080 and takes photos at 5MP(stock takes photos at 2MP, I believe)
Focus seems better to.
I'd like to ask you guys:
What settings to you use? (focus, photo mode, light)
Also for video
Thanks!
I'm a fan of the stock Nexus camera app and purchased Camera JB+....works for me.
Sent from my LG-P769 using XDA Premium 4 mobile app
I like camera 360
Sent from my LG-P769 using xda app-developers app
I love Camera jb+ too and i purchased it!
It's an amazing app!!
Sent from my LG-P760 using xda app-developers app
steve1000 said:
I love Camera jb+ too and i purchased it!
It's an amazing app!!
Click to expand...
Click to collapse
And it records video in 1080p? I'm trying to put the 1080p in the settings and have FC.
no it just works with 720p but i thing thats enough
Any link to download LG Camera Pro ?
Envoyé depuis mon LG-P970
steve1000 said:
no it just works with 720p but i thing thats enough
Click to expand...
Click to collapse
I see no point in recording in 1080p.....just my humble opinion. 720p works for me too.
Sent from my LG-P769 using XDA Premium 4 mobile app
Motorola camera
Sent from my LG-P769 using XDA Premium 4 mobile app
Does anyone else camera, except LG Camera Pro, which records video in 1080?
noisexoma said:
Does anyone else camera, except LG Camera Pro, which records video in 1080?
Click to expand...
Click to collapse
jb+ camera and snap camera you will need disable "stabilization" in both of them to record in 1080 otherwise will give you fc , sorry about my english :good:
Try moto x camera Google it a really cool camera app as a standalone
Sent from The Galaxy Using Tapatalk 4
Those options have terrible video framerates.
CameraJB+, LGCamera, Camera FV-5, give me bad framerates in video. I'm not sure if there's a fix or something but in darker areas like indoors, the exposure doesn't fix so the framerates dip into the single digits. The only thing I want is just timestamped filenames. Is there a modified Stock possibly?
Solution
steventechno said:
CameraJB+, LGCamera, Camera FV-5, give me bad framerates in video. I'm not sure if there's a fix or something but in darker areas like indoors, the exposure doesn't fix so the framerates dip into the single digits. The only thing I want is just timestamped filenames. Is there a modified Stock possibly?
Click to expand...
Click to collapse
Hey, I see what you mean and I think I can help you.
Here's what you need to do:
1. Get root access to your device (there're plenty of ways)
2. Unzip the attached archive and replace your device's media_profiles.xml with the one from the archive.
To do that, use Root Explorer app and go to /etc. Copy new media profiles and confirm the replacement. Then, don't forget to set the permissions of the new one to rw-r--r--.
3. Restart your device.
Now you have better sound quality in stock app (48000 kHz, 160 kbps) and you have better fps compatibility.
There're several apps for you to use:
a) For better quality and control, you can use FV-5 Cinema app. You should get fixed 30 fps under default settings.
b) As for LGCamera (the one with the older interface, version number around 5.4), you should set fps to 25 and you will get a stable 25 fps, regardless of the lighting.
c) However, if you are using the newer LGCamera (version 7), you'll have to go for a little trick:
Launch the app, and set the fps to 30. Now, go to Setting tab (the last one), select "Edit camera script" and add the following after the existing lines:
preview-fps-range=30000,30000
Now, restart LGCamera app, and you will have stable 30fps performance.
So, there're 3 options for you, choose whichever you like
P.S. I have P765 with the stock firmware from P760, version 20p.
Thanks but
Ace4Apps said:
Hey, I see what you mean and I think I can help you.
Here's what you need to do:
1. Get root access to your device (there're plenty of ways)
2. Unzip the attached archive and replace your device's media_profiles.xml with the one from the archive.
To do that, use Root Explorer app and go to /etc. Copy new media profiles and confirm the replacement. Then, don't forget to set the permissions of the new one to rw-r--r--.
3. Restart your device.
Now you have better sound quality in stock app (48000 kHz, 160 kbps) and you have better fps compatibility.
There're several apps for you to use:
a) For better quality and control, you can use FV-5 Cinema app. You should get fixed 30 fps under default settings.
b) As for LGCamera (the one with the older interface, version number around 5.4), you should set fps to 25 and you will get a stable 25 fps, regardless of the lighting.
c) However, if you are using the newer LGCamera (version 7), you'll have to go for a little trick:
Launch the app, and set the fps to 30. Now, go to Setting tab (the last one), select "Edit camera script" and add the following after the existing lines:
preview-fps-range=30000,30000
Now, restart LGCamera app, and you will have stable 30fps performance.
So, there're 3 options for you, choose whichever you like
P.S. I have P765 with the stock firmware from P760, version 20p.
Click to expand...
Click to collapse
That trick unfortunately didn't make a difference.. All third party apps are still agonizingly laggy. Thanks though, it was worth the shot.

[Q] Snapchat issue AOSP

I have noticed on AOSP roms that when i film on snapchat it films a bit but not as much as i want, it just suddenly stops.
Please help me
Håvi said:
I have noticed on AOSP roms that when i film on snapchat it films a bit but not as much as i want, it just suddenly stops.
Please help me
Click to expand...
Click to collapse
Known issue been asked many times..Temp fix go to Snapchat settings video quality change it to low reboot and should be fine
I also have this issue.. Unfortunately setting it on low changes the proportions which sucks
Sent from my GT-I9300 using XDA Premium 4 mobile app
Had a dream about this... Try going to camera app and go to video setting, in the recording setting change the video to a lower one. Mine was at 1080p and when I changed it to 720p it started working amazing. Try setting it lower if that doesn't work for you. Mine was only recording for 1 second and would stop, after this I can record the full length allowed now. Let us know if this works for you
Håvi said:
I have noticed on AOSP roms that when i film on snapchat it films a bit but not as much as i want, it just suddenly stops.
Please help me
Click to expand...
Click to collapse
Wrong post deleted
malvarez92 said:
Had a dream about this... Try going to camera app and go to video setting, in the recording setting change the video to a lower one. Mine was at 1080p and when I changed it to 720p it started working amazing. Try setting it lower if that doesn't work for you. Mine was only recording for 1 second and would stop, after this I can record the full length allowed now. Let us know if this works for you
Click to expand...
Click to collapse
Properly because it was posted 2 posts above yours back in March lol

YouTube HDR

YouTube HDR
SWEEEEET
ooh i wanna seeee
what's the link so i can seeeeeeeeeeeeeeeeeeeeeeeeee..... :victory:
marctronixx said:
what's the link so i can seeeeeeeeeeeeeeeeeeeeeeeeee..... :victory:
Click to expand...
Click to collapse
Wow that's sick here's a link.
https://youtu.be/mkggXE5e2yk
Sent from my SM-N950U1 using Tapatalk
Anyone have issues with lag? When I select 1440p 60fps HDR, the video will start to slow down and begins to skip. I have even turned on performance mode and it still does it. I've rebooted my phone, made sure nothing intensive is running but no luck. It's not my internet connection either as I have 200Mbps download
Anyone tried this, should look nice:
https://m.youtube.com/watch?v=1La4QzGeaaQ
Ryya said:
Anyone tried this, should look nice:
https://m.youtube.com/watch?v=1La4QzGeaaQ
Click to expand...
Click to collapse
It looked really good, nd brought back so e good memories.
Sent from my SM-N950U1 using Tapatalk
The one in OP looks like $#!t on mine ??? Got screen set as high as it will go. The other ones seem to work.
Sent from my SM-N950U using XDA-Developers Legacy app
I have seen some skipping and video lag on the YouTube HDR videos.
both videos look so good!!
---------- Post added at 01:42 AM ---------- Previous post was at 01:39 AM ----------
mardukeme said:
Wow that's sick here's a link.
View attachment 4267096
https://youtu.be/mkggXE5e2yk
Sent from my SM-N950U1 using Tapatalk
Click to expand...
Click to collapse
Looks so amazing on note. Thanks for the link!
TPR300C said:
Anyone have issues with lag? When I select 1440p 60fps HDR, the video will start to slow down and begins to skip. I have even turned on performance mode and it still does it. I've rebooted my phone, made sure nothing intensive is running but no luck. It's not my internet connection either as I have 200Mbps download
Click to expand...
Click to collapse
No lag while playing, but scrubbing is choppy.
fireguy0306 said:
I have seen some skipping and video lag on the YouTube HDR videos.
Click to expand...
Click to collapse
Same the phone heats up and I seem to have fps drop.
Not sure I understand this YouTube HDR video thing...
HDR, in photos, is a high dynamic range from multiple exposures. So shadows are boosted, etc.
How can a video be HDR? So say it's a high dynamic range and colours and shadows are boosted. Okay. But what feature does YouTube "HDR" then apply together with our Note 8 screens that's so special as opposed to viewing it on any other device? Not quite sure I fully understand.
TPR300C said:
Anyone have issues with lag? When I select 1440p 60fps HDR, the video will start to slow down and begins to skip. [...] It's not my internet connection either as I have 200Mbps download
Click to expand...
Click to collapse
Is the video buffering when it skips? If so, are you on WiFi or LTE? If it's LTE, some carriers throttle you whenever you're streaming video.
Mine does the same thing. Doesn't matter if it's on Wi-Fi or LTE. 1080p HDR and 1440p HDR both lag. 1440p is a fast slideshow. Unwatchable atm. Until either YouTube or there is a patch it fittest work right. So far have confirmed outs on everyone phone I have tested from people at work. 4 including mine. Netflix hdr seems like outta working fine tho.
Gary02468 said:
Is the video buffering when it skips? If so, are you on WiFi or LTE? If it's LTE, some carriers throttle you whenever you're streaming video.
Click to expand...
Click to collapse
I'm on Wi-Fi so I know it's the phone. I'm hoping it's the YouTube app as I have no issue with Netflix HDR content.
TPR300C said:
I'm on Wi-Fi so I know it's the phone. I'm hoping it's the YouTube app as I have no issue with Netflix HDR content.
Click to expand...
Click to collapse
I have the exact same issue with YouTube HDR. It's unwatchable and i sometimes lose fps when playing HDR content on YouTube
Sent from my Samsung SM-N950F using XDA Labs
Edit 2: https://www.xda-developers.com/hdr-youtube-app-android-1080p-only/
Edit: It appears since then 1080p is the highest resolution for HDR videos. So they removed 1440p and 4K playback for HDR for now. Which is a good sign, it means they realised the problem, and removed it until they fix it. Hopefully it will be soon.
Original:
I have the same issue on my Xperia XZ Premium. I only now noticed youtube has HDR support, but playing it at 2160p the videos are very laggy, and slowed down and skip around to keep up with audio. Playing it at 1440p, still a problem but not as bad. At 1080p it's okay, but then again you lose 3 quarters of the resolution by going down to 1080p. What's the point of 4K HDR if it doesn't work? This is a YouTube app problem though. I made a bug report, hopefully they notice it and fix it.
These stats don't really show anything, they look normal, but it's 100% not normal, as it slows down significantly for no reason, it's not buffering or anything. It's like the app can't handle all the data.
Which is wierd as 2160p 60fps videos work fine. The problem is with HDR

VIDEO STABILIZATION DOESN'T WORK? mate 10 pro

after the 9.0 update video stabilization doesn't work anymore on the mate 10 pro, they completely removed it. no way to enable it. why?
It is already activated by default, only in 4k and 1080p 60fps is not activated
Huezo147 said:
It is already activated by default, only in 4k and 1080p 60fps is not activated
Click to expand...
Click to collapse
not on mine, no difference between 1080 and 4k
LosSerpent said:
not on mine, no difference between 1080 and 4k
Click to expand...
Click to collapse
Then stabilize the videos with the Google Photos app
Huezo147 said:
Then stabilize the videos with the Google Photos app
Click to expand...
Click to collapse
i tried it, and it did work, but it just seems stupid that i have to use google camera instead of the default one. i'm not sure what i can do. i already tried resetting the huawei camera app but still nothing.
does anyone else have this problem or is it just me? it works just fine with google camera.
Huezo147 said:
Then stabilize the videos with the Google Photos app
Click to expand...
Click to collapse
Hi!
Unfortunately final quality is bad - the video floats and very much visible convex jelly-effect.
Tried so many app for video-shot and all of them hoot video almost the same as a stock camera.
Relatively good filming video(with EIS) the Open Camera app, but only at daylight and at FHD 30 fps only.
Looking for some other camera app...

Categories

Resources