开发者

Video frame capture

开发者 https://www.devze.com 2023-01-07 22:28 出处:网络
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, usin

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

精彩评论

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

关注公众号