[Q] What would be required to get slow motion camera on AOSP? - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

What exactly would need to be done to get the S4 120FPS video working on something like CM10? Is this just a matter of writing software to take 120FPS or is there special hardware interaction? Is it just waiting to be done or does it need to be "figured out" or reverse engineered?

Related

[Q] Decent FPS Screen Recording

Considering all the amazing developers out there, there has to be a way to do this? I don't care how complex, I just would really like to be able to record my devices screen at a decent FPS. Android Screencast is maybe 5fps, and just looks horrid. Even if it was something as simple as being able to remotely view my phone on my pc, then that would work (i have screen recording software).
I have thought about just using the emulator that comes with the sdk, but I would rather the videos be of my phone. Is this just a dream?
I've tryed apps like droid vnc but it looks bad/glitchy, i think something displaying the system on pc via usd would probably be fast and look good but haven't found anything that dose it. Kinda surprising all the development/custom apps and i cant find a something simple like video out via usb

[Q] Can someone acquire a Camera apk from their S4

I would like to know if the camera from the S4 would work on the Mega. All of these camera apps have features that the Mega camera does not have. The feature I would like particularly is the slow-mo and fast-mo video. It would have to be the 4.2 version of the S4. Can someone possibly yank the camera apk off a rooted device for me?

[Q] develop camera app with slow motion

Dear all
I am going to develop an app that include only slow motion recording, and only for S5 (school project I need to demo only). The problem is, I tried to use open camera and it fails to have 120 fps. After searching, some said that standard camera api does not support high frame rate record. Then I tried to decompile the bulid-in samsung camera apk to found the part that responsible for hfr recording but I cant found it.
1. Does anyone have experience that is related can share to me?
2. Also I am wondering if my decompiled apk is not correct. Could anyone help me to decompile a succeed one, even some apk modded by others?
3. And if anyone can directly give me related source code? I need only the part of recording 120fps video.
Thanks for reading my wordy and bad english.
Take a look at: http://forum.xda-developers.com/galaxy-s5/development/mod-hx-camera-mod1-0quality-t2816831
Hyper-X managed to get 720p working with 120 FPS.
Dabylpmis said:
Take a look at: http://forum.xda-developers.com/galaxy-s5/development/mod-hx-camera-mod1-0quality-t2816831
Hyper-X managed to get 720p working with 120 FPS.
Click to expand...
Click to collapse
Thank Dabylpmis, the app is good but I would like to have some source code..

Google Camera2 API

Hello every one! Hope you're having a great day
I'm here because I need your help To make a long story short, until I can save enough to buy a new proper camera, I'm stuck with my P9 Lite, which cannot save pictures as RAW/DNG files. This feature is provided by Google's Camera2 API, which my phone doesn't have/support. Four questions:
1. Is it possible to install Camera2 API on my phone, through a custom ROM?
2. Is it possible to install a custom ROM without losing on the initial image quality provided by my phone's camera?
3. In theory, could this API be enabled by a future software update? Or does it only have to do with how the phone was originally conceived?
4. Even if I managed to get the API on my phone, would it be possible to make it fully supported, and would I be able to save RAW/DNG files even if my phone originally doesn't offer this option?
Thank you very much!
P.S: I've never thought of "flashing" a custom ROM on my phone, this issue is the only reason why I'm considering it. As you may have noticed by my way of explaining things, I'm a five year old when it comes to informatics, and I'd probably be the first in line to buy Smartphone Software For Dummies. As much as I admire how technical and specialised you can get about a science that goes way beyond my understanding abilities, if you can keep things slow and simple, as if you were talking to an actual five year old, I'd be very grateful
themadbuddha said:
Hello every one! Hope you're having a great day
I'm here because I need your help To make a long story short, until I can save enough to buy a new proper camera, I'm stuck with my P9 Lite, which cannot save pictures as RAW/DNG files. This feature is provided by Google's Camera2 API, which my phone doesn't have/support. Four questions:
1. Is it possible to install Camera2 API on my phone, through a custom ROM?
2. Is it possible to install a custom ROM without losing on the initial image quality provided by my phone's camera?
3. In theory, could this API be enabled by a future software update? Or does it only have to do with how the phone was originally conceived?
4. Even if I managed to get the API on my phone, would it be possible to make it fully supported, and would I be able to save RAW/DNG files even if my phone originally doesn't offer this option?
Thank you very much!
P.S: I've never thought of "flashing" a custom ROM on my phone, this issue is the only reason why I'm considering it. As you may have noticed by my way of explaining things, I'm a five year old when it comes to informatics, and I'd probably be the first in line to buy Smartphone Software For Dummies. As much as I admire how technical and specialised you can get about a science that goes way beyond my understanding abilities, if you can keep things slow and simple, as if you were talking to an actual five year old, I'd be very grateful
Click to expand...
Click to collapse
Can't you just install https://play.google.com/store/apps/details?id=net.sourceforge.opencamera on stock ROM? I think the camera2 api should be available.
Thank you for replying! The application supports Camera2 API, but if the API is not available on my phone in the first place, I don't think the application will work...According to my researches, the API is like, let's say, a camera: if your phone doesn't have a camera, you could install as many camera apps as you want, your phone still won't take any pictures...What I need is a way to add a camera to my phone - in our case, the API - so that I can start taking pictures - in our case, saving RAW/DNG files. Also, I might be wrong.
themadbuddha said:
Thank you for replying! The application supports Camera2 API, but if the API is not available on my phone in the first place, I don't think the application will work...According to my researches, the API is like, let's say, a camera: if your phone doesn't have a camera, you could install as many camera apps as you want, your phone still won't take any pictures...What I need is a way to add a camera to my phone - in our case, the API - so that I can start taking pictures - in our case, saving RAW/DNG files. Also, I might be wrong.
Click to expand...
Click to collapse
So the app doesn't work? I can't test it cause I am not on stock.
Just tried open cam on stock rom and I can capture RAW dng files, so it seems like camera2 is supported try it out!
UPDATE: Enable "Use alternative flash method" in photo settings if it won't take pictures when camera2 is enabled.
Open camera is pretty buggy on this phone when shooting RAW. Try "Footej camera", seems to work better
yaa but for footej need to pay to have fully featured. I payed for this but for m there is no diference to open camera.
I didn't say that Footej is better than open camera. Just that open camera often bugs for me when using camera2 - eg nothing happens when pressing camera button.
Sry for reviving the thread, is there any way to increase max shutter speed in camera2 api? I'm really interested in shooting some raw stuff but apps like Opencamera or Adobe Lightroom won't allow me to set over 1 second shutter speed (apart from the built-in camera app that allows up to 8 secs, but without raw support...) so it's a pain in the butt if I want to take raw pictures at night.
Using the stock Marshmallow Emui
The Lightroom app has a built in camera which can shoot RAW, I tried it and it works flawlessly.
Camera API2 *IS* present on p9 lite and *DOES* work.
zgomot said:
The Lightroom app has a built in camera which can shoot RAW, I tried it and it works flawlessly.
Camera API2 *IS* present on p9 lite and *DOES* work.
Click to expand...
Click to collapse
Yup it does, but shutter speed cannot be set over 1 second (see the screenshot), that means night photos end up being very noisy since I need to drastically increase iso. The default camera app allows much longer shutter time, that's why I'm wondering what's wrong
If it was possible to set it to like 10 secs in the Lightroom app, the camera would be damn great
Krastinov said:
Yup it does, but shutter speed cannot be set over 1 second (see the screenshot), that means night photos end up being very noisy since I need to drastically increase iso. The default camera app allows much longer shutter time, that's why I'm wondering what's wrong
If it was possible to set it to like 10 secs in the Lightroom app, the camera would be damn great
Click to expand...
Click to collapse
Have you tried Camera FV5?
zgomot said:
Have you tried Camera FV5?
Click to expand...
Click to collapse
Yea, but it says that this device doesn't support raw :|
Krastinov said:
Yea, but it says that this device doesn't support raw :|
Click to expand...
Click to collapse
Is it the trial version?
zgomot said:
Is it the trial version?
Click to expand...
Click to collapse
Full. Does it work for you?
Also I heard that official Nougat brings raw support to the built-in camera, can anyone verify that? I might wanna update in that case
Krastinov said:
Full. Does it work for you?
Also I heard that official Nougat brings raw support to the built-in camera, can anyone verify that? I might wanna update in that case
Click to expand...
Click to collapse
I Know This Is Quite Old But In Case Someone Is Still Wondering;
I'm Using Stock Nougat Firmware On My P9 Lite And It Does Support Raw Format, But You Have To Root The Phone And Enable Raw/DNG Format In Some System Files

Possible Camera2 API bug.

Hello, all!
This is a little specific, but I was hoping that perhaps other LG G6 users could help me test for this problem to figure out whether it's affecting all the phones/firmwares or is specific to mine.
Basically what happens is that in any camera app, except the native one, if you use specific manual settings (so, through the Camera2 API) there's a bug that changes the value on its own. Perhaps the easiest way to check it is using Open Camera:
1) Switch to video mode (camera choice does not matter).
2) Pick the exposure icon, set ISO to 50 and shutter speed to 1/20
3) Start recording video...
4) On my device after 5-10 seconds of recording the screen turns black (or nearly black) as the exposure speed drops to ~1/10000.
Touching the screen to refocus fixes it for a moment, then it jumps back to ~1/10000.
Basically ISO50, shutter range 1/20-1/30 will cause this. I have seen this in any app that allowed manual settings, like Open Camera, ProShot, Hedgecam 2, AZ Camera, Footej camera etc. Some of them turn black, others just crash/freeze. Sounds like an API bug to me.
I'm on Android version 8.0.0, Software version: V20c-EUR-XX installed through OTA.
Would really appreciate if someone could also try this.
My minimum shutter speed is 1/30... This with stock camera........ Stock oreo by OTA v20c.
No problem with recording.
vs0587 said:
My minimum shutter speed is 1/30... This with stock camera........ Stock oreo by OTA v20c.
No problem with recording.
Click to expand...
Click to collapse
Thanks for taking the time to check, but the stock camera works ok. It's the others that have this problem. Like Open Camera or HedgeCam2. The reason I want to use those is they recently added an option to change image processing (noise reduction, edge enhancement) so if you turn those down and film video with them you actually get nice, natural looking video and not the overprocessed watercolor look that the stock camera (and most other apps) provide. And if we go for a "cinematic" 24fps look then the Shutter speed could often be 1/24 or so.
Since I have seen some threads looking for a way to get cleaner video I'll attach two snapshots from a video - one with stock camera (and those crazy cartoon edges) and another from HedgeCam 2.

Categories

Resources