Francesco Galgani
Francesco Galgani

Reputation: 6249

From video to image in Codename One

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

Upvotes: 1

Views: 32

Answers (1)

Shai Almog
Shai Almog

Reputation: 52770

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.

Upvotes: 1

Related Questions