Question slow motion video not recording? - Xiaomi 13 Pro

i'm trying to record a slow-motion video in my own app for xiaomi 13 pro. camera2 gives a bunch of available modes (i need [email protected] in particular), but neither of them works. what's the issue here and how can i fix it?

Related

How to make Mi 5s work on video stabilization on Google Camera

MIUI camera and moto camera can use video stabilization, so how can Google camera also use video stabilization in video recording?
Only way for now to have proper stabilization is to use MIUI ROM with MIUI camera and 1080p video recording. I have tried everything to enable 4K EIS but no luck. Even using open camera app and build prop edits for eis did not give any results. I am wondering how the heck SD625/636 devices like Redmi Note 5 (pro) can have EIS on 4k using open camera on stock MIUI ROM? Can anyone port MIUI camera from those devices, or what files to replace to enable EIS in open camera that actually works ?
persist.camera.eis.enable=1
mesziman said:
persist.camera.eis.enable=1
Click to expand...
Click to collapse
That do not change anything worth mentioning, no meter what ROM or APP are you using. True, you get switch to enable Video Stabilization in Google Camera app, but that EIS do not work not even close like on Pixel. Already tried that and also tried this:
# Camera
persist.camera.eis.enable=1
persist.camera.is_type=4
persist.camera.gyro.android=4
persist.camera.tof.direct=1
persist.camera.tnr.preview=1
persist.camera.tnr.video=1
still we do not have proper EIS like in 1080p in MIUI ROM, or Redmi Note 5/pro with open camera. So there is something else involved. Do anyone have idea how to port EIS like on RN 5 Pro, Pixel, One Plus?
The only stabilisation I have seen on custom ROMs is with the Snap camera, but that only supports 30fps recording.
Mr.Nice.ba said:
That do not change anything worth mentioning, no meter what ROM or APP are you using. True, you get switch to enable Video Stabilization in Google Camera app, but that EIS do not work not even close like on Pixel. Already tried that and also tried this:
# Camera
persist.camera.eis.enable=1
persist.camera.is_type=4
persist.camera.gyro.android=4
persist.camera.tof.direct=1
persist.camera.tnr.preview=1
persist.camera.tnr.video=1
still we do not have proper EIS like in 1080p in MIUI ROM, or Redmi Note 5/pro with open camera. So there is something else involved. Do anyone have idea how to port EIS like on RN 5 Pro, Pixel, One Plus?
Click to expand...
Click to collapse
I don't know exactly. How did you test it? What is a good way of recording a footage to see it?
4k 30fps and 1080p 30fps, too shaky. For example RN5 with open cam is so smooth and stable in 4k 30fps, even better than 1080p on stock miui on Mi5s.
We have hardware supporrt and capability, but Xiaomi did not implemented EIS on this phone, just like Mix2s with SD845. So this is just a software thing.
Sent from my MI 5s using Tapatalk
I am a Mi 5S user and I love to make videos with the phone. I use Filmic Pro to shoot videos in 4K24fps and use Adobe Premiere to stabilize my videos.
It's interesting to do with videos that you really want to have in a portfolio, for example.
Here is a video that I made with Mi 5S(with Filmic Pro in 4k24fps) and edited with Premiere.
.
Mr.Nice.ba said:
4k 30fps and 1080p 30fps, too shaky. For example RN5 with open cam is so smooth and stable in 4k 30fps, even better than 1080p on stock miui on Mi5s.
We have hardware supporrt and capability, but Xiaomi did not implemented EIS on this phone, just like Mix2s with SD845. So this is just a software thing.
Click to expand...
Click to collapse
But in Miui videos are stabilized
Yes, but only in 1080p.
Sent from my MI 5s using Tapatalk

How to enable google camera 4k on custom roms (i.e. ResurrectionRemix)

Hey guys,
I really like the google camera but it seems like I can't get 4k (30fps) video recording up and running. If I switch it on, the camera force closes, no matter what I do or what version I use.)
Right now I am at the latest version of saneklic (2018-07-21; MGCamera_5.1.0.18_R5Plus_v.5.1.17_fix_crash.apk)
I know about the tutorial claiming you need to enable it in some "whyred.xml" which is in a "device feature folder" (a folder somewhere in system/etc/) or something like that, but there is no such thing in a custom rom: it exists only on MIUI. I've already tried every tutorial possible, but nothing helps.
4k is working with the lineage snap, the google camera picture quality is much better though and I really prefere the gcam (because of additional settings/mods)
Thank you very much, any help is very much appreciated. If someone can help me, I will donate you a coffee :highfive:
Marvin
Hey man, I'm really disappointed so far by RN5, I couldn't find a way to record stabilized 4K on custom roms, not even with Open Camera which worked fine on MIUI 10. I have a two year old RN3 which records 4K with gcam (not stabilized) and takes slightly better photos than RN5.
So far i've tried RR, LOS and AEX. 4K recording crashes any camera I've used. Open Camera just gives an error. Waited 2 weeks to unlock bootloader, thinking it will open the gates of heaven. In fact been through hell since I unlocked(yesterday). Antirollback is like a minefield which I luckily avoided, then front camera barely works with gcam, some slight battery drain with custom roms and now 4K recording is broken. Feels like I've downgraded my phone.
Think I'll try to flash MIUI 10, root it, enable camera 2 api for gcam and use Open Camera for EIS enabled 4K. Btw the latest gcam by alone_in_dark works best, even front camera works quite good, try it.
Edit: I flashed MIUI 10, once I enabled camera2 api 4K doesn't work. So it's either 4K or HDR+. Thanks Xiaomi.
Saicoth said:
Hey man, I'm really disappointed so far by RN5, I couldn't find a way to record stabilized 4K on custom roms, not even with Open Camera which worked fine on MIUI 10. I have a two year old RN3 which records 4K with gcam (not stabilized) and takes slightly better photos than RN5.
So far i've tried RR, LOS and AEX. 4K recording crashes any camera I've used. Open Camera just gives an error. Waited 2 weeks to unlock bootloader, thinking it will open the gates of heaven. In fact been through hell since I unlocked(yesterday). Antirollback is like a minefield which I luckily avoided, then front camera barely works with gcam, some slight battery drain with custom roms and now 4K recording is broken. Feels like I've downgraded my phone.
Think I'll try to flash MIUI 10, root it, enable camera 2 api for gcam and use Open Camera for EIS enabled 4K. Btw the latest gcam by alone_in_dark works best, even front camera works quite good, try it.
Click to expand...
Click to collapse
Can you provide link to gcam ? Thanks.
reza6d said:
Can you provide link to gcam ? Thanks.
Click to expand...
Click to collapse
Sure man
Direct download link https://www.celsoazevedo.com/files/android/google-camera/f/CameraX-V2.apk
Edit: For front camera don't use HDR+ enhanced, only HDR+.
Saicoth said:
Sure man
Direct download link https://www.celsoazevedo.com/files/android/google-camera/f/CameraX-V2.apk
Edit: For front camera don't use HRR+ enhanced, only HDR+.
Click to expand...
Click to collapse
Holy grill,its nice thanks.
Didnt expect frontcam to work.But it does.
Saicoth said:
Hey man, I'm really disappointed so far by RN5, I couldn't find a way to record stabilized 4K on custom roms, not even with Open Camera which worked fine on MIUI 10. I have a two year old RN3 which records 4K with gcam (not stabilized) and takes slightly better photos than RN5.
So far i've tried RR, LOS and AEX. 4K recording crashes any camera I've used. Open Camera just gives an error. Waited 2 weeks to unlock bootloader, thinking it will open the gates of heaven. In fact been through hell since I unlocked(yesterday). Antirollback is like a minefield which I luckily avoided, then front camera barely works with gcam, some slight battery drain with custom roms and now 4K recording is broken. Feels like I've downgraded my phone.
Think I'll try to flash MIUI 10, root it, enable camera 2 api for gcam and use Open Camera for EIS enabled 4K. Btw the latest gcam by alone_in_dark works best, even front camera works quite good, try it.
Edit: I flashed MIUI 10, once I enabled camera2 api 4K doesn't work. So it's either 4K or HDR+. Thanks Xiaomi.
Click to expand...
Click to collapse
Thanks for everything! To be honest I prefere much more [email protected] instead of [email protected] I managed to get 4k recordings on lineage snap & open camera no problem. Google camera is where it's at though, I love the settings & mods. I can help you out though if you really want to do 4k recordings ^^
MarvinMe said:
Thanks for everything! To be honest I prefere much more [email protected] instead of [email protected] I managed to get 4k recordings on lineage snap & open camera no problem. Google camera is where it's at though, I love the settings & mods. I can help you out though if you really want to do 4k recordings ^^
Click to expand...
Click to collapse
Can't say no to that. But since 4K (3840 × 2160 resolution) doesn't appear in open camera after enabling camera2 api, I don't think there's a fix for that. It appears only 4000 x 2000 2:1 which gives an error. I did manage to get 4K working with another third party camera, but without EIS. Because RN5 can record 4K with excellent stabilization it's a pitty not to use it. So now if I want to record something I just use another build.prop without cam2.api then reboot, and switch back to enabled cam2.api prop when I want to use HDR+ :laugh:
Saicoth said:
Can't say no to that. But since 4K (3840 × 2160 resolution) doesn't appear in open camera after enabling camera2 api, I don't think there's a fix for that. It appears only 4000 x 2000 2:1 which gives an error. I did manage to get 4K working with another third party camera, but without EIS. Because RN5 can record 4K with excellent stabilization it's a pitty not to use it. So now if I want to record something I just use another build.prop without cam2.api then reboot, and switch back to enabled cam2.api prop when I want to use HDR+ :laugh:
Click to expand...
Click to collapse
This is horrible! I mean is it a firmware issue or some custom rom problem? Unfortuantly I'm not much into mobile software development... I really really want a fix, I would even pay money for it xD :highfive:
Edit_0: If we take a look at this link; a possible solution is shown but it doesn't work... a hotfix would be cool but meh it's alright you can't have it all...
Edit_1: Installing it as a system app doesn't help either btw
4K EIS with camera2 api
MarvinMe said:
This is horrible! I mean is it a firmware issue or some custom rom problem? Unfortuantly I'm not much into mobile software development... I really really want a fix, I would even pay money for it xD :highfive:
Edit_0: If we take a look at this link; a possible solution is shown but it doesn't work... a hotfix would be cool but meh it's alright you can't have it all...
Edit_1: Installing it as a system app doesn't help either btw
Click to expand...
Click to collapse
Hello my friend, it seems you can have it all, I finally found a way to record 4K with EIS while having camera2 api enabled. I'm really happy now and overall satisfied with the phone. Only issue remaining is the front camera HDR+ which is beyond my knowledge, hopefully someone else will come with a fix.
So now, how I managed to record 4K? I'm on MIUI 10 (8.7.12), and using latest blackbox kernel by KunalKene1797. Don't know if these have any effect, but I thought it's good to know.
The third party camera I'm using is Snap Camera, there are certain settings which need to be enabled. I'll post a video with the settings I used and which worked best. 4K Video Support and Use Camera2 API being the most important ones. There could be other settings which could improve the recording, but I like to stay on these stable settings, because I'm pleased with the results so far.
Here's the video with the settings needed in Snap Cam https://youtu.be/gRj9LhYWv5Y(video is back)
Here's the first 4K video https://youtu.be/oQGc4gXnGU0
A test for auto-focus https://youtu.be/V41k21qKQpE
No EIS sample vs EIS https://youtu.be/_qNFNs2gq74 VS https://youtu.be/00J-3cAzLjg
Edit 1: I also tried setting higher bitrate than the default 42, however in windows at the details on the first video it shows 40 total bitrate and when setting to 64 it shows 42, either way it seems the quality was marginally improved. I guess the phone can't write faster than that or the storage doesn't allow it.
https://youtu.be/Q7Lqlr-QanA
Some stuttering can be seen from 0:08 to 0:11, but I think that's because the phone started thermal throttling, it's very hot outside and from all the testing, phone was quite hot too.
I really hope it works for you as well, take care.
Saicoth said:
Hello my friend, it seems you can have it all, I finally found a way to record 4K with EIS while having camera2 api enabled. I'm really happy now and overall satisfied with the phone. Only issue remaining is the front camera HDR+ which is beyond my knowledge, hopefully someone else will come with a fix.
So now, how I managed to record 4K? I'm on MIUI 10 (8.7.12), and using latest blackbox kernel by KunalKene1797. Don't know if these have any effect, but I thought it's good to know.
The third party camera I'm using is Snap Camera, there are certain settings which need to be enabled. I'll post a video with the settings I used and which worked best. 4K Video Support and Use Camera2 API being the most important ones. There could be other settings which could improve the recording, but I like to stay on these stable settings, because I'm pleased with the results so far.
Here's the video with the settings needed in Snap Cam https://youtu.be/gRj9LhYWv5Y
Here's the first 4K video https://youtu.be/oQGc4gXnGU0
A test for auto-focus https://youtu.be/V41k21qKQpE
No EIS sample vs EIS https://youtu.be/_qNFNs2gq74 VS https://youtu.be/00J-3cAzLjg
I really hope it works for you as well, take care.
Click to expand...
Click to collapse
Youtube removed the settings video, can you post it in text here? Or upload the video somewhere else? Thanks! Been looking for a solution to have 4k EIS and camera2 api for a long time since Open Camera didn't work anymore.
jmartinho said:
Youtube removed the settings video, can you post it in text here? Or upload the video somewhere else? Thanks! Been looking for a solution to have 4k EIS and camera2 api for a long time since Open Camera didn't work anymore.
Click to expand...
Click to collapse
Please check back later, I appealed to the decision to remove my video. The video doesn't contain any scam or anything that may violate the community guidelines.
In the mean time I'll make the video available from google photos https://photos.app.goo.gl/AqZHZ9xMn4nSc9pv7
Saicoth said:
Please check back later, I appealed to the decision to remove my video. The video doesn't contain any scam or anything that may violate the community guidelines.
In the mean time I'll make the video available from google photos https://photos.app.goo.gl/AqZHZ9xMn4nSc9pv7
Click to expand...
Click to collapse
That worked great! Thanks!
Am running pixel experience 9.0. I want to use Google camera. Which should I download and how to enable camera2api?
Saicoth said:
Please check back later, I appealed to the decision to remove my video. The video doesn't contain any scam or anything that may violate the community guidelines.
In the mean time I'll make the video available from google photos https://photos.app.goo.gl/AqZHZ9xMn4nSc9pv7
Click to expand...
Click to collapse
Hi! Thanks for all the details. I am using the latest miui 10, and WITHOUT api2 turned on, I used hedge camera app, and the 4k eis was working fine, but phone was droping the frames / stuttering the recorded video, which is a bit annoying.
I tested your setup, and I can see that its better, but still sometimes I can see some dropped frames. It happen to you too?
Thanks in advance for any suggestion.
misiek735 said:
Hi! Thanks for all the details. I am using the latest miui 10, and WITHOUT api2 turned on, I used hedge camera app, and the 4k eis was working fine, but phone was droping the frames / stuttering the recorded video, which is a bit annoying.
I tested your setup, and I can see that its better, but still sometimes I can see some dropped frames. It happen to you too?
Thanks in advance for any suggestion.
Click to expand...
Click to collapse
Yes, it happens to me as well, in the first 8 to 10 seconds, I think it's the cpu, it can't use EIS very well with 4K. Without EIS there are no dropped frames or stutter issues.
A suggestion would be to use a very fast micro sd card, haven't tested, but worth a try.
After about 4-5 minutes the phone gets quite warm and stutter is inevitable due to thermal throttling.
Flash this in TWRP to enable 4k recording in Google camera and other camera2 API-enabled apps
drive.google.com/open?id=1fRX0ASjOnsxbA0XAHOwkV_sz7TCV3dwg

Slow motion on LineageOS 14.1

Hello everyone
I'm trying to get slow motion video recording to work on Lineage. Stock is capable of recording 120fps, however with Lineage the best possible seems to be 60fps with a Gcam port.
So far I've tried several tweaks to mediaprofiles.xml, however I'm unsure which setting really does the trick. I even went as far as completely replacing mediaprofiles with one from a different phone that does support high FPS recording.
I'm using Footej as camera app, selected SlowMotion, however the videos always come out at 15fps, even regular recording does 30fps.

4K EIS

Hello
Does anyone know if there is any way to get EIS in 4k while recording video? I tried on GCam and other external applications but it doesn't work. I saw that there are some mods for Poco F1 that activate EIS in 4k but I didn't find anything on Redmi Note 8 Pro, and it seems to me that it can be done with software, especially since older models had this option. I don't know why the manufacturer didn't add this option here. Video in 1080 looks tragic, and if 4k had EIS it would be perfect.

Question 4k60 possible?

Hi,
is there any Gcam mod (or other camera app) that enables 4k60 recording?
Nope, Snapdragon 778G doesn't support 4k60.
Ok, thanks.
I also noticed (after upgrading to Android 12, MIUI 13), when I select video stabilization in 4k30 mode it automatically changes recording to 1080p30. Before upgrading 4k30 EIS was working fine.
Your browser is not able to display this video.

Categories

Resources