-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to capture an image #13
Comments
Hi, If you use the mediacodec branch (I will merge it with master when it will be more stable), you could do that with some modifications of the lib: look at onPreviewCallback(...) in VideoStream.java, you have a buffer there that contains the last image (more or less...) from the camera (which is given to a MediaCodec instance). The image is encoded in the NV21 color format, so you will also need to convert it back to RGB :( If you are using the master branch, well you can't do that, you need to stop the stream first... |
Hi fyhertz, try1 : try2: - using library.jar file i have used this and streaming works supper fine thank to you. Further if i want to capture image from stream i cant do it as obvious that i wont get acces to camera. Is there any way that we can work with the master project where we can implement this. any idea or any way or any sort input you have will be great so that even i can share things if i am able to achive this. any ways thanks a lot for your wonderful effort. regards, |
libstreaming.jar file missing from libstreaming project |
Represent sample codes for solving the problem, please. |
Is it possible now? |
I want to capture an image from the camera while streaming is running. How can I do it with libstreaming?
The text was updated successfully, but these errors were encountered: