I'm developing an app for applying effects to the camera image in real-time. Currently I'm using the MediaMuxer
class in combination with MediaCodec
. Those classes were implemented with Android 4.3.
Now I wanted to redesign my app and make it compatible for more devices. The only thing I found in the internet was a combination of FFmpeg and OpenCV, but I read that the framerate is not very well if I want to use a high resolution. Is there any possibility to encode video in real-time while capturing the camera image without using MediaMuxer
and MediaCodec
?
PS: I'm using GLSurfaceView for OpenGL fragment shader effects. So this is a must-have.