开发者

Video frame capture

Is it possible to capture a frame from a video 开发者_如何学编程in android and save it or use it in any way in the application?


Android doesn't have official APIs to do so. You may end up in NDK, using third-party video codec library to decode a frame. Keep in mind that different video formats and codecs have different licenses.


Yes using the Camera.previewCallback you would implement the onPreviewFrame where you will receive the raw byte data for a single frame. This method will be called at your fps.


We have released our FREE SDK that will allow any application to record an OpenGL commands on Adnroid thus having very low overhead. Later the trace file with the commands can be converted to high resolution MPEG and posted to YouTube, we can even upscale the resolution to full 1080p since we have the commands and "in cloud renderer".

More info on the SDK: www.seemegaming.com

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜