Receive frames from MediaCodec, edit and show on the glSurfaceView

瘦欲@ 提交于 2019-12-13 05:25:38

问题


What I'm working on is an application which can get frames then modify it (like move pixels in the frame). After that show the edited frames onto the screen with good speed, glSurfaceView will do that part I think. And MediaCodec will help getting the frames.

I'm trying a good example about MediaCodec like ExtractMpegFramesTest from http://bigflake.com/mediacodec/. Can I directly edit the received frames with GLES code and show it onto the screen without getting Bitmap?

来源:https://stackoverflow.com/questions/25417320/receive-frames-from-mediacodec-edit-and-show-on-the-glsurfaceview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!