From video to image in Codename One

扶醉桌前 提交于 2019-12-08 04:58:57

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/58052585/from-video-to-image-in-codename-one

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