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
Asked
Active
Viewed 32 times
1 Answers
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.

Shai Almog
- 51,749
- 5
- 35
- 65
-
For the readers: I just published a CN1Lib that allows to do what I asked here, https://github.com/jsfan3/CN1Libs-VideoOptimizer – Francesco Galgani Oct 03 '19 at 00:40
-
This apparently does not work on the simulator – user1622343 May 04 '21 at 13:15