Jpeg quality on MIUI stock cam - Xiaomi Poco F1 Questions & Answers

Hey guys,
I'm using Global Stable 10.3.4 and I can definitely notice stock cam has improved.
However, where it remains the same is on fine details, like bricks, fabrics, etc. where is noticeable that software compresses image and delete all fine details, image becomes blurred.
I've been playing with Gcam port from this forum and it doesn't suffer from this, AS LONG as jpeg quality is set to 100%. When Gcam jpeg quality is set to 85% or lower, I get the same blur and lack of detail.
My suspicion is that MIUI stock cam jpeg quality is not set to 100%. Could it be possible to tweak it a D force it somewhere to make stock cam use 100% quality as in Gcam?
Many thanks in advance

Well you have contrast, saturation and sharpness options in the settings menu of the miui camera app, try playing with that a bit!

Related

Tips to improve image quality in LineageOS using default Snap Camera

Hi,
I've recently been playing around with various cameras under LOS on the Axon 7.
I've been experimenting with Snap (built in LOS camera), Open Camera, A Better Camera and Footej Camera.
Simply installing the apps and using the default options yields the following order (best to worst):
A Better Camera
Open Camera & Footej Camera (tied 2nd place)
Snap camera
However, by tweaking some of the options in Snap camera, I've been able to get consistently better images than any of the other apps using their defaults.
To improve the quality of Snap make the following tweaks:
- Set Picture Quality to High
- Set ISO to Auto HJR
- Set Contrast to Level 6
- Set Sharpness to Level 3
- Set Auto Exposure to Centre Weighted
I've done side by side comparisons of the four apps and I've found that Snap leads the pack with the tweaked settings. As an aside, I used the app PhotoGrid to create the zoomed side by side images.
I'd be interested to hear back from others re: their experiences using the tweaks to improve image quality.
One final note, I also tried using the Axon 7 stock B04 camera on LOS, but it was consistently worse than any of he other four options so I removed it. There is a magisk module for B04 if you want to try this for yourself.
Regards,
jamesK
Here are some comparison images. For each image the apps are represented in the following order:
Footej Camera - A Better Camera
Open Camera - Snap Camera (with tweaks)
I have tried your settings and the results with snap camera were a bit better.
Because I ve used high resolution mode the differences where less significant.
I tried a comparison with axon 7 camera mod for LOS and it's quality is still the best in my opinion.
1. Snap @ high res settings
2. Snap @ your settings
3. Axon 7 camera mod (Tapatalk app bug uploads media to his own server.)
http://cloud.tapatalk.com/s/59ae3ff140141/IMG_20170905_091049.jpg?
Hi,
Thank you for taking the time to test.
Your first image was noticeably better than the other two (you could see the marks on the thermometer).
Are you using B05, B04 or some other version of the LOS camera mod?
I tried the B04 magisk version of the mod but didn't find that it produced good results. Perhaps I should try B05.
Regards,
JamesK
I am using b04 Magisk by kingo.
Ive used the screenshot function on my device. Cropping images resulted in lower image quality.
I took a look on the numbers of the thermometer and on my devices screen I had the best images with zte cam.
One small note. The object is appx 3 meters away from me and the pictures were taken after tap focusing the object.
SilentEYE said:
I am using b04 Magisk by kingo.
Ive used the screenshot function on my device. Cropping images resulted in lower image quality.
I took a look on the numbers of the thermometer and on my devices screen I had the best images with zte cam.
One small note. The object is appx 3 meters away from me and the pictures were taken after tap focusing the object.
Click to expand...
Click to collapse
Thank you for the details. The only difference with the images I attached is that I zoomed to 100‰ on the original images.
As mentioned, when I tried this with B04, the image quality was not as good as the other camera apps.
I'll reinstall it and try again. Perhaps. I overlooked something.
Thanks again for your feedback

camera tweaks

Hey everyone!
First and Foremost, DO A NANDROID BACKUP!!!!! I am not responsible for any mistakes that you make or if anything happens to your phone.
for thoes who want to test non compression settings and are rooted :
you can flash in magisk and that allows to set jpeg 100%
It's only work with stock camera . It's has no effect in gcam or ....
Changelog:
V1-
-set JPEG quality to 100%
-Increase 1080 and 4k bit rate
-Set audio to channel 2 (stereo)
-Increase audio bit rate
-Increase photos details
V2-
-Some changes for better vibrance and saturation
V3-
-Increase video quality
-Increase audio quality
-Increase photos details
V4-
- Larger Image Buffer
- Larger colour information flow from colour sensor in blend matrix
- Better overall handling of ISO exposure settings
- Better low light performance
- Less noise in low ISO
- More aggressive handling of high ISO aliasing
- Extra frame of bracketing for HDR modes
Enjoy
What does it contain?
Yes, some explanation and info would be welcome haha.
EDIT : guys, don't flash until we have more info.
look at the README:
Changelog:
Code:
v1 - Initial Release
v2 - Fixed the earpiece not working throughout the system
v3 - Fixed Earpiece not switching from multimedia to calls
v4 - Fixed bluetooth audio issue
v5 - Fixed right channel not playing through main speaker
v6 - Fixed latency issue between earpiece and main speaker
The rest seems legit, so it doesn't seem to be a scam, however, it would be good to know exactly what it does. Also, since you used as a model the stereo speaker mod from @acervenky , it would be nice to give him some credit.
Samples
Gcam - stock camera - camera tweak
More sharp and WB super accurate
Works as a module and easy to uninstall?
Just delete from magisk model
https://forum.xda-developers.com/newreply.php?do=newreply&p=78280377
Apart from JPEG quality, which was set to 100% by you, these files have no impact on photos, processing or whitebalance.
They control video.
Also, OnePlus' stock camera and for example GCam are already using 95% JPEG quality.
There is no noticeable difference between 95 and 100%. All this does is needlessly increasing filesize.
Providing downsized samples through the forum is also not saying anything.
The "difference" which can be seen in your samples is not caused by the change you did to the files.
You just took a bad photo from what I can see (bad focus / handshake?!).
Also keep in mind that stock camera sometimes does not apply postprocessing when using it right after GCam.
Clear recents first if you compare them.
If I missed something, please provide thorough information to what you've actually changed.
No disrespect, but in terms of photo-quality this is a placebo-tweak.
V2
Samples:
Gcam - stock - camera tweak
AcmE85 said:
https://forum.xda-developers.com/newreply.php?do=newreply&p=78280377
Apart from JPEG quality, which was set to 100% by you, these files have no impact on photos, processing or whitebalance.
They control video.
Also, OnePlus' stock camera and for example GCam are already using 95% JPEG quality.
There is no noticeable difference between 95 and 100%. All this does is needlessly increasing filesize.
Providing downsized samples through the forum is also not saying anything.
The "difference" which can be seen in your samples is not caused by the change you did to the files.
You just took a bad photo from what I can see (bad focus / handshake?!).
Also keep in mind that stock camera sometimes does not apply postprocessing when using it right after GCam.
Clear recents first if you compare them.
If I missed something, please provide thorough information to what you've actually changed.
No disrespect, but in terms of photo-quality this is a placebo-tweak.
Click to expand...
Click to collapse
Just try it you will see the changes
Nice, thank's you for this mod ?
V3
Flash part 1 and part 2
javad79 said:
Samples:
Gcam - stock - camera tweak
Click to expand...
Click to collapse
Image 1 and 3 are screenshots ?
Photo seems actually nice on camera tweaked but your presentation and samples look weird... what's your mod actually modifying to improve quality??
Looking at the files I agree with the earlier comment, looks like your touching video encoding/decoding... don't see anything related to picture in there...
Gugus38 said:
Image 1 and 3 are screenshots ?
Photo seems actually nice on camera tweaked but your presentation and samples look weird... what's your mod actually modifying to improve quality??
Looking at the files I agree with the earlier comment, looks like your touching video encoding/decoding... don't see anything related to picture in there...
Click to expand...
Click to collapse
In V3 I make changed in Media profile to change jpeg quality and increase audio quality and force it to record stereo and increase video quality by changing bit rate
In part 2 I add some tweak
I belief with this mod you can get better results than stock
Camera or gcam
V3 increase gcam quality too
I'm so busy now and couldn't test or send good samples
If you have any ideas to increase quality just say it
Stock-gcam-tweake
Upload to imgur or any other site that doesn't compress the photos. Thx
http://imgur.com/gallery/I5EnS2W
I am a little confused . What file should I install?
javad79 said:
V3
Flash part 1 and part 2
Click to expand...
Click to collapse
Falsh first one after that second one

The Ultimate Guide To GCam

Hopefully.
Tested on: RR ROM (not GSI) from https://build.lolios.ml/sirius/
GCam version: Arnova's Advanced 1.5 Download
Config xml file: see attachments Alternative Download
Disclaimer
If you're not using my same setup I can't guarantee the same results, though I think this should apply, for the most part, no matter the ROM you're using. If you're using a GSI I think it should work the same as long as you have flashed the gcam fix zip (or Magisk module).
Introduction
I chose Arnova's mod because it's the most customizable out there. To get it working straight out of the box:
Install GCam
Create directory /sdcard/GCam/Configs if it doesn't exist
Move xml config file to the directory
Long press on the GCam icon and select "Take a video"
Double-tap on empty space below shutter
Choose the xml file from the menu and click restore
Step 4 is necessary because trying to lauch with the defaults options results in a crash, but not in video mode. We're using this as workaround to import the settings in order to fix the crash and configure the camera.
I'll now describe every setting that I chose to edit so that you can understand why I set it up the way it is. Most of these settings are based on personal preference so feel free to experiment for yourself.
Settings
Mod settings - Advanced - FIX - RAW10 in front
Enabled.
Fixes the camera crash on app launch.
Mod settings - Advanced - FIX - Buffer Fix
Enabled.
Fixes viewfinder lag. Doesn't fix it for Night Sight. Also, I remember this wasn't needed when using GSI + gcam fix zip so if you're using a GSI maybe try disabling this and see how it goes.
Autoexposure correction
1/10 sec.
This setting is very important. It controls the balance between noise and blurriness / time it takes to shoot a frame.
Basically, here's what this does. When you take a picture there are a few factors that influence how bright the picture will be. These factors are width of the objective, time the camera spends taking the picture (also known as shutter speed) and the sensor sensitivity (also known as ISO). Unlike regular cameras, the width of the objective is fixed (I believe) so on our phone we're limited to ISO and shutter speed. The longer the shutter speed, the more time the sensor is exposed to light, the brighter the picture. If you're not steady though, longer shutter speeds will result in blurry photos. Increasing ISO, on the other hand, will allow you to keep shutter speed low and have sharp images, but will significantly increase the amount of noise in the picture.
What this setting does is set a limit to how high the shutter speed can get before it will resort to increasing ISO if it needs to. The default settings of Off gave pretty bad results for me - picking 1/50 and 2000+ ISO where 1/10 and 300 ISO did perfectly fine - though feel free to experiment for yourself. Keep in mind the actual time to take the pic will be at most this setting times the HDR+ parameters setting. So if you have the default setting of 9 for HDR+ and 1/10 like I do it will take at most 0.9s to take a picture.
Correction NightSight
1 sec.
Same as Autoexposure Correction but for Night Sight mode. I set this to a very long time but it's totally personal preference so feel free to tweak this. As you may have guessed, I really dislike noisy pictures...
Pixel 3 AWB
Enabled.
See the GCam ports site relative FAQ.
I found it produces warmer colors. It also seems to only work if you use Pixel 3 or Pixel 3XL as models. Feel free to change.
Mod settings - Advanced - Base - Model
Pixel 3 for both cameras.
Tested other models and didn't find any difference except Pixel 3 AWB stopped working except for Pixel 3XL.
Mod settings - Advanced - Noise reduction
Everything disabled.
Trying enabling them but they didn't really seem to work so I left them off.
Mod settings - Advanced - FIX - Using Sabre
Auto.
Sabre FAQ. I left Auto because I have no clue what that's supposed to mean. Tried both On and Off and they worked but I couldn't spot a difference. It supposedly makes pictures better though, so set to On if you'd like.
Mod settings - Advanced - Libs
Stock by Google.
I just left the default because I tried the other ones and found no difference. Try them for yourself if you feel like it.
Mod settings - Advanced - Enable Auto exposure
Disabled.
This is weird one, most of the times it crashed the app right after shooting (didn't store the pics), other times it worked but I saw no difference. Don't think we're missing out on anything.
Photo - Advanced - "Motion" function
Disabled.
Enabling crashes the app, it might work with different models settings / configs (in Mod settings - Advanced - Base) but I didn't bother because I don't really care for it. If you somehow get it to work, please report back. Thanks!
Photo - Advanced - Optical Stabilization (OIS)
Disabled.
MI 8 SE doesn't have OIS. Not much to say.
Video - Advanced - Init SlowMo with
120 FPS.
Setting this to 120 FPS instead of the default 240 FPS allows to use both 1/4 and 1/8 speed for slow motion.
By the way, I believe that while most of this guide should also apply to GSIs, iirc slow-mo is broken on GSI and there's not much you can do about it. Sorry.
I hope to have cleared up the confusion about GCam, I surely was very confused when I first started looking into it and was quite overblown with all the settings.
Let me know if you know about anything that could be added to the guide.
Thank you!
I can't do the "Long press on the GCam icon and select "Take a video" in MIUI
CoizSola said:
I can't do the "Long press on the GCam icon and select "Take a video" in MIUI
Click to expand...
Click to collapse
True, it's a limitation of the default MIUI launcher. You can install a third party launcher temporarily and use that. To my knowledge there's no other way around it, unfortunately.
Thanks for this thread. There is something wrong about xml file. I am not able to download it via three different browsers. Could you please upload it anywhere else?
TacoNikky said:
Thanks for this thread. There is something wrong about xml file. I am not able to download it via three different browsers. Could you please upload it anywhere else?
Click to expand...
Click to collapse
Updated the OP, thanks for letting me know.
pixel launcher
guglicap said:
True, it's a limitation of the default MIUI launcher. You can install a third party launcher temporarily and use that. To my knowledge there's no other way around it, unfortunately.
Click to expand...
Click to collapse
you can install pixel launcher its works
OMG :victory: This is best GCam i've ever used.
Photo quality(lowest noise) and colors are really changed. Thanks for your hard work
TacoNikky said:
OMG :victory: This is best GCam i've ever used.
Photo quality(lowest noise) and colors are really changed. Thanks for your hard work
Click to expand...
Click to collapse
Glad to hear that! The reduced noise is just the result of the shutter speed setting, I'm still very doubtful about setting 1/10 as limit, sometimes I feel like it's way too long... Especially because it seems like once you've set it it becomes super aggressive in picking it instead of a more sensible combination like 300 ISO - 1/50 shutter speed.
guglicap said:
Glad to hear that! The reduced noise is just the result of the shutter speed setting, I'm still very doubtful about setting 1/10 as limit, sometimes I feel like it's way too long... Especially because it seems like once you've set it it becomes super aggressive in picking it instead of a more sensible combination like 300 ISO - 1/50 shutter speed.
Click to expand...
Click to collapse
Better quality photos are more important than waiting(shutter speed) in my opinion. Colors are sharp and contrast is higher than standart gcam. These settings give really good results. Sharp and clean photos :good:
The app crashes every time I take photos with hdr+ off. And in BSG v2e the shutter speed of hdr+ is so much faster than hdr+ enhanced which is useful if I want to take photos in crowded places
CoizSola said:
The app crashes every time I take photos with hdr+ off. And in BSG v2e the shutter speed of hdr+ is so much faster than hdr+ enhanced which is useful if I want to take photos in crowded places
Click to expand...
Click to collapse
True, thanks for the report. I'll try and see if I can find a workaround. Shutter speed gets faster if you set Autoexposure correction to off, but ISO gets a lot higher as a result and produces very noisy pics.
guglicap said:
True, thanks for the report. I'll try and see if I can find a workaround. Shutter speed gets faster if you set Autoexposure correction to off, but ISO gets a lot higher as a result and produces very noisy pics.
Click to expand...
Click to collapse
And also, I hope we can use the 20MP front camera. The 5MP limit looks pretty bad.
CoizSola said:
And also, I hope we can use the 20MP front camera. The 5MP limit looks pretty bad.
Click to expand...
Click to collapse
That looks like it's a ROM issue since even the stock camera app shoots at 5MP
Thanks friend it's working but there's a lag in night sight's viewfinder.. Can u tell me how to fix it? I've tried a lot of gcam version but nothing works.. I'm using miui 10.3.1.0
Merackball said:
Thanks friend it's working but there's a lag in night sight's viewfinder.. Can u tell me how to fix it? I've tried a lot of gcam version but nothing works.. I'm using miui 10.3.1.0
Click to expand...
Click to collapse
Yeah, as far as I know it's not fixable... it only worked after flashing the GCam fix zip but that seems to be causing issues in MIUI so I don't know.
Thx for share ur experience, but i hv issue slow capture for front camera, how fix it ?
Hi guys try bsg's gcam mi9se v0d, it's working for mi8se..
its work flawlesly on official dot-extended 3.3
need to un-check buffer fix
everything work except photobooth
thank you. i now.have.a working gcam
I installed this but nighs mode lags a lot, what can I do?

Cam apps comparison

Hi guys
I've seen that many people are interested to get anx camera working. I'm on newest syberia and anx is working.
But I'm wondering why all wanna have this app.
In my comparision anx cam to gcam there's for me a clear winner (you'll see a big difference if you zoom in the pictures) :
https://drive.google.com/folderview?id=1HUJUcyHMc3c9MWji8skiON1XLTniLh5J
I've tested in the same area by night and by day.
Both apps are many time adjusted to get the best result of each app.
May there's someone who uses another app with good pucture quality but for the moment gcam 7.3.018 is my favorite.
Gcam settings attached
I agree with you on photo quality.
However stock cam supports better portrait mode, ultra wide camera video recording, manual mode, pixel peaping, etc...
Gcam focuses on quality of standard features, MIUI camera focuses on widening features. There are times MIUI camera has advantages over Gcam, so having both is a better idea than just to pick one.

Question Camera: no auto HDR in pro mode?

It seems that when the stock camera is in pro mode it does not apply Auto HDR to the JPEG image, whether it is told to save the jpeg only or RAW+jpeg. Is that the intended behavior? I agree that the raw needs to be left alone but not applying Auto HDR to the jpeg is disappointing, to say the least, particularly since pro mode is the only place to tame the overly saturated color rendition of the stock camera app.
Unfortunately it's intended behavior.
You can try Good Lock Camera Assistant and disable Scene Optimizer to tame the contrast in default mode.
GroovyGeek said:
particularly since pro mode is the only place to tame the overly saturated color rendition of the stock camera app.
Click to expand...
Click to collapse
You already answered your question about missing HDR in Pro mode. HDR does over saturate the colors.
Samsung should be embarrassed about this camera. OP, did you find a way to reduce saturation without losing HDR?
I tried GCam but half of the functionality doesn't work on S23 at present and I want my camera to be easy/reliable.
mike freegan said:
Samsung should be embarrassed about this camera. OP, did you find a way to reduce saturation without losing HDR?
I tried GCam but half of the functionality doesn't work on S23 at present and I want my camera to be easy/reliable.
Click to expand...
Click to collapse
I don't think that there is any.
You can go with camera mode, but the picture is overprocessed, and you cannot play with it much.
You can go with PRO mode, but you don't have HDR and therefore wide dynamic range.
You can go with ExpertRAW, but the processing of the pictures is somehow even worse than in the base camera app.
You can go with GCAM, but then you don't have access to greater resolution than 12 Mpix (as Samsung is not exposing API to 3rd party apps for 50Mpix and 200Mpix) and some of the features are not working that easily and video mode is limited (same reason as for 50/200 Mpix not available).
ajarosz said:
I don't think that there is any.
You can go with camera mode, but the picture is overprocessed, and you cannot play with it much.
You can go with PRO mode, but you don't have HDR and therefore wide dynamic range.
You can go with ExpertRAW, but the processing of the pictures is somehow even worse than in the base camera app.
You can go with GCAM, but then you don't have access to greater resolution than 12 Mpix (as Samsung is not exposing API to 3rd party apps for 50Mpix and 200Mpix) and some of the features are not working that easily and video mode is limited (same reason as for 50/200 Mpix not available).
Click to expand...
Click to collapse
Incredible that such a large company can make such a bad camera aftr like 15 years in the game.
mike freegan said:
Incredible that such a large company can make such a bad camera aftr like 15 years in the game.
Click to expand...
Click to collapse
I agree. I use GCAM, but of course, it is not perfect. So many decisions in the camera department made by Samsung simply do not make sense to me...
The amazing thing is how bad the Fruit Cam has gotten too.

Categories

Resources