Recording a Surface using MediaCodec

后端 未结 1 1839
遥遥无期
遥遥无期 2020-12-30 05:05

So, In my application, I am able to show effects(like blur filter, gaussian) to video that comes from Camera using GPUImage library.

Basically, I (library) will take

相关标签:
1条回答
  • 2020-12-30 05:44

    You can see a complete example of this in Grafika.

    In particular, the "Show + capture camera" activity records camera output to .mp4. It also demonstrates applying some simple image processing techniques in the GL shader. It uses a GLSurfaceView and a convoluted dance to keep the recording going across orientation changes.

    Also possibly of interest, the "Record GL app with FBO" activity records OpenGL ES rendering a couple different ways. It uses plain SurfaceView and is much more straightforward.

    0 讨论(0)
提交回复
热议问题