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
I've started android programming. I tried to review your code to CameraCameraActivity.
I don't know how can I record both video and filters to a file.
Please show me your hint.
The text was updated successfully, but these errors were encountered:
For drawing on screen, CameraCaptureActivity sets up a GLES program with a filter and renders with it. For recording to video, a separate (but shared) EGL context is used. You'd need to modify TextureViewEncoder to set up and use a filter. An easy way to do that would be to clone CameraCaptureActivity#updateFilter() into TextureViewEncoder, which also uses a FullFrameRect for rendering.
Another approach would be to structure the code more like ContinuousCaptureActivity, which uses a single EGL context for rendering to the screen and to the video output file. CameraCaptureActivity uses separate EGL contexts because there's no real choice with GLSurfaceView.
I've started android programming. I tried to review your code to CameraCameraActivity.
I don't know how can I record both video and filters to a file.
Please show me your hint.
The text was updated successfully, but these errors were encountered: