Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : can we record video from custom app? #17

Open
x4080 opened this issue Feb 10, 2018 · 2 comments
Open

Question : can we record video from custom app? #17

x4080 opened this issue Feb 10, 2018 · 2 comments

Comments

@x4080
Copy link

x4080 commented Feb 10, 2018

Can we record video from custom app?

Thanks

@portaloffreedom
Copy link

I'm actually interested in this as well. I explored the APIs but I've not understood if its possible to receive a stream of images (hopefully raw) to save with my codec of choice.

Ultimately, I'm aiming at using MLV (https://mlv.app/). It would be awesome to be able to record 14bit videos with my sony cameras :)

@portaloffreedom
Copy link

portaloffreedom commented Jan 31, 2021

Whenever I use

m_camera.getNormalCamera().takePicture(onshutter, onrawreceived, onjpgreceived);

onshutter() is called, but onrawreceived() and onjpgreceived() are never called. Also this function crashed my entire camera several times.

I found an api callback inside CameraSequence that looks interesting:

public interface ShutterSequenceCallback {
    void onShutterSequence(CameraSequence.RawData var1, CameraSequence var2);
}

Which would be awesome to use but can't seem to understand how to trigger it.

Does any one has any clue or idea of what these classes are supposed to be used? Any help would be welcome.

(for my tests I'm using an a6000, but I also have an a7 that I can use later for testing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants