以代号One的视频到图像 [英] From video to image in Codename One

查看:40
本文介绍了以代号One的视频到图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

鉴于从图库中拍摄的视频(设备支持的任意长度的视频),我如何将第一帧提取为EncodedImage?谢谢

Given a video (of arbitrary lenght in a format supported by the device) taken from the gallery, how can I extract the first frame as an EncodedImage? Thank you

推荐答案

现在唯一的方法是通过本机代码.从历史上看,某些平台不支持抓取视频帧,并且在过去的7年中我们没有对此进行重新讨论.您可以对此提交RFE,但由于媒体很痛苦,现在我不确定何时开始实施RFE.

Right now the only way to do that is through native code. Historically some platforms didn't support grabbing a video frame and we didn't revisit that over the past 7 years. You can file an RFE on this but right now I'm not sure when we'll get around to implementing it as media is painful.

这篇关于以代号One的视频到图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆