Calling Camera Experts! Modding media xml file can improve camera pix quality??? - Desire HD Q&A, Help & Troubleshooting

I heard someone saying
""you can find a thread guide how to make best camera by moding /system/ect/media_property.xml which reduce compression to 0%
So you can have best camera in whatever rom you use""
Now it looks achievable to me, but I would like to ask the developers if it's really possible??

Related

Better Recoding Video Quality with XPERIA CAMERA

Hi brothers, now I wrtie to ask if somebody knows where is the register entry for the xperia camera, I think i found it but it won't show all the entries that the HTC cameras show. The HTC cameras registry entries has all detailed on different folders like JPEG settings, medium quality video, high qualitity video, and stuff like that.
Well, I think that I have the solution for the bad quality video of the xperia when you shake o move your phone, I think you know that I mean. You see always pixelation, and that have various reasons. One is that the video format is very bad quality for, it's only 3GP and we don't have a choice like other HTC Cameras when you have MP4, CIF and other formats. Other reason is the video's bitrate and THIS is our solution.
If we can turn up the bitrate of course we'll have better quality in the videos and we can see especialy an improment in scenarios like sports when we have to move the phone very much. Of course, that bitrate increment become the video more heavy but that's something we have to deal with because the quality worth it.
Other solution is find a way to change the video format to H264 or MP4 and combine the bitrate idea with this video format too.
I have been making some experiments but no luck yet. Any ideas?
Nobody?
I'm sure that somebody can post one good idea. Come on people, you guys make the best HTC's roms and more, I don't think you have no idea about solving this. Somebody?
I think its Sony+HTC problem, not something that belongs to here ...
just like u can't have smile shutter, same ways, u can't change recording format ... may be some time in future, Sony might add support for h264 recording in firmwares, just like they added auto flash and geotag in leaked R3AA/R4AA rom.
Thanks for the reply
Thnaks for the answer! You are totally right in every point BUT I think that waiting is not an option for me because I bought the Xperia almost replacing my HTC TyTN + Sony Camera. I like to record almost all the concerts I go and the Xperia is the right option if we can make some camera improvements. I think if someone give me the xperia camera source code I can do everything by myself, or at least that is that I have in mind
Even, I think we can make a few changes for the camera to allow to zoom when recording video (if somebody haven't done it yet..).
In other hand, where can I find the R4AA rom? I didn't know that was already out. Again, thanks for the reply!
manishbully said:
I think its Sony+HTC problem, not something that belongs to here ...
just like u can't have smile shutter, same ways, u can't change recording format ... may be some time in future, Sony might add support for h264 recording in firmwares, just like they added auto flash and geotag in leaked R3AA/R4AA rom.
Click to expand...
Click to collapse
there is no r4aa. he was refering to unknown sourced leaked camera app with geotagging and auto flash, which supposed to be present in r3aa, but never was actually.
zoom facility in the video recording of the xperia is a very welcome step...hope somebody smart enough in the xda forum look forward to it...
I think it could be done, because the camera app uses a system file to access the camera, then it uses a video or picture encoder to produce a picture or a video. If somebody change the encoder and set the new parameters or settings into the camera app i think that it will work.
Exactly
And I'm your men, I wanna do that, but I have to view the source code or something. Where can I find it? Anyone on this forum can give me a hand to start working? Thanks!
I think that the better way is create a new camera app and add lots of features and then sell the app to a company like spb.
For more research:
CameraCapture_Mode - http://msdn.microsoft.com/en-us/library/bb416521.aspx
nickdog said:
I think that the better way is create a new camera app and add lots of features and then sell the app to a company like spb.
For more research:
CameraCapture_Mode - http://msdn.microsoft.com/en-us/library/bb416521.aspx
Click to expand...
Click to collapse
hahah nice one, Good luck with it.
if the wanted to make it a camera phone then the wouldn't put wortless camera in it. i wonder why sony didn't put better camera in it like SE k versions my old k750 has better camera .

[Q] media_profiles.xml

I was curious to know if there is any mods for to make the camera on our phone a little more clearer by modding the media_profiles.xml for our phone?? I am just asking because when i had my first android there were mods to type in to make the camera qaulity a bit better and record in a higher resolution but that phone was old and not very good to begin with...

[Q] How to modify media_profiles.xml to increase camera quality?

I've been trying to increase my camera's quality by editing the "media_profiles.xml" file, without luck. It seems like it's been ignoring my changes to the file. The first thing I've tried to do was simply to increase the fps from 30 to 60, to see what happens. There are many different encoder profiles for 1080p video, so I've edited them all, without luck.
I know that you can already record in 60 fps by selecting the different mode i the camera app, but I'd also like to increase the bitrate of both the video and the audio, and also the resolution (if possible) to the camera sensor's maximum of 2688х1520 pixels. (120 fps possible, for ultra slowmotion?)
I'm s-off with the newest firmware for 4.4.3 and running Android Revolution 9.1 (wiped this morning, so fresh installation).
I know about this thread: http://forum.xda-developers.com/showthread.php?t=2743174&page=52
But unfortunately it doesn't work for my phone since the 4.4.3 update (even though there's a person saying that it does work for him/her) I also want to learn how to edit the settings so I can customize it so it suits me.
Thanks for reading
Bump!
I'd really appreciate some help!
Help will be greatly appreciated!
KKLD said:
I've been trying to increase my camera's quality by editing the "media_profiles.xml" file, without luck. It seems like it's been ignoring my changes to the file. The first thing I've tried to do was simply to increase the fps from 30 to 60, to see what happens. There are many different encoder profiles for 1080p video, so I've edited them all, without luck.
I know that you can already record in 60 fps by selecting the different mode i the camera app, but I'd also like to increase the bitrate of both the video and the audio, and also the resolution (if possible) to the camera sensor's maximum of 2688х1520 pixels. (120 fps possible, for ultra slowmotion?)
I'm s-off with the newest firmware for 4.4.3 and running Android Revolution 9.1 (wiped this morning, so fresh installation).
I know about this thread: http://forum.xda-developers.com/showthread.php?t=2743174&page=52
But unfortunately it doesn't work for my phone since the 4.4.3 update (even though there's a person saying that it does work for him/her) I also want to learn how to edit the settings so I can customize it so it suits me.
Thanks for reading
Click to expand...
Click to collapse
I can't help with this, but have you tried asking in the picture thread? There are a couple of guys in there that might help.
Pictures Taken With M8
Alright, in the thread I linked in OP, I followed the instructions some users suggested and made the mod work again
It works flawlessly for me and many others.
Unfortunately OP is banned, so I've attached the file that's I've edited to work (per the instructions) with Sense 4.4.3 ROMS, happy flashing!

Comparison between stock photos with LineageOS photos?

Since we're not getting the update for Nougat I'm thinking of finally unlocking the phone. The main issue for me is the camera quality. I searched the whole forum but I couldn't find any post comparing the quality of the photos of both ROMs. I was wondering if someone could make a comparison post since it would help a lot of people decide whether to unlock or keep the phone locked.
up! I'm also interested
Stock cam quality is far better than other custom roms btw i am on RR-N-v5.8.2 due to battery and performance i moved from stock to RR.
If you want good photos you must stay to stock rom.
Forget the custom roms for photo quality.
first pic is aosp DU 7.1.1 stock camera
second its imperium stock based 6.0 v10 cam.
raptorddd said:
first pic is aosp DU 7.1.1 stock camera
second its imperium stock based 6.0 v10 cam.
Click to expand...
Click to collapse
Well Stock seems clearly better. Maybe results can be change with different apps. BTW shooting raw is another option. what s ur raw shooting app?
ndhakara said:
Well Stock seems clearly better. Maybe results can be change with different apps. BTW shooting raw is another option. what s ur raw shooting app?
Click to expand...
Click to collapse
yes i zoomed both pics on the cup i could read better on stock clear image.
i use v10 camera stock app.. its here in theme section i beleive.. and freedcam google it for g+ or in playstore has alot of parameters for manual. for raw. for editing snapseed and photoshop express.
Thank's for this thread. Thousands of posts in the thread but no clear statement on this important fact.
Also, the stock camera seems to be able to focus on closer objects than third party cameras using camera API 2. At least with the (excellent) Footej camera app I wasn't able to focus as close in a controlled test.
On cm or lineage use lightroom camera shoot in raw quality problem solved
Thoughts on how (not) to compare image quality especially with third party apps
Preambel:
in this context "stock camera" means whatever LG packaged into the official LG G4 stock roms, in my case Marshmallow. So no V10 backport/sideport or likewise
"third party camera app" refers mostly to me using "ProShot", but in some cases also "FreeDCam"; but is not limited to
third party is simplified an app not from LG; it is mostly available through Play store or via apk sideload. The point is that for comparison it must be available to - and run on - any custom/AOSP based ROM.
honestly I did not yet go to any custom ROM, neither Stock nor AOSP. My 2016 built G4 (H815) didn't boot loop yet and my 2 years warranty is void in a few months. Therefor and because I might have time in late summer I will go from theoretical to practical.
if and when you use automatic modes and respective filter settings of a camera app, you might not be interested in the detail that I am going into. Honestly, that's nothing wrong and maybe a healthy decision!
as I work very often in manual mode and I constantly adjust these settings to get specific results, it is very important to judge in detail, also doing pixel peeping :cyclops:
These are more hypothetical methods for comparison the stock ROM and custom ROM camera performance. It is a subject that bothers me for quite some time. As I stumbled upon this thread I decided to dump methods on how I would - or better will - do the comparison. Please don't be offended because of me ripping apart the previously mentioned methods.
I believe that the methods presented in this thread - to determine quality difference between Stock and Custom/AOSP based ROM - are quite flawed.
Just to analyze the quality it needs most complete EXIF data. Which isn't available in the posted images. (Again, you might be fine by "just looking" at the automatic mode results .) As I use the stock camera app now and then and mainly ProShot I know that these apps differently set Shutterspeed and ISO under same conditions. I guess, which is done by the expectation and goals of the respective developers. So a good comparison would require to set the values manually. Also focus, as far as it can be done precisely (eg. macro and infinite; as I know only "FreeDCam" provides setting it by values in %)
Yes, the basis for comparison should be a raw image. Example: ProShot has an option for noise reduction. It can be set to "NR HQ/LQ/Off". When taking pictures with these settings you (most of the time) can easily distinguished each from the other. Therefor ProShot either uses different and own algorithms, or it can say to Camera2 API (wild guess...) to do more/less noise reduction. Just by this fact, a comparison between the stock camera JPGs and ProShots JPGs isn't enlightening.
Therefor raw/dng files should be better for comparison. BUT there is the next thing: The stock camera saves DNGs with a different bit depth than ProShot. (I just now cannot name a tool to read the bit depth, but you'll find one). Stock camera creates 10bit files where ProShot creates 16bit files (btw, size is about 20MB vs 30MB). I do not know if ProShot just converts the 10bit data and puts it into a 16bit file. But therefor even a comparison between stock and third party RAW/DNG might not be valid, too!!! FreeDCam offers in its "complex" user interface different RAW bitdepths but I never gave it a try.
Btw, I read once (TL;DR) that modern professional cameras "nowadays output 14bit or even 16bit depth" raws. Therefor another wild guess(!) is that the LG G4 truely outputs only 10bit raws - even for ProShot. I got not the slightest idea on how to determine. Do you? Help appreciated!
Not to compare apples and oranges I would rule out in-depth comparison between stock and third party camera apps as the stock app won't be available. As I am already almost only using third party apps even on stock ROM this makes it in the future much easier for me to determine if and how much custom ROMs influence the LG G4 camera and photo quality.
Until now it's theoretical and addresses the methods that I will use myself in the near future. Sorry for making such a fuzz about it. That's all I can offer for now.

Is there a way to fix dark video on modded gcams for Oreo roms?

Hello, i've been using arnova's modded gcams for a while, and noticed that video recording is extremelly dark, and sometimes get black screen flashes on it, not even close to photo's quality.
The only camera that seems to be doing an extremelly good job with videos is the oneplus modded one, but it lacks a lot of features.
Actually the image quality of the modded Gcam is shocking when enabling hwhdr on debugging and setting hdr to high, video doesn't stand a chance. As it doesn't happen only on one app, I believe it is a system or a camera2api configuration that the oneplus camera and the default camera ignores (I am running Pixel Experience, feb latest build, but it's a thing on every Oreo's ROM).
Is there anyone that knows about the topic any way or idea to debug it -be it from the camera source files or from the c2a settings-? It would be insane to have also the video ia for stabilization of the Gcam and maybe it can compare or be better than the OnePlus Camera.
Open to suggestions !
They is another problem with the modded gcam, when we select 60fps option camcorder the screen flickers while focusing and thats been recorded
There's nothing to do to check flickering, dark video and fix colours on preview? images looking a bit color-dead before obturation on some cameras, seems that only aplications that overrides those settings are working good. (modded gcams are dark and flickers on video, apps like instagram that doesnt obture gets a bit of lack of colours since preview doesnt do a bit of hwhdr to have an more accurate end result to obturation and also nicer looks on instagram photos). Seems to be a problem with the phone configuration since the camera can record well on other devices, and the op camera can record well on ours. Not like there are no ways around now, we can use both cameras and take the images with stock camera before uploading them but in long term it would be a nice improvement on social networks direct uploading, easier to take videos and photos on a single application (also to have gcam benefits as it is video stabilization). Sorry if I didn't explain myself properly, im not so good at english. Also, I didnt develop directly for android/camera but if someone with a bit of idea gives me the hand I can check out the settings. I don't have so much free time to learn now but as a developer with a couple of tips on the topic maybe I can find a way around to check those settings. Or if an experienced developer with time and will to do it I can help out maybe. I believe it's worth to give it a look

Categories

Resources