Camera 2API does not work in oreo? - Samsung Galaxy A3, A5, A7 (2017) Questions & Answe

Trying to record video with opencamera and Camera 2API but it can't record.Is this because of oreo?Did samsung changed something and we can't change bitrate videos anymore ?

Is anyone else facing this problem or I am the only one?

Nick312 said:
Trying to record video with opencamera and Camera 2API but it can't record.Is this because of oreo?Did samsung changed something and we can't change bitrate videos anymore ?
Click to expand...
Click to collapse
It.s still there but not fully enabled. And it seems like it is not going to change soon.

MaDaLiNoSt said:
It.s still there but not fully enabled. And it seems like it is not going to change soon.
Click to expand...
Click to collapse
It's used to work in nougat.So yours don't work as well right?

Got a new update on opencamera it works again now!They added also 200mbs bitrate record insane!

Related

Is there any way to enable Full HD/60fps recording?

Is there any way to enable Full HD/60fps recording? The CPU and camera hardware is capable to do more than this.
Have you tried with Open Camera
https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=sv
Or Cinema FV-5
?
https://play.google.com/store/apps/details?id=com.flavionet.android.cinema.lite&hl=sv
-Zteam- said:
Have you tried with Open Camera
hxxxm/store/apps/details?id=net.sourceforge.opencamera&hl=sv
Or Cinema FV-5
?
hxxpxxxe/apps/details?id=com.flavionet.android.cinema.lite&hl=sv
Click to expand...
Click to collapse
I did, even with 60/120 fps setting on Open Camera the video has 30fps
dreszczyk said:
I did, even with 60/120 fps setting on Open Camera the video has 30fps
Click to expand...
Click to collapse
This app seems to work for the Xiaomi Redmi Note 3, please try it out and let me if it works on the Mi6 as well:
https://forum.xda-developers.com/redmi-note-3/themes/google-camera-hdr-60fps-t3656675
If it doesn't work, you can try with this app if you want to:
https://forum.xda-developers.com/search/thread/3115548?query=xiaomi
-Zteam- said:
This app seems to work for the Xiaomi Redmi Note 3, please try it out and let me if it works on the Mi6 as well:
https://forum.xda-developers.com/redmi-note-3/themes/google-camera-hdr-60fps-t3656675
If it doesn't work, you can try with this app if you want to:
https://forum.xda-developers.com/search/thread/3115548?query=xiaomi
Click to expand...
Click to collapse
Ungortunately, none of these work
EDIT:
The first one force-closes and the second produces black images.
dreszczyk said:
Ungortunately, none of these work
EDIT:
The first one force-closes and the second produces black images.
Click to expand...
Click to collapse
I figured out that you need to enable Camera2 Api. The app does open and gives you the opportunity to take '60 FPS' videos, however the videos aren't really 60 FPS.
Here's a link if you want to play a little bit
https://www.reddit.com/r/Android/comments/6tklw0/magisk_module_to_enable_camera2_api_to_use_with/
dreszczyk said:
Ungortunately, none of these work
EDIT:
The first one force-closes and the second produces black images.
Click to expand...
Click to collapse
QuattroKwok said:
I figured out that you need to enable Camera2 Api. The app does open and gives you the opportunity to take '60 FPS' videos, however the videos aren't really 60 FPS.
Here's a link if you want to play a little bit
https://www.reddit.com/r/Android/comments/6tklw0/magisk_module_to_enable_camera2_api_to_use_with/
Click to expand...
Click to collapse
Did you guys made sure to set VideoFrameRate=60 in the videoprofile for 1080p inside freedcam?
If that's not helping you might consider asking the freedcam devs if they can make it possible over here?
https://forum.xda-developers.com/android/apps-games/camera-freedcam-4-0-3-t3115548
I did also find this, but it's for Mi4 not sure if it works on the Mi6, thought.
http://en.miui.com/thread-477750-1-1.html
Also there seems to be some changes about the camera in MIUI 9 (at least for longer exposure times for photos)
None of these apps work. It really sucks, they all crash or don't record at 60fps.
dingoyabuki said:
None of these apps work. It really sucks, they all crash or don't record at 60fps.
Click to expand...
Click to collapse
You can try with Bacon camera as well, it seems to have some support for Xiaomi Mi6, but I don't know if it allows you to record 60FPS.
If not you can always try to ask the freedcam or Bacon Camera developers if they can add support for it.
However it might be that the camera drivers doesn't provide support for it, if that's the case I don't think it is possible at all.
Freedcam thread is over here:
https://forum.xda-developers.com/and...4-0-3-t3115548
Bacon Camera is over here:
https://forum.xda-developers.com/gen...amera-t3253278
No. Literally no app can record at 60fps.

1080p 60fps working Google camera

1080p 60fps recording can be done on our device via Google camera
There are some bugs and force close in Google camera try to switch from front camera video to back camera this will work
https://drive.google.com/file/d/1tfY79SmVjZs-vG0iil41aOOQFur7rFnN/view?usp=drivesdk
60fps+1080p on Moto g4 Plus? that's not possible
siddhesh9146 said:
60fps 1080p on Moto g4 Plus? that's not possible
Click to expand...
Click to collapse
I have screenshot
Aby lad said:
1080p 60fps recording can be done on our device via Google camera
There are some bugs and force close in Google camera try to switch from front camera video to back camera this will work
https://drive.google.com/file/d/1tfY79SmVjZs-vG0iil41aOOQFur7rFnN/view?usp=drivesdk
Click to expand...
Click to collapse
This are screenshot
60fps
Aby lad said:
60fps
Click to expand...
Click to collapse
Thank You!
Works great, I confirm it takes 42fps in dark room, will try tomorrow in the sunlight. A little buggy, but works. It work even better if you switch the video resolution to 720P
Aby lad said:
1080p 60fps recording can be done on our device via Google camera
There are some bugs and force close in Google camera try to switch from front camera video to back camera this will work
https://drive.google.com/file/d/1tfY79SmVjZs-vG0iil41aOOQFur7rFnN/view?usp=drivesdk
Click to expand...
Click to collapse
Nice work! There is a bug when every other shot turns green. Can anyone else confirm this?
reCoded said:
Nice work! There is a bug when every other shot turns green. Can anyone else confirm this?
Click to expand...
Click to collapse
Yes it happens to me too..
Aby lad said:
60fps
Click to expand...
Click to collapse
60fps is just a number, the SOC in moto g4 plus is not capable of handling 1080p+60fps realtime, but yes it can handle lower resolution like 720p or 480p at 60fps;
the FPS counter that you are showing is just 1 frame of image is recorded twice i.e. repeated single frame. more like its 1080i then 1080p which user progressive scan rather then
Interlaced scan. to get this effect done your camera app increases the shutter speed lower the ISO that why we re getting that slightly greenish tint.
Aby lad said:
60fps
Click to expand...
Click to collapse
i smell bull**** there
are you sure that those are actual 60 fps? because i'm pretty sure it's just like that in the ****in meta data of the video.
why my moto g4 plus get freeze a bit meanwhile im takeing picture or recordering on facebook app?
Wont Work...!!
Immediately force closes the camera app...
Is it working on oreo 8.1?
Is not actually "working" anywhere, just a fake.

60FPS Video Recording

I was just wondering if our phone supports 60Fps video recording cause I havent found a single app which can record at 60fps...
Try snapdragon camera
yourmine20 said:
Try snapdragon camera
Click to expand...
Click to collapse
Link?
ASP02 said:
Link?
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=24052804347804681
Flash it using twrp
That just force closes straight away.
yourmine20 said:
https://androidfilehost.com/?fid=24052804347804681
Flash it using twrp
Click to expand...
Click to collapse
Exactly...it force closes
https://forum.xda-developers.com/moto-x-style/themes-apps/moto-camera-6-0-43-10-modded-apk-t3459690
Check this , you can increase the brightness of recording too to overcome low light.
Your record button may be messed up after first time you record , just open it again and its ok forever , hdr isn't working tho.
Mohamed Serag Aldeen said:
https://forum.xda-developers.com/moto-x-style/themes-apps/moto-camera-6-0-43-10-modded-apk-t3459690
Check this , you can increase the brightness of recording too to overcome low light.
Your record button may be messed up after first time you record , just open it again and its ok forever , hdr isn't working tho.
Click to expand...
Click to collapse
Keeps giving me camera error...I'm on 8.1 btw
ASP02 said:
Keeps giving me camera error...I'm on 8.1 btw
Click to expand...
Click to collapse
That's why . try to search for oreo version and hope it works.
nougat is more stable for me .
Mohamed Serag Aldeen said:
That's why . try to search for oreo version and hope it works.
nougat is more stable for me .
Click to expand...
Click to collapse
Tried but couldn't find anything.. probably I'll just stick to what's available...
try snapdragon camera modded for the Lenovo P2
Please provide links for your recommendations..I cudnt find any Snapdragon camera for P2....
I flashed the one mentioned above and it crashed all camera apps...even snapchat...I had to remove the entire folder in twrp as it was read-only..I'm on Oreo 8.1
Mmm i have to try them and report back
yourmine20 said:
Mmm i have to try them and report back
Click to expand...
Click to collapse
Have u tried it...and does it shoot in 60 fps.??
ASP02 said:
Have u tried it...and does it shoot in 60 fps.??
Click to expand...
Click to collapse
No it doesn't it shoots 30 fps sorry :/
yourmine20 said:
No it doesn't it shoots 30 fps sorry :/
Click to expand...
Click to collapse
Haha it's okay...
Looks like our phone just can't..
The sensor can do 60fps, i think its a software limit from camera driver, xiaomi mi4C have the same sensor (IMX 258) and a modded camera library activate the 60fps video recording
(look here https://forum.xda-developers.com/redmi-note-3/help/720p60fps-1080p60fps-video-recording-t3412642 and here https://forum.xda-developers.com/re...-recording-t3414800/post67679946#post67679946)
jerem52 said:
The sensor can do 60fps, i think its a software limit from camera driver, xiaomi mi4C have the same sensor (IMX 258) and a modded camera library activate the 60fps video recording
(look here https://forum.xda-developers.com/redmi-note-3/help/720p60fps-1080p60fps-video-recording-t3412642 and here https://forum.xda-developers.com/re...recording-t3414800/post67679946#post67679946)
Click to expand...
Click to collapse
Yea... Looks like the devs have to port the camera drivers of another camera with the same sensor...
A thread for porting the drivers had already been created, to achieve back camera portrait mode on Google camera...
But looks like devs are not interested to do so..
So we have to wait until someone learns the method of porting camera drivers and solve these issues
ASP02 said:
Haha it's okay...
Click to expand...
Click to collapse
Tbh our camera is not that strong I don't think it's capable of shooting 60 fps but i don't know ?

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

Question EIS works only in the GCam viewfinder

hey, i got a weird bug. when i trying to record a video with eis, it working perfectly in a viewfinder, but output video have no eis at all. what may cause this?
using:
GCam8.2.204_Greatness.220901​
incelynn said:
hey, i got a weird bug. when i trying to record a video with eis, it working perfectly in a viewfinder, but output video have no eis at all. what may cause this?
using:
GCam8.2.204_Greatness.220901​
Click to expand...
Click to collapse
Try 8.6 bsg ..it's working pretty well compared to others

Categories

Resources