阅读背景:

Android视频播放器使用NDK,OpenGL ES和FFmpeg

来源:互联网 

Ok so here is what I have so far. I have built FFmpeg on android and am able to use it fine. I have been able to load a video into FFmpeg after passing the chosen filename from the java side. To save on performance I am writing video player in the NDK rather than passing frames from FFmpeg to java through JNI. I want to send frames from the video to an OpenGL surface. I am having trouble figuring out how to get each frame of video and render it onto the OpenGL surface. I have been stuck trying to figure this out for a couple weeks now with no luck. Hopefully someone can point me in the right direction.Ok so here is what I have so far. I have built




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: