You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI, i have a project that use this labrary a few years ago, and now i decide to update my code to the latest version of this library.
on the old days i use RtmpCamera2 with OpenGLView to add filter to the video, but now from the sample(rotation activity) i see that i can use surfaceView with GenericStream and doing the same thing, so i am considering to make a change.
but before doing that i have a few question, i see there is Camera2Source in class GenericStream, and i want to access the Camera2ApiManager of class Camera2Source since i want to addImageListener for processing the frames with TFLite, should i create my own "GenericStream" and expose the Camera2ApiManager out for adding image listener? sorry if i was missing something.
there is another question regarding the Fps, i want to record video at 60Fps. there is a getSupportedFps() function in Camera2ApiManager, only a few devices report that are supporting 60FPS from this function, but if i hard coded 60fps on builderInputSurface.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, 60), some of the devices that repord not support can still filming at 60fps, and some of them are not, i am wondering is there any ways that i can check 60fps support more accurately.
finally sorry for those dumb question, and Thank you.
The text was updated successfully, but these errors were encountered:
HI, i have a project that use this labrary a few years ago, and now i decide to update my code to the latest version of this library.
on the old days i use RtmpCamera2 with OpenGLView to add filter to the video, but now from the sample(rotation activity) i see that i can use surfaceView with GenericStream and doing the same thing, so i am considering to make a change.
but before doing that i have a few question, i see there is Camera2Source in class GenericStream, and i want to access the Camera2ApiManager of class Camera2Source since i want to addImageListener for processing the frames with TFLite, should i create my own "GenericStream" and expose the Camera2ApiManager out for adding image listener? sorry if i was missing something.
there is another question regarding the Fps, i want to record video at 60Fps. there is a getSupportedFps() function in Camera2ApiManager, only a few devices report that are supporting 60FPS from this function, but if i hard coded 60fps on builderInputSurface.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, 60), some of the devices that repord not support can still filming at 60fps, and some of them are not, i am wondering is there any ways that i can check 60fps support more accurately.
finally sorry for those dumb question, and Thank you.
The text was updated successfully, but these errors were encountered: