Adapting Grafika Recordfboactivity To Work With Android Gpuimage
I have an application that is using the Android port of GPUImage as the OpenGL Renderer and manager of several filters. It currently does not have a video implementation, so I am
Solution 1:
I was also trying to achieve the same thing and have tried what fadden has suggested. Tried to integrate CameraSurfaceRenderer
functionality to GPUImageRenderer
. The preview is fine but the recording is just a video with black frames. EGL14.eglGetCurrentContext()
returns null
for following call and my guess is if a new context is created it will not be same as what GPUImage
might have
mVideoEncoder.startRecording(new TextureMovieEncoder.EncoderConfig(
mOutputFile, 640, 480, 1000000, EGL14.eglGetCurrentContext()));
@Jesses.co.tt were you able to achieve it?
(as I can't add comment it is added as an answer).
Post a Comment for "Adapting Grafika Recordfboactivity To Work With Android Gpuimage"