Achieve best camera/video quality/fps discussion - Google Pixel 4 XL Guides, News, & Discussion

Hello all, I have been trying multiple different avenues to achieve the best quality video or raw video streams and would like to share what I have found and open up a discussion for anything that could lead to kernel/magisk/isp pipeline mods that could benefit us all. Here are some apps and resources that I have found to be the best. The max encoding bitrate that I can achieve with avc/hevc is around 160mbps regardless.
Ultracorder
Very good video app, can change api in app settings, paid app, but you can find mod version easily.
FreedCam
Superb advanced settings, alot of features and tweaks, everyone should have this cam. Bayer and dng capabilities
GitHub - KillerInk/FreeDcam: FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs - GitHub - KillerInk/FreeDcam: FreeDcam is a CameraApp for Android >4.0(ics) wich t...
github.com
Newest GCAM can give 100mbps video bitrate but I prefer other apps due to lack of settings but good for the average user
Raw video and camera capture, still in testing phase but works ridiculously good, this is one of my favorite apps, and has alot more potential
GitHub - mirsadm/motioncam: Motion Cam is a camera application for Android that replaces the entire camera pipeline. It consumes RAW images and uses computational photography to combine multiple images to reduce noise.
Motion Cam is a camera application for Android that replaces the entire camera pipeline. It consumes RAW images and uses computational photography to combine multiple images to reduce noise. - GitH...
github.com
Some questions I have are that would increasing frame buffer allow for higher video Bitstream bandwidth?
Also why or how is Qualcomm Spectra 380 shutter lag limited to 30hz and could this possibly be modified?
Could the Video Front End pixel clock or other settings be modified to achieve better quality?
Would gstreamer be good for something like this? Hence these links..
Introduction to GStreamer and TurboX C610 Camera Features
TurboX C610 board runs GStreamer and supports plugins for processing audio, video and other data streams.
developer.qualcomm.com
GStreamer video plugin
On the TurboX C610 development board, use the qtiqmmfsrc plugin to configure video streaming pipelines.
developer.qualcomm.com
Video Decode
developer.qualcomm.com
Here is a link for snapdragon 845, not for sure if it works the same..
MIPI-CSI Camera Solutions on Qualcomm Snapdragon Platforms
The Snapdragon camera sub-system enables these rich features for Mobile Industry Processor Interface -Camera Serial Interface-2 (MIPI-CSI-2).
www.inforcecomputing.com
If anyone has any suggestions or info I appreciate it and thank you

Related

Question on UHD Video Recording Limitations

Hi All from Toronto, Canada!
I hope this is the right place to ask this. My question is as follows:
I have an Honor Note 8 with the Kirin 955 and the Mali T880. The camera on this phone is the Sony IMX278 RGBW sensor, which isn't the best as I hear, but is able to record 4k/UHD video.
From what I can gather, the Kirin 955 doesn't support hardware level UHD video encoding (only DECODING), and any phone with this SoC isn't able to record 4k/UHD video.
Would it be possible (albeit a lot of work) to record 4k/UHD video and either encode it at a software level (i gather this would be really slow), or even by using the GPU instead of the CPU to encode it? From what I can gather, the GPU is much more efficient as processing graphics and 2D video shouldn't be a problem at all for it. It seems like a solution to this would allow any user with this hardware configuration to be able to enjoy their phone cameras a lot more.
I know 4k/UHD video isn't really widespread yet, but I do have the necessary components at home including a 4k TV to be able to enjoy this resolution, so I am looking for a solution to this. Is it as simple as modifying the media_profiles.xml file and installing a different camera app?
I don't know a lot about android development, but I am making it a point to learn as much as I can, and I have put quite a lot of research into this idea before posting here, including searching on XDA. I work in Software Application Support for a small CRM, and I have years of experience doing mods and customization on android devices, so I am familiar with the landscape here and I should at least be able to understand any answer no matter how technical.
Thank you for your help!
jdantow said:
Hi All from Toronto, Canada!
I hope this is the right place to ask this. My question is as follows:
I have an Honor Note 8 with the Kirin 955 and the Mali T880. The camera on this phone is the Sony IMX278 RGBW sensor, which isn't the best as I hear, but is able to record 4k/UHD video.
From what I can gather, the Kirin 955 doesn't support hardware level UHD video encoding (only DECODING), and any phone with this SoC isn't able to record 4k/UHD video.
Would it be possible (albeit a lot of work) to record 4k/UHD video and either encode it at a software level (i gather this would be really slow), or even by using the GPU instead of the CPU to encode it? From what I can gather, the GPU is much more efficient as processing graphics and 2D video shouldn't be a problem at all for it. It seems like a solution to this would allow any user with this hardware configuration to be able to enjoy their phone cameras a lot more.
I know 4k/UHD video isn't really widespread yet, but I do have the necessary components at home including a 4k TV to be able to enjoy this resolution, so I am looking for a solution to this. Is it as simple as modifying the media_profiles.xml file and installing a different camera app?
I don't know a lot about android development, but I am making it a point to learn as much as I can, and I have put quite a lot of research into this idea before posting here, including searching on XDA. I work in Software Application Support for a small CRM, and I have years of experience doing mods and customization on android devices, so I am familiar with the landscape here and I should at least be able to understand any answer no matter how technical.
Thank you for your help!
Click to expand...
Click to collapse
I don't know much about Kirin SOC but with say QCOM to be able to encode via software using say FFMPEG the ISP would have to return preview frame with UHD Dimensions.
Its probably Capable of Encoding 4K maybe can check if it can be modded by understanding how everything works .
1st Check in /system/vendor/lib /system/lib/ lib64 for any file containing the word camera zip them attach them to your post
2nd download freedcam from play store in the menu scroll down and save camera parameters attach the file outputted to /DCIM/FreeDCam
Sent from my NX503A using XDA Free mobile app

Can an additional camera sensor attached via USB-C be read by apps via current APIs?

ok... so totally crazy idea. Hypothetically speaking, what if there is a way to attach a much larger camera sensor (eg. APS-C size with e-mount) onto a fast SD865 phone (or future) via usb-c? And then would it be possible to have camera apps read data from it via current APIs? obviously there are alot of steps i'm missing here, but the biggest weakness in phone cameras is the sensor and there is simply no physical way to put an APS-C sized one in. The lenses would be humongous.
That said, at SOME times, especially those who are more serious into photography, being able to attach your phone to a big sensor would give you superior gear than anything that exist right now. combining the existing computation techiques with a fast processor WITH a large sensor does not exist. it's one or the other, no one has tried to do both yet (there are some old ones like Samsung Galaxy NX and currently Zeiss, but it doesnt seem like they are going to take advantage of computational tech)
Benefits:
- superior HDR with AI (most DSLRs have multi-stacked HDR but they are not as advanced as Google's)
- potentially AI HDR in video footage (no DSLRs have this , done in post)
- Enhanced artificial bokeh on top of already good bokeh to simulate medium format look
- immediate access to mobile lightroom / sharing direct to sources
- all media creation/library in one source
- utilize superior EIS to have stable footage (again, no DSLR has any good EIS tech. more focus in IBIS and OIS which is beneficial only in photos). ever tried S20 or iphone 11 pro at night? it's a noise party. In this case it would be a clean 4k footage with gimbal like EIS
it's true alot of the above can be done in POST when shooting with large sensor cameras
thoughts?

Arnova Google-Camera Mod 8.1 [STABLE]

Redmi Note 7 Pro is a device capable of delivering amazing photos with the help of Google-Camera which has gained a lot of popularity in the past recent years. The aim of this thread is to provide the violet community with the latest news and updates about our dedicated Google-Camera Mod created by Senior Developer Arnova8G2!
The latest available G-Cam Mod is 8.1 version which is now stable. All features are working very well with the exception of face retouching. A lot of work has been put into this version and many significant advancements have been made towards solving various bugs and improving the stability and output quality of this Google-Camera Mod
[Bugs]
face retouching not working
slow-motion autofocus not working
You can download Google-Camera 8.1.101 Stable made by Arnova8G2 from HERE
NOTE: Cloning is no longer supported for this version due to APK encryption
[Changelog]
fixed HDR+ OFF
turned off logcat
fixed zoom buttons
fixed various crashes
updated AWB models
fixed front video zoom
updated stream config
fixed some RAW issues
introduced ram patcher
fixed thumbnail preview
added custom lib config
fixed night sight artifacts
fixed video vf buttons dpi
added vf Open GL support
added sabre management
fixed hot pixels in low light
updated menu descriptions
fixed random viewfinder lag
improved xml management
added noise profile support
fixed front camera skin tone
added AWB OFF/ON buttons
added image quality buttons
miscellaneous optimizations
added portrait HDR+ support
fixed image resolution issues
fixed front camera time lapse
set default portrait zoom to 1.0
added third-party gallery option
[ Arnova 8.1 XML Configs ]
There are four XML configs for this version: FrontA, FrontA_shasta, FrontB and FrontB_shasta. If front camera white-balance fails in certain lighting conditions with FrontA, switching to FrontB is advised and vice-versa. FrontA is ideally suitable for day selfies and FrontB for night selfies
NOTE: Back camera performs the same with all four configs. Only front camera white-balance is affected
Download the XML Configs from HERE
To learn how to load XML files please see this tutorial
Create the appropriate path for 8.x version on device storage » put the XML file(s) inside "Configs8" sub-folder » open G-Cam and double-tap the black empty space around the shutter button » load config (switching between configs does not require rebooting)
NOTE: Android 11 users must grant full file permissions to Google-Camera in order to be able to load xml configs
Long-press on G-Cam icon > Info > See More > Permissions > Files and Media > Allow management of all files
For info about XML features and tuning, please read the changelog upon loading the configuration file!
Shasta is a bracketing mode capable of merging multiple frames of different exposures. Affects noise, controls shadows and allows for a wider dynamic range. Works only with Camera and Portrait (capturing is prolonged while active)
Some basic rules for better understanding of shasta in good light versus low light:
a) in good light, shasta generates more details, but may also add more noise
b) in low light, shasta generates more details, but reduces noise by a large margin
[ PRO Back Camera Tips ]
When shooting in low-light scenarios like after sunset or before sunrise, tap to focus on the viewfinder for a better exposure. Focusing manually will raise just the right amount of exposure for a perfectly balanced ratio between highlights and shadows
When shooting a subject with strong light coming from behind, tap to focus on the subject and slightly raise exposure using the exposure slider. This will ensure the subject will be well exposed
[ PRO Front Camera Tip ]
When shooting a selfie with strong light coming from behind or when shooting in low-light, your face may be underexposed. To counteract this issue, tap to focus on your face and slightly raise exposure using the exposure slider. This will ensure your face will be well exposed
[ Other Useful Tips ]
∆ EIS works only on 1080p ~Auto/30fps videos using ‹IMX586 QBC HDR Mode› video stream which is set by default for back camera. Only compatible with ‹Standard› and ‹Locked› stabilization modes ∆
For ‹Active› and ‹Cinematic Pan› make sure to set Video Stream Config to ‹OFF› from Advanced » Stream Config menu
For recording 60fps videos make sure to set Video Stream Config to ‹Video HSR 60› from Advanced » Stream Config menu
For recording 4K videos make sure to set Video Stream Config to ‹OFF› from Advanced » Stream Config menu. For smoother 4K videos HEVC must be disabled from Advanced menu ~ 60fps not supported
NOTE: Some ROMs do not support video streams for back camera and/or front camera. If there are issues with Video mode, make sure to set Video Stream Config to ‹OFF› from Advanced » Stream Config menu
To prevent slow-motion focus hunting issues, tap to focus on the viewfinder and lock AF/AE by tapping the lock icon on top of the EV slider ~ 1/8 not supported
For Astro mode there is a dedicated ‹Astrophotography On› button which can be enabled from Night Sight drop-down menu
{ AWB On } { Focus » infinity } { Timer » 3sec }
For faster photos with HDR+ Enhanced, set Image Quality to ‹Auto› (alternatively standard HDR+ can be used)
For smoother selfies with less facial details on HDR+ Enhanced, turn off Ram Patcher from Advanced menu and set Image Quality to ‹Auto› (alternatively standard HDR+ can be used or turned off completely)
IMPORTANT: A clean install is always recommended prior to using Google-Camera in order to avoid possible functionality issues with the app! First uninstall all G-Cam apps currently found on your system » install G-Cam » open it and grant permissions » close G-Cam » clear G-Cam data and cache » open G-Cam and apply the settings/config » reboot device
ABOUT 48MP RESOLUTION: True 48MP is not currently supported on any G-Cam mod due to a limitation in RAW Sensor/Camera2API. This mode is only supported in MIUI Camera. On few devices this hindrance has been tackled via Magisk modules which override that limitation. But on mid-range devices it isn't a viable solution because 48MP coupled with HDR+ will basically freeze the Google-Camera app due to processing power being insufficient. There are some older 6.x.x G-Cam versions which support a 48MP resolution on portrait mode, but it is just an upscaled resolution and not the real deal
If you wish to reward Arnova for his work and dedication, please use this PayPal Link
Enjoy Google-Camera 8.1 on your violet device!
{ reserved }
A thousand thanks for this find
"added force 48 sizes toggle to advanced settings"
This option open 48 MP?
Didn't work, black screen and eternal loading is spinning
Daxiomic said:
"added force 48 sizes toggle to advanced settings"
This option open 48 MP?
Didn't work, black screen and eternal loading is spinning
Click to expand...
Click to collapse
This feature does not work on our device due to a limitation in RAW Sensor/Camera2API. And even if this limitation can be overcome, there will be serious performance issues because 48MP coupled with HDR+ Enhanced will basically freeze the Google Camera app due to processing power being insufficient. Google Camera is not designed to work with such high resolutions. Even on the few devices where it does work, it causes huge lags and also the viewfinder is significantly cropped.
archesolus said:
This feature does not work on our device due to a limitation in RAW Sensor/Camera2API. And even if this limitation can be overcome, there will be serious performance issues because 48MP coupled with HDR+ Enhanced will basically freeze the Google Camera app due to processing power being insufficient. Google Camera is not designed to work with such high resolutions. Even on the few devices where it does work, it causes huge lags and also the viewfinder is significantly cropped.
Click to expand...
Click to collapse
What can you say about this mod?
https://forum.xda-developers.com/redmi-note-7-pro/themes/miui-stock-camera-custom-roms-t3927978
Daxiomic said:
What can you say about this mod?
https://forum.xda-developers.com/redmi-note-7-pro/themes/miui-stock-camera-custom-roms-t3927978
Click to expand...
Click to collapse
This is ANX (MIUI) Camera, so of course 48MP mode works fine. It doesn't work with GCam.
The photos from front camera are turning me into an Avatar character. I guess the channels are getting exchanged? RGB <-> BGR ? the live camera preview is ok but the clicked photos are coming out to be so
dumbPy said:
The photos from front camera are turning me into an Avatar character. I guess the channels are getting exchanged? RGB <-> BGR ? the live camera preview is ok but the clicked photos are coming out to be so
Click to expand...
Click to collapse
This is due to color filter arrangement which is set to <RGGB> by default. Changing it to <Auto> will solve the problem. Better yet, use the XML config provided on 1st page.
Stable version
Google-Camera 7.4.104 Stable by Arnova8G2 is up!
[Changelog]
set device video profile
fixed video streams (EIS)
corrected version number
A big thank you to @Arnova8G2 for making this mod possible and special thanks to all beta testers!
Enjoy!
Dear bros, is it best gcam for RMN7 pro ??
Hieubshp said:
Dear bros, is it best gcam for RMN7 pro ??
Click to expand...
Click to collapse
Try it and see if it's good enough for you.
Hi
Just a few things I noticed. Sometimes the location data is not saved, the logs cannot be disabled. It keeps logging regardless of the settings. Other than this and the known limitations it's a good port.
L. E. : another issue that I found is that sometimes the camera doesn't take the picture. It focuses, when I click the shutter it seems to take the picture, but nothing is saved. I can't reproduce it. It happens randomly.
Cheers!
Has anyone tried Gcam version 8?
When I try to record video, after 2 seconds the app freezes.
IcoLGN said:
When I try to record video, after 2 seconds the app freezes.
Click to expand...
Click to collapse
Are you Android 11?
pritzzy said:
Are you Android 11?
Click to expand...
Click to collapse
Yes, I am using Evolution X android 11 ROM. Sometimes it's recodring without any issues but sometimes only the first time when I start recording it freezes and says "Can't record audio. Other app is using the microphone." then i start recording for second time without problems.
IcoLGN said:
Yes, I am using Evolution X android 11 ROM. Sometimes it's recodring without any issues but sometimes only the first time when I start recording it freezes and says "Can't record audio. Other app is using the microphone." then i start recording for second time without problems.
Click to expand...
Click to collapse
Happened to me once, I tried clearing all apps and it worked. Before that it would stop recording. I'm using the stable v7.4
archesolus said:
Redmi Note 7 Pro is a device capable of delivering amazing photos with the help of Google-Camera which has gained a lot of popularity in the past recent years. The aim of this thread is to provide the violet community with the latest news and updates about our dedicated Google-Camera Mod created by Lead Developer Arnova8G2!
The latest available G-Cam Mod is 7.4 version which is now stable. All features are working very well with the exception of face retouching. A lot of work has been put into this version and many significant advancements have been made towards solving various bugs and improving the stability and output quality of this Google-Camera Mod
[Bugs]
face retouching not working
broken autofocus on slow-motion
You can download Google-Camera 7.4.104 Stable made by Arnova8G2 from HERE
NOTE: If you aren't able to install the APK from above, please use the cloned APK from HERE
[Beta Changelog]
optimized code
fixed tone curve
fixed video bitrate
disabled portrait zoom
fixed viewfinder format
fixed front cam skin tones
fixed magenta hue on front
fixed random viewfinder lag
added RN7Pro device config
enabled video resolution buttons for TL
moved spatial denoise to experimental LP
added use sabre toggle to advanced settings
added use restart toggle to advanced settings
added hdr+ instant toggle to advanced settings
added force 48 sizes toggle to advanced settings
added motion photo toggle to advanced settings
added tracking focus toggle to advanced settings
added color filter arrangement to advanced settings
added force jpeg format toggle to advanced settings
added force raw sensor format toggle to advanced settings
[Stable Changelog]
set device video profile
fixed video streams (EIS)
corrected version number
XML CONFIG: I have created an XML config for this version which is tuned for best image quality. You can download it from HERE
To learn how to load XML files please see this tutorial
NOTE: Switching between configs does not require rebooting!
AWB is disabled by default to ensure a straightforward and hassle-free user experience. Suits all indoor and outdoor conditions by rendering accurate image temperature and colors whether shooting in natural or artificial lighting
AWB On (Auto) is suitable for shooting in particular outdoor conditions where a cooler image temperature is needed. Great for capturing foliage with dark-blueish greens and generally recommended for blue colors. Especially suitable for cloudy weather and useful for framing the blue sky with a mass of water in one shot. Not suitable for capturing warm colors such as light-greens or yellow colors in general and great for neutralizing sunlight
NOTE: PLEASE READ THE INFORMATION PROVIDED IN THE XML CHANGELOG FROM MODS CONFIGS CREATOR!
[ PRO Back Camera Tips ]
When shooting in low-light scenarios like after sunset or before sunrise, tap to focus on the center of the viewfinder for a better exposure. Manually focusing on the center of the viewfinder will raise just the right amount of exposure for a perfectly balanced ratio between highlights and shadows
When shooting a subject with strong light coming from behind, tap to focus on the subject and slightly raise exposure using exposure slider. This will ensure the subject won't be underexposed
[ PRO Front Camera Tip ]
When shooting a selfie with strong light coming from behind or when shooting in low-light, your face may be underexposed. To counteract this issue, tap to focus on the center of your face and slightly raise exposure using exposure slider. This will ensure your face will be well exposed
[ Other Useful Tips ]
For faster photos with HDR+ Enhanced, set Image Quality to ‹Off› or use standard HDR+ instead of Enhanced
For smoother selfies with less facial details on HDR+ Enhanced, turn off ‹Use Sabre› from advanced menu, turn off lib patcher from Mods Configs Creator and set Image Quality to ‹Off›
For smoother 4K videos HEVC must be disabled from advanced menu ~ 60fps not supported
To eliminate focus hunting issues while recording a slow-motion video, tap to focus on the center of the viewfinder and lock AF/AE by tapping the lock icon on top of the EV slider ~ 1/8 not supported
[ Night Sight Astrophotography ]
For Astro mode there is a dedicated ‹Astrophotography On› button which can be selected from Night Sight drop-down menu
For best astrophotography results, set ‹Samsung S5KHMX› as AWB model for back camera from Mods Configs Creator and select ‹AWB On› button from Night Sight drop-down menu
{ Focus » infinity } { Timer » 3sec }
IMPORTANT: A clean install is always recommended prior to using Google-Camera in order to avoid possible functionality issues with the app! First uninstall all G-Cam apps currently found on your system » install G-Cam » open it and grant permissions » close G-Cam » clear G-Cam data and cache » open G-Cam and apply the settings/config » reboot device
ABOUT 48MP RESOLUTION: True 48MP is not currently supported on any G-Cam mod due to a limitation in RAW Sensor/Camera2API. This mode is only supported in MIUI Camera. On few devices this hindrance has been tackled via Magisk modules which override that limitation. But on mid-range devices it isn't a viable solution because 48MP coupled with HDR+ will basically freeze the Google-Camera app due to processing power being insufficient. There are some older 6.x.x G-Cam versions which support a 48MP resolution on portrait mode, but it is just an upscaled resolution and not the real deal
If you wish to reward Arnova for his work and dedication, please use this PayPal Link
Enjoy Google-Camera 7.4 on your violet device!
Click to expand...
Click to collapse
Thank you thank you thank you first of all for all the amazing work u guys do..
Also a problem iam having is inspite of making exposure full high.. When the pic comes its super dark in low light.. What am I doing wrong
Also what else settings can I tweak to get better pics.. Especially in potrait how can I get larger file size for editing..
Is this thread active?

A Guide/FAQ For Note 20 Ultras Camera/Video Features?

I seem to have a hard time finding a thorough guide/wiki/tutorial/FAQ that goes through and can explain all the different camera and video recording settings.
Like what is video stabilization and when is it best to use a resolution/frame rate that allows for it? When would you want to use 1080p 120fps, especially in light of it then not allowing certain other features to be used? When best to ensure to use a resolution/fps setting that allows tracking auto-focus to be on? When would you want to be able to use the HDR10+ feature at the expense of being limited to a lower frame rate? Is 8K video recording really even practical and for what? Etc.
I personally tend to keep my video recording to 1080p 60fps because I much more prefer the smooth motion when recording regular home/family video moments, but then I'm sure there's circumstances that'd I'd be better off at a lower frame rate and then being allowed to have some other useful feature on.

Themes / Apps / Mods Temp Full res imx989 with motioncam

Will break everything except motioncam, pick full resolution.
This is a temp fix for now, still working on bin and chi override edits
Click on 24mm camera ID 1, then click camera, then click full res 8192x6144.
Yes, I know the module says pizel3xl, repurposed one bc this is just testing
Anyone with tips. info, or help to improve this, chime in. There is definitely a way to switch this on an off, and looking for a way now also.
Apk
MotionCam: Camera & RAW Video - Apps on Google Play
Motioncam is the first app that allows you to capture RAW VIDEO on android !
play.google.com
Pro paid version as well is what I have and it's worth it
MotionCam Pro: RAW Video - Apps on Google Play
MotionCam is the first app to allow RAW video recording on an Android phone
play.google.com
Mirror https://drive.google.com/file/d/15_6zzq7gP9OcCefcyn4p-CXAVjC_glDS/view?usp=drivesdk
Any luck with improvements to this?

Categories

Resources