[SM-T31x] Unoffical CyanogenMod 11 front camera - Galaxy Tab 3 Q&A, Help & Troubleshooting

@ketut.kumajaya (this should be in your
[ROM][SM-T31x][JB/KK][4.3.1/4.4.2] CyanogenMod unofficial builds thread but I don't have enough posts)
I was still having issues with the front camera recording video in my builds of your CM11 port, not that I really use it but I know lots of people were reporting issues with the cameras and saw a fix committed, so I thought I'd have a poke around.
It looks like a discrepency between the HAL and the media_profiles.xml config for the front camera frame rates. Your recent commit to android_device_samsung_lt01-common/camera/exynos_camera.c changes the front camera frame rates to 25,15 but
android_device_samsung_smdk4412-common/config/media_profiles.xml still uses 30 fps as the frameRate for all the EncoderProfiles for the front camera CamcorderProfile.
Changing media_profiles.xml to use 25 fps fixes front camera recording for me; not sure if this is the correct fix though, can't find definitive information on the supported frame rates for the SR130PC20.

Good finding. I just a bit tried working on CM for T31x and lonely Maybe @daavvis have a better idea about this media profile.

It's interestings because a strings of /system/lib/hw/camera.smdk4x12.so on the stock rom turns up
10000,30000
(10000,30000)
30,15
1280x720
6500,30000
(6500,30000)
30,20,15,8
640x480
suggesting the stock HAL thinks the rates are 30/15fps for the rear camera and 30/20/15/8fps for the front, and the stock rom media_profiles.xml front camera uses 15fps for low quality profiles and 30fps for high quality. These rates match up with smdk4412-common/camera/exynos_camera.c but the kernel driver for sr130pc20 suggests the rates are auto/7/15/25/30 so I must be missing something somewhere.

Hmm, just tried another build reverting to:
.preview_frame_rate_values = "30,20,15,8"
.preview_frame_rate = 30
in exynos_camera.c and the media_profiles.xml back at 30fps and it does still work but the recorded video is still at 25fps.
I lose the chain of calls from com.android.camera.VideoModule calling android.media.MediaRecorder.setProfile(CamcorderProfile) at
frameworks/av/media/libmedia/IMediaRecorder.cpp setVideoFrameRate(int)

@daavvis you know anything about the iteraction between the media_profiles.xml and the camera HAL?

bug?
how many bug on cm11?

lee_w said:
@daavvis you know anything about the iteraction between the media_profiles.xml and the camera HAL?
Click to expand...
Click to collapse
Sorry buddy just saw this... Best to hit me up on hangouts

Related

Improved 720p recording for both font and back camera - mp4 format

Must have ROOT
EDIT**
I have just uploaded V2 of my profile - I have lowered the Bitrate slightly and changed from 3gp to mp4 file format.. I have also enabled 720p for the front facing camera - Let me know if the lowered bitrate still performs as well.
Folks,
This is my edited media_profile.xml for far better 720p recording.. thought I would share it..
I have upped the bitrate from just 1MB/s (default)to around 4MB/s.. for me, it is clearly better when played on my Monitor or Television.. smoother, more detail and appears clearer.
I have tried a higher bitrate but found this to be a good balance between size and quality.
I have also tried editing the xml for 1080p recording but cannot get higher than 14fps when recording so have not included it..
to install, just unrar the media_profiles.xml and copy it to /system/etc and reboot.... REMEMBER TO BACKUP YOUR ORIGINAL FIRST.
This has worked for me, but if you end up in a boot loop, pushing the original file should fix it.
Hope you enjoy it.
Bracken
Do you have a comparison video or anything? This is the kind of thing I want to see before flashing.
Nice find!
I can see the difference just watching play back on the xoom! Alot smoother...ill check out the HDMI when I get home.
Will this work on any Android device? Say my DX? I take way more video on that.
bracken21 said:
Must have ROOT
....
I have also tried editing the xml for 1080p recording but cannot get higher than 14fps when recording so have not included it..
...
Click to expand...
Click to collapse
have you a stock Kernel or Custom Kernel + overclocked CPU?
Works well, I have a similar hack for my Nexus.
Easy and simple improvement for video recording.
Using Hammerhead 2.1 & Tachi OCed kernel.
@bracken21 = does this affect the still camera picture taking?
Thank you very much, great mod.
Hi,
@Sergio PC -This does not affect the picture quality only the video..
@twister_65 -I had this completely on stock 3.1 with stock kernel and worked fined.. I'm now running it with Hammerhead 2.1 & Tachi OCed kernel.
Even OCed @1.6, when I enable 1080p recording there is no increase in FPS, it stays at around 14FPS.. I presume the actual sensor is not capable of [email protected]
@mradlauer - I have no idea if this could be done to the DX, I presume so, but what resolution, bitrate and FPS would depend on the device.. if its anything like the Xoom, putting in an unsupported profile may result in a boot loop ?
If there is interest I can upload another profile with settings as follows... but I find it pointless as 1080p @ 14fps is unwatchable.. I have tried increasing/decreasing the Bitrate but still only does 14fps.
1080p 6MB/s @ 14fps when high quality selected.
720p 4MB/s @ 30 when low quality selected.
720p @ 30fps for front facing camera.
Thanks
Bracken
720p for front would be awesome.
Great, i just would love to have it recording in MP4
€: Wait, trying it now
€²: Works Thx for This
Would changing any of these lines to 100 improve photo quality too?
<ImageEncoding quality="90" />
Stealyourface said:
720p for front would be awesome.
Click to expand...
Click to collapse
Front camera now enabled for 720p and file format changed to mp4
cheers
Bracken
truly great work here. thank you
im just surprised no one had done this sooner, but better late than never!!
ive only played wtih it for litterally 30 seconds however i noticed that upon pressing the record button for a video using the front facing camera, it zooms in and stretches the image vertically in the preview window. i dont think that it actually records it like this but it seems to be some sort of graphical glitch....maybe you could look into it?
id like to say thanks again. did you change anything for the still images in v2 or somthing? because i no longer see those weird lines when taking photos with the front facing camera.
THANKS!
crackmulah said:
however i noticed that upon pressing the record button for a video using the front facing camera, it zooms in and stretches the image vertically in the preview window. i dont think that it actually records it like this but it seems to be some sort of graphical glitch....
Click to expand...
Click to collapse
I've noticed the same issue when recording from the front camera
Excuse me, but trying this mod, I realized that the zoom in camera mode does not work. And 'this normal?
Thanks!
zoom isnt working in video mode for me either.
although i cant remember if we were ever able to.....
can you add this ?
I tried now, even the stock 3.1 does not allow it. Is there any mod ?
Regards!
Nice find.
Pretty easy to increase or lower the bitrate yourself.
I personally upped the bitrate to 35MB/s for 720p.
Adjusted the 480p resolution to 720x480 @ 20Mb/s for quick and easy converts straight to dvd with no resolution changes.
Adjusted the audio bitrate to 256kbps, sample rate to 48khz and enabled stereo recording.
Sweet stuff.
edit: Tried shooting for 60fps but it forced closed as soon as I tried to select video recording
Audionut11 said:
Nice find.
Pretty easy to increase or lower the bitrate yourself.
I personally upped the bitrate to 35MB/s for 720p.
Adjusted the 480p resolution to 720x480 @ 20Mb/s for quick and easy converts straight to dvd with no resolution changes.
Adjusted the audio bitrate to 256kbps, sample rate to 48khz and enabled stereo recording.
Sweet stuff.
edit: Tried shooting for 60fps but it forced closed as soon as I tried to select video recording
Click to expand...
Click to collapse
Do you mind posting your xml file... I personally like the tweaks you have done and would like the same..
Thanks in advance
Audionut11 said:
Nice find.
Pretty easy to increase or lower the bitrate yourself.
I personally upped the bitrate to 35MB/s for 720p.
Adjusted the 480p resolution to 720x480 @ 20Mb/s for quick and easy converts straight to dvd with no resolution changes.
Adjusted the audio bitrate to 256kbps, sample rate to 48khz and enabled stereo recording.
Sweet stuff.
edit: Tried shooting for 60fps but it forced closed as soon as I tried to select video recording
Click to expand...
Click to collapse
35MB/s is 2.1Gb per minute - that would give you around 15 mins recording on 720p on 32gb card. Plus with the size of sensor and optics, im guessing you wont see quality increase above 3MB - 4MB/s and even that is asking alot of the camera due to the noise levels and lack of light/detail passing through the small plastic lens. As for stereo recording, I thought the Xoom only had 1 mic ?
Being that bluray movies are around 34MB/s.. I think asking a small plastic lens on the xoom to do that a little much. Also the tegra 2 is listed at only supporting 20Mb... did you also amend the codec maximum bitrate as its currently set to around 5MBs.. if not, you will actually be recording @ 5MB/s.. Also, is 35MB/s over the write limit for xoom internal storage.. I could be wrong but even a class 10 cards only write at around 10MBs and reads @ 30Mbs ?
If you want to try 60fps, you would also need to amend not just the recording values but the codec preference and possible the memCap too.. ive not tried it yet, may give it a go.
Im not trying to have a go at you, just stating that your filling your xoom up for no reason... in a long winded blurbing kind away.. not had my coffee yet..
As for the problem with front camera zooming in on 720p, nothing I can do about this, that fix would be above my head.. My guess is that the google camera apk would need amended for 16:9... my knowledge of Android goes as far as this little dirty hack.
Cheers
Bracken
bummer on the zoom and front face stretch problem... Gonna have to revert to stock unless fixed in the future... Will subscribe for updates in case. Nice for folks that don't mind those couple details though
rockhumper said:
bummer on the zoom and front face stretch problem... Gonna have to revert to stock unless fixed in the future... Will subscribe for updates in case. Nice for folks that don't mind those couple details though
Click to expand...
Click to collapse
Hi, just revert to version 1, it keeps the front camera stock and rear camera is improved..
As for the people not being able zoom, you can't zoom in video mode using stock... well mines never has.
I wish I knew how to port the camera front the Samsung 10.1 tab, does any one know how?
Cheers
Bracken

[Q]LG G3 Slow-Motion Camera Quality

Hi, I tried the G3's camera and I'm really impressed by the splendid quality, untill I tried out the slow-motion feature. I know that there's this camera tweak that you have to flash or manually move the apk and stuff
(For those who are looking for a mod that improves 4k bitrate as well as the 1080p fps count: http://forum.xda-developers.com/showthread.php?t=2778570) (Credit for this goes to the developer). But I'm wondering wether there is a camera mod that enables a higher resolution video/camera and bitrate for the slow-mo mode of the G3, right now it's set at 720p at 120fps, but when saved, the file seems only 120p, the fps is great but there's so many pixels and it's a shame for the awesome 4k screen that the G3 is packed with! (I'm not sure about the exact numbers though, could be false) Any help is greatly appreciated!:good:
Neorpowa said:
Hi, I tried the G3's camera and I'm really impressed by the splendid quality, untill I tried out the slow-motion feature. I know that there's this camera tweak that you have to flash or manually move the apk and stuff
(For those who are looking for a mod that improves 4k bitrate as well as the 1080p fps count: http://forum.xda-developers.com/showthread.php?t=2778570) (Credit for this goes to the developer). But I'm wondering wether there is a camera mod that enables a higher resolution video/camera and bitrate for the slow-mo mode of the G3, right now it's set at 720p at 120fps, but when saved, the file seems only 120p, the fps is great but there's so many pixels and it's a shame for the awesome 4k screen that the G3 is packed with! (I'm not sure about the exact numbers though, could be false) Any help is greatly appreciated!:good:
Click to expand...
Click to collapse
No there's not the drives will not allow to improve the slow mo
_Infamous_ said:
No there's not the drives will not allow to improve the slow mo
Click to expand...
Click to collapse
Ahh thats too bad ..
Thanks for your quick reply anyway!!:good:

[MOD][OxygenOS] Custom camera HAL with 4K video recording [Dec. 20, 2015]

Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
Installing this mod will give you the ability to record 4K videos on OxygenOS. This mod is only designed to be used with OxygenOS and ROMs that are based off of OxygenOS.
It is a custom HAL I created from CAF's vanilla camera HAL sources. This is the same camera HAL that I use in my CM12.1 ROM: http://forum.xda-developers.com/oneplus-one/orig-development/rom-kernel-unofficial-cyanogenmod-12-1-t3120259
Notable features:
HFR (high-framerate; a.k.a. slow-motion) recording at 60 FPS, 90 FPS, and 120 FPS for 720p, and 60 FPS for 1080p
1080p video recording with the front-facing camera
4K UHD and DCI video recording
Manual focus
Manual ISO control
Slow shutter (ranging from 1/5000th of a second to 2 seconds)
Focus works in HDR mode
More picture sizes than plain OxygenOS, such as 9.7MP 16:9
JPEG quality always forced to 100% for higher-quality images (JPEG quality seems to be capped in the OxygenOS camera HAL, resulting in images that appear overly-compressed)
Limitations:
4K DCI cannot be recorded with the CameraNext app (when trying to use 4K DCI on CameraNext, CameraNext records at 480P instead; this is a bug with CameraNext, not my camera HAL)
Installation instructions:
Simply download and flash in recovery.
Download: https://www.androidfilehost.com/?w=files&flid=35689&sort_by=date&sort_dir=DESChttps://www.androidfilehost.com/?w=files&flid=35689&sort_by=date&sort_dir=DESC
This took several glorious hours of work over the course of many weeks. Enjoy!
XDA:DevDB Information
Custom camera HAL for OxygenOS, Device Specific App for the OnePlus One
Contributors
Sultanxda
Version Information
Status: Stable
Created 2015-07-20
Last Updated 2015-12-20
Changelog:
December 20, 2015:
*Removed ISO HJR option (it wasn't working)
*Enabled antibanding by default
*Fixed poor video quality during video calls (e.g. video calling in WeChat)
*Fixed incorrect aspect ratio when video calling in Hangouts
October 11, 2015:
*Fixed camera crashing in Bank of America app
*Fixed manual ISO control for camera
October 4, 2015:
*Fixed incorrect exposure time reported in image details when slow-shutter is used
*Fixed flashlight not turning off and camera completely breaking when using the flashlight while Trusted Face is enabled
September 13, 2015:
*Fixed poor quality with front-facing camera
*Fixed flashlight not turning off and camera completely breaking when using the flashlight while Trusted Face is enabled
August 24, 2015:
*Fixed exposure time getting set to 1/5000th of a second when trying to disable slow-shutter
August 23, 2015:
*Added support for slow shutter (ranging from 1/5000th of a second up to 2 seconds)
*Fixed camera stability issues caused by undefined behavior (this should fix the flashlight reboots)
August 11, 2015:
*Fixed touch-to-focus in HDR mode
*Fixed low framerate when recording 720p video with the front-facing camera
*Fixed manual focus
August 4, 2015:
*Fixed 720p HFR (slow-motion) and HSR (high-speed) video recording at 90FPS and 120FPS with all camera apps
August 3, 2015:
*Fixed 720p HFR (slow-motion) recording at both 90FPS and 120FPS
*Removed option to record 1080p at 90/120FPS (making this work would require modification of the proprietary camera libraries)
*Fixed focus not working in HDR mode
*Removed FWVGA camcorder resolution
July 28, 2015:
*Added 1080p video recording at 120 FPS
*Added ability to record video at 90 FPS (for both 720p and 1080p as well)
July 25, 2015:
*Added support for 1080P video recording with the front-facing camera
*Fixed framerate drop when taking picture while recording 4K video
July 23, 2015:
*Fixed 4K video recording in all camera apps (such as Google Camera)
*Fixed several bugs with Google Camera (such as broken photosphere and panorama functionality)
July 19, 2015:
*Initial release
Reserved
What versions is this compatible with? Kk, 5.0, or only 5.1?
Sent from my A0001 using XDA Premium 4 mobile app
Setting.Out said:
What versions is this compatible with? Kk, 5.0, or only 5.1?
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
There's a 5.1 version of OxygenOS? I tested this with OxygenOS (5.0) and it is working as advertised.
Sultanxda said:
There's a 5.1 version of OxygenOS? I tested this with OxygenOS (5.0) and it is working as advertised.
Click to expand...
Click to collapse
I was hoping to try it on CM..
Sent from my A0001 using XDA Premium 4 mobile app
Could you also fix the slow motion video recording?
120 fps merely records the videos at 47-49 frames per [Mod edit: No profanity please], which is completely [Mod edit: No profanity please] and not at all close to whatever the company promised about slow motion recording? Im begging you, if you can look into this matter because I have tried contacting support for OnePlus and Cyanogen but no help!
So please?
Nvm
dwaipayanray95 said:
Could you also fix the slow motion video recording?
120 fps merely records the videos at 47-49 frames per [Mod edit: No profanity please], which is completely [Mod edit: No profanity please] and not at all close to whatever the company promised about slow motion recording? Im begging you, if you can look into this matter because I have tried contacting support for OnePlus and Cyanogen but no help!
So please?
Click to expand...
Click to collapse
How can you tell the framerate that it's recording videos at?
I recorded a video with 120 FPS and it looked reeeeeaaaaallllllyyyyyyy slow when I played it back on my computer, so maybe it's already working fine.
EDIT: I'm pretty sure 120 FPS is working correctly... I recorded a video for ~5 seconds at 120 FPS and the resulting video said it was 1:25 long (though it was actually 21 seconds long). Android determines the video length based on the video's framerate, and it expects 30 FPS for 720P video, so it said my 120 FPS video was 1:25 long. 85 seconds (the reported length of the video) divided by 21 seconds (the actual length of the video) equals 4. 120 FPS/30 FPS = 4, so there were 4x as many frames, aka 120 FPS worked.
Something's weird with the reported video length, but other than that, 120 FPS works fine.
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Well I flashed this over euphoria because I use the cm12s camera and it seems to have fixed the viewfinder freeze derp I'd seen happen a couple times prior. Awesomeness!
Sultanxda said:
How can you tell the framerate that it's recording videos at?
I recorded a video with 120 FPS and it looked reeeeeaaaaallllllyyyyyyy slow when I played it back on my computer, so maybe it's already working fine.
EDIT: I'm pretty sure 120 FPS is working correctly... I recorded a video for ~5 seconds at 120 FPS and the resulting video said it was 1:25 long (though it was actually 21 seconds long). Android determines the video length based on the video's framerate, and it expects 30 FPS for 720P video, so it said my 120 FPS video was 1:25 long. 85 seconds (the reported length of the video) divided by 21 seconds (the actual length of the video) equals 4. 120 FPS/30 FPS = 4, so there were 4x as many frames, aka 120 FPS worked.
Something's weird with the reported video length, but other than that, 120 FPS works fine.
Click to expand...
Click to collapse
See that is the thing....it shouldn't happen like that!...nowhere in the camera it is said that it a slow motion thing....it is referred to as HFR denoting High Frame Rate! But its not the case once its saved onto the phone after recording...android should be recording and saving the videos at 120fps itself... And the video should be of 5 seconds if u recorded a length of 5 seconds. If our phone slow it down just to give us a slow motion feel then its not true slow motion!! If u check other phones including a moto x! It will record and playback back a video at 60fps and will slow down the parts according to your selection! But file is recording either at 59.97 or 60....I know because I've researched and have been in the video field for over 8 years now! So I can practically look at a video and tell is characteristics and in order to check the frame rate you can use media info on PC and MX player for android!
Please I'm begging you to look into this matter! As my primary reason to buybthe phone was the 120fps recording! Which is not even close to be good in terms of usability ! Please @Sultanxda please look into this!
Thank you
dwaipayanray95 said:
See that is the thing....it shouldn't happen like that!...nowhere in the camera it is said that it a slow motion thing....it is referred to as HFR denoting High Frame Rate! But its not the case once its saved onto the phone after recording...android should be recording and saving the videos at 120fps itself... And the video should be of 5 seconds if u recorded a length of 5 seconds. If our phone slow it down just to give us a slow motion feel then its not true slow motion!! If u check other phones including a moto x! It will record and playback back a video at 60fps and will slow down the parts according to your selection! But file is recording either at 59.97 or 60....I know because I've researched and have been in the video field for over 8 years now! So I can practically look at a video and tell is characteristics and in order to check the frame rate you can use media info on PC and MX player for android!
Please I'm begging you to look into this matter! As my primary reason to buybthe phone was the 120fps recording! Which is not even close to be good in terms of usability ! Please @Sultanxda please look into this!
Thank you
Click to expand...
Click to collapse
I looked into it and I have no idea how to change this behavior. Android does this by default at the framework level; Motorola's implementation on the Moto X is different because they made special modifications to the Gallery and Camera apps.
Thanks
Sent from my A0001
So only video is affected, or also slow shutter and RAW capture is present? I give it a try anyways
New version uploaded with 4K video recording fixed in all camera apps, as well as many other bugs fixed.
only 377kb
It's only 377kb, why?
Gipcodi said:
It's only 377kb, why?
Click to expand...
Click to collapse
Ehm, because a HAL is a relatively small piece of code? I don't get what your problem is.
New version uploaded with a new camera feature the OnePlus One has never had before: 1080P video recording with the front-facing camera!
Waoo..Sultan you are just awesome.
Sent from my A0001 using Tapatalk

LG G3 4K Video on AOSP - did it ever work for anyone at all?

A while back CM12 had a patch that enabled 4K video recording. I remember that it even worked SOME of the time, but mostly it showed to be recording without saving anything. Currently on CM12 and Blisspop the option is again removed - probably because it was buggy: review.cyanogenmod.org/#/c/103494
I've tried many different camera ZIPs from other manufacturers (Motorola cam, Lenovo cam) but they do not appear to enable 4K either.
I tried playing around with the media_profiles configuration file, uncommenting the 4K profile. This does enable 4K video recording - even saving, but the framerate is really bad (<10), both with stock and third party cameras.
So my question: Did anyone ever get smooth 4K video to work on AOSP? If so what was the combination of software used?
yes it did work for idiots who;
1) flased xXcameraXxfix_AROMA_VIPERPRO_v4_FAKXDA_LIKE_SUBSCRIBE_DONATE_YOUTELLMEBUGS.zip
2) set the resolution to 4K
3) shot a video
4) never realized it didn't even save, even if it did, it was lagging between 5 and 15 fps
TL;DR
no, it did not, i have flashed all the 3rd party crap from random monkeys claiming they fixed the camera on aosp promising stock quality
to those who come in here telling me it does, provide proof or gtfo
geekmystique said:
A while back CM12 had a patch that enabled 4K video recording. I remember that it even worked SOME of the time, but mostly it showed to be recording without saving anything. Currently on CM12 and Blisspop the option is again removed - probably because it was buggy: review.cyanogenmod.org/#/c/103494
I've tried many different camera ZIPs from other manufacturers (Motorola cam, Lenovo cam) but they do not appear to enable 4K either.
I tried playing around with the media_profiles configuration file, uncommenting the 4K profile. This does enable 4K video recording - even saving, but the framerate is really bad (<10), both with stock and third party cameras.
So my question: Did anyone ever get smooth 4K video to work on AOSP? If so what was the combination of software used?
Click to expand...
Click to collapse
flash 1. https://drive.google.com/file/d/0B023yzk713HzTkhNcFVvU1Z2NHc/view?pli=1
and 2. https://mega.nz/#!lhsg1bwB!ehggjqI-hCbPCHsLr2x2MirRpXRE3XMr8_gHry_NPfs
BUT, is there any non-stock ROM with STOCK camera quality? No 4K, I do not need that, only 1080p (60 fps or 30).
Nope Coki4, unfortunately Tehosiris is right: with the HTC cam and resolution "fix" I can record in 4K, but it is still way too low framerate (15 FPS or worse).
Voterx: To me 4K is most important, hence the thread. If i want proper pictures I take my DSLR anyway... 4K video is something that is really a beautiful thing if you have the screen to display it. There is a huge difference between 1080p and 4K.
To me it is starting to look like the camera driver in AOSP source is just not able to push the pixels?
Snap camera does it. I have also found that snap camera takes as good, or better in some cases, pictures as the stock camera.
cynikalJ said:
Snap camera does it. I have also found that snap camera takes as good, or better in some cases, pictures as the stock camera.
Click to expand...
Click to collapse
no it does not
and
not it definitely does not
Then your using it wrong, because it does for me
geekmystique said:
Nope Coki4, unfortunately Tehosiris is right: with the HTC cam and resolution "fix" I can record in 4K, but it is still way too low framerate (15 FPS or worse).
Voterx: To me 4K is most important, hence the thread. If i want proper pictures I take my DSLR anyway... 4K video is something that is really a beautiful thing if you have the screen to display it. There is a huge difference between 1080p and 4K.
To me it is starting to look like the camera driver in AOSP source is just not able to push the pixels?
Click to expand...
Click to collapse
you're wrong
With snap camera
What are you doing to get those file properties? Want to check what my jerky files say..
edit:
Properties here also shows 30 fps, but the video is jerky as fuuuuuu* - i guess it is saved "as" 30 FPS but it just drops a bunch. Yes it is 4K but def not 30 FPS, even if the file shows it to be (for me).
but.. if it is smooth for you I want to know your exact rom details so I can try to achieve my holy grail.
can one of the digital cowboys upload these fabled 4k videos shot on aosp?
i still yet to see a nonstock 4k video that doesn't lag like ****
@geekmystique the jerkyness doesn't show in properties, they are just the same as regular videos, you can check the properties in root explorer or any other file explorer.
it does not matter , it is important that you are not right
coki4 said:
it does not matter , it is important that you are not right
Click to expand...
Click to collapse
your 2nd screenshot shows that the 4k video is in 59.9 fps, now THAT i'd like to see.
bending physics with an apk eh? :laugh:
edit: judging from the amount of silence after the bigface comments, i assume it takes an awful lot of time to upload the fabled 60fps 4k video (translation: someone is full of **** and/or clueless)
Let's not make this into a flamewar of sorts.
This is a video I took of my hand waving in front of the camera, whatever the file info says, it is not 30 FPS - by far, it is dropping frames like crazy. The file properties say 30 FPS in MPCHC, but windows properties shows the truth: 18 FPS.
https://mega.nz/#!lkkFHbrT!gi3qGdzcnBxpsoPMObzLk9jZPAtrYacJ_03mYBYwu2A
If your video looks better, great - let me know what you did. And if you can spare the time, post it please.
Let's discuss
I do not need 4K, I just need stock quality camera in custom ROMS It's different question.
Voterx said:
I do not need 4K, I just need stock quality camera in custom ROMS It's different question.
Click to expand...
Click to collapse
i suggest you take a look at the camera comparison post here on xda, showing stock / moto / htc / whatever side-by-side
there is no such thing as stock quality on non-LG driver backed software
Anyways, i'm absolutely on geekmystique's side here, i've had multiple people giving me lectures how i need to flash xyz.zip set ABC settings to DEF, align my device towards Mars, count to 7 and stand on my left foot to have AMAZING STOCK QUALITY PHOTOS AND VIDEOS.
Guess what, i've done all those steps, flashed all the zips, pirated all the ****ty apks and gotten nothing but disappointment.
Thats why there is sarcasm towards these 'BUT MY AOSP CAMERA IZ BETTUR BRUH YOU SUK', when it's clearly not. Hell, half of the conversations ended at 'WHO NEEDS 4K' or 'I DONT NEED CAMERA ANYWAYS' which is ridiculus when it's these people giving lectures on how to flash stuff they don't even know what it contains.
dudumm tsss
coki4 said:
it does not matter , it is important that you are not right
Click to expand...
Click to collapse
If so.. Please post the video - my video that I posted also says 30 FPS, but it stutters like mad. If you can get better video I would be really happy to know.
Guess the aosp camera is just as good as stock boys are back in their caves.
I use Cloudy only because of Xcam. I really would like a [email protected] or [email protected] for CM12.1

Best video recording app for Redmi Note 7

So GCam is definitely the answer for getting the best photo quality out of this phone in almost any situation, but let's see how we can record the best possible video.
Btw, when you first try video recording with the Note 7 in low light, it's natural to be disappointed since you're comparing it to GCam's photo output in low light. GCam uses frame stacking and other techniques to remove noise, increase dynamic range and get details in both shadows and highlights as well as the rest of the image. To produce only one 12-megapixel frame, it uses anywhere from 3 to 15 frames and takes a few seconds to do the complex blending and computations to create a great low light photo. Without a much stronger SoC, ISP, a better sensor and more advanced processing algorithms, this is impossible to do while recording a video, as the phone is struggling to keep up with recording 30 8-megapixel frames (UHD) each second or 2-megapixel frames in case of 1080p. They've barely managed to get SD 660 to comfortably use real-time EIS at 1080p30, along with auto focusing, WB, exposure, noise reduction etc.
So, knowing that in low light this phone's video recording will never be great, let's focus on other aspects of its video recording. My only idea for improving low light video recording is to find an app that can use a high bitrate in order to avoid introducing additional noise and artifacts. This also applies to filming in daylight.
I'll start with some findings about the differences between the stock app, GCam and Open Camera when recording video.
STABILIZATION
As far as video stabilization goes, only stock camera's 1080p30 EIS properly uses gyro-EIS and that really is the most beautiful stabilization you'll get out of this phone. No wobbling or image distortion, it just softens the shakiness, as if the phone were on a gimbal.
1080p30 EIS in GCam – it's instantly noticeable that the viewfinder here is stabilized (whereas in the stock app it isn't). It appears to be using the gyroscope, but not in the same way the stock app does. Stabilization is OK, but not as smooth as in the stock app and wobbliness can be noticed occasionally, with more abrupt movement.
UHD EIS in GCam – better than no stabilization, but wobbliness on the edges tends to be obvious when there's a lot of movement.
1080p30 or UHD EIS in Open Camera – also a stabilized viewfinder, but the stabilization algorithm here is very wobbly, which is extremely noticeable in UHD, so try to hold the phone as stable as possible when recording in Open Camera. The highlight of Open Camera for the Note 7 is its front-facing camera UHD stabilized video recording. So far this is my only use case for Open Camera on this phone (plus testing).
If you like using 1080p60 because of its smoother panning and movement in general, here's a tip to stabilize 60 fps videos: shoot in 1080p60 without EIS in the stock app or another app (using a high bitrate when possible) and then stabilize the footage in Google Photos, which does a nice job unless the video is impossibly shaky.
SLOW MOTION
In my testing, I've never managed to get a smooth slo-mo video out of the stock app and I've tried it after every MIUI update so far. At 1080p or 720p, the result is always a stuttering slo-mo video. GCam to the rescue!
GCam can record stutter-free 1080p slo-mo for a long time (I tried it for a couple minutes) and the resulting video is smooth as butter, suffering only from an occasional hiccup here and there. Perfectly usable.
Open Camera can also record in 1080p120. Different apps should be tried out to see how smooth the slo-mo is and which one is able to use the highest bitrate, leading to the highest image quality. Although image quality does appear to be limited in slow motion mode.
FIELD OF VIEW (FOV)
If you have your phone on a tripod or you can lean on a surface to stabilize it, you should turn EIS off. This will give you a wider field of view and a sharper image. When you're recording a video, the top and bottom portions of the image are cut off to accommodate for the widescreen format. This already makes you lose around 25% of the image information that the sensor can actually see. EIS works by further zooming into the centre of the sensor (or cropping the image) and using the now-extra information to shift the frame in any direction as necessary, to produce an impression of a more stable footage.
The phone will not recognize that it's on a tripod and turn EIS off. You have to do that manually. Why would you want to do that? If you want:
1) to capture more of the scene (a wider field of view), with EIS on, you'll have to step back (which is sometimes not possible)
2) better image: stabilization comes with trade-offs. If you don't need it, turn it off. The phone will be able to use a greater number of pixels to create your fixed-resolution video, resulting in a better image.
With 1080p30 EIS off or UHD without EIS, you'll have the widest FOV possible for video on this sensor. Only top and bottom are cut off for widescreen.
1080p60 EIS off – for some reason, this has just slightly narrower FOV than 1080p30 without EIS. The same FOV appears to be present in 1080p120 (slow motion).
When EIS is on, it crops the least on the stock app, slightly more on GCam and the most on Open Camera.
VIDEO AND AUDIO BITRATES AND QUALITY
Work in progress. So far I can only tell that stock and BSG's GCam produce different videos. Stock uses a higher video bitrate and GCam a higher audio bitrate. Open Camera tends to put on a yellow cast, presumably to make the image warmer. Also, bulkin's GCam allows you to select video bitrate. Haven't played with that or the bitrate in Open Camera.
It's also worth to test other apps, such as Cinema FV-5. I've had luck with that on previous phones.
My recommendation is Open Camera by mark harman
Plzz any one provide me the link
tamalnag said:
Plzz any one provide me the link
Click to expand...
Click to collapse
open camera is on play store
Very detailed observation.. Thanks for sharing. ?
Have anyone tried 'Footej Camera'?
Great post. My recomendation for all uses is gcam, not the best in all but not the worst. Perfect for a daily use
There is a possibility to set the video bit rate in some of the other GCam MODs.
I can recommend this GCam MOD made from developer marlin-ku OR this GCam MOD which have much more valuable options (speed / ISO optimisations) from developer bulkin043. The last version of the second MOD is available in the Telegram channel here.
This port is the best working - one of the few other GCam MODs I'm frequently using on my Redmi Note 7.
have you tried anx camera
Quaresma_7 said:
If you like using 1080p60 because of its smoother panning and movement in general, here's a tip to stabilize 60 fps videos: shoot in 1080p60 without EIS in the stock app or another app (using a high bitrate when possible) and then stabilize the footage in Google Photos, which does a nice job unless the video is impossibly shaky
Click to expand...
Click to collapse
is it is also true for 4k30 ? do you getter final image quality and stabilization if you do eis in google photo as it must be a more complex algorithm vs "eis on" that only must use a simpler faster algorithm that runs in real time
is it hardware accelerated by the snapdragon 660's Spectra 160 ISP or is it software running on the arm cpu (question both for " eis on" and for stabilisation done in google photos app )
amanieux said:
is it is also true for 4k30 ? do you getter final image quality and stabilization if you do eis in google photo as it must be a more complex algorithm vs "eis on" that only must use a simpler faster algorithm that runs in real time
is it hardware accelerated by the snapdragon 660's Spectra 160 ISP or is it software running on the arm cpu (question both for " eis on" and for stabilisation done in google photos app )
Click to expand...
Click to collapse
Google photos stabilization is good, sometimes it does a miracle, but some artifacts appear in the video. It's more aggressive and intelligent than eis on but quality could be not so good. (I don't know anything about which processor is used, but in Google photo is a lot slow the stabilization process, about the double of the video duration)
video quality difference between 4k and 1080p on bsg mod
i installed this gcam mod : https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_6.2.030_RN7_V1a_FINAL.apk but i notice that 1080p and 4k have a completely different look (different WB, different DR) is it due to snapdragon 660 limitations ? is gcam only configuring the hardware capture codec for snapdragon 660 hardware or is it applying some software computation (google proprietary code) on each frame in real time ?
Best video camera app for me is open camera. I do 1080p with 120 fpS with that and it's awesome. Other one is filmic pro. I can shoot flat video and chose nitrate and frame rate.
Cinema f5
My RN7 can't install the GCAM, I've been getting the message "App Not Installed" please any help?
Okusac said:
My RN7 can't install the GCAM, I've been getting the message "App Not Installed" please any help?
Click to expand...
Click to collapse
Uninstall any other previous versions. Then install this
https://drive.google.com/file/d/10OAI7zoNHiBjSmxRGTv2meclafg4nmxV/view?usp=drivesdk
Ryamoz said:
Uninstall any other previous versions. Then install this
https://drive.google.com/file/d/10OAI7zoNHiBjSmxRGTv2meclafg4nmxV/view?usp=drivesdk
Click to expand...
Click to collapse
Okay, I've than that... Thanks
My best is filmic pro. It is dedicated app for video making. U can record in flat/log profile which u then can color grade later on.
The quality is greater than other app.
Open camera is also nice but it has less control over the video. U can't control color temperature and u can't basic color grade ur videos. Plus u can't save ur preset.
I have no luck with GCam and stock one.
Pics GCam, Video Stock
Interesting Thread. On MIUI Global 10.3.6 and now MIUI Global 11.0.4 (Android 9) using GCam PMGC_7.0.009_Astrophoto_Version_V12 overall I'm impressed, activated Sabre and H265/HEVC (edit/play/upload compatibility seems good for the apps I mostly use which paired with the smaller size is good). Not sure if really but crispness/clarity seems well improved as well as less speckles/red-dots especially on the skin in artificial/low light. EIS also still very good.
I also use the stock camera and OpenCamera, so what bothered me in GCam PMGC:
a) still focus flickering in video (can it be optimized by any settings?), stock RN7 camera IMHO has considerably less such flickering?
b) needing GSF: so no CustomROMs? Or is MicroG able to solve this?
c) found no possibility to save to SD-Card DCIM, I think in PMGC V3/V4 versions this still was available?
For OpenCamera while b) und c) are no problem regarding a) there seems to be good micro movement EIS but overall movement/transition is not so smooth; focus seems manual (tapping on-screen) so I could not see flickering . I like OpenCamera for the many settings especially the filename without prefix. It is also possible to set RAW DNG or WebP (I use 4x3k JPG 84%), Exif tags, HEVC, 24 fps, flat/log profile. I wonder why half-max-res pics (2000x1500) are not available to select. For video I would like to have something 16:9 slightly bigger then FHD so like 3K (2560x1440) which is not available (only 4:3). I also can not find timelapse.
A friend has Filmic on RN7. It has pro options and as well HEVC. As i tried once EIS is ok (below stock/GCam) and it seems video focus flickering is noticable just a little more then Stock and GCAM is considerably worse. I do not like the 1/3 screen Play preview of taken videos (just 3 show up) and also the files are not saved in the standard DCIM camera folder on the SD (CMS External Storage, not found by Gallery Apps).
Currently my preference is:
Images: GCam PMGC
Video: RN7 Stock; Timelapses: GCam PMGC
Hi everyone! Back to this topic to ask you a question. After the recent upgrade to Android 10, still with MIUI 11, I've noticed that
- stock camera has video stabilization working "after save"
- gcam (tons of version tried) and opencamera have no more stabilization. Once it was directly on the screen. Now there's any noticable on the screen or offer save.
Do you have the same problem? Thanks! Any way to solve this?

Categories

Resources