Hi there,
Do you know of any possible way how to grab a still image from a video? My app enables people to transfer videos on to their mobile device and then load them in to a folder within the special folders path. I would like the user to see a preview image of the video by taking the first frame, or any other frame of the video and save it as still preview image. Can this be done somehow?
Thanks and kind regards,
Chris
Grab a still image from a video
Moderators: LCNeil, heatherlaine, kevinmiller, elanorb
Re: Grab a still image from a video
Hi Chris,
Due to the way that a native mobile player object is created on a LiveCode stack, there is no way to take a snapshot of the video for use as a thumbnail. (mobile controls are created on a separate top layer which cannot be adjusted)
What you would have to do is pre-generate the thumbnails (e.g. via a paint program or via a LiveCode desktop stack) and then apply these thumbnails via script within your mobile app.
Another option is to allow the user to pick videos from their library via montes mergAV external0
http://mergext.com/home/mergav/
His external also seems to allow the creation of video thumbnails via the mergAVVideoThumbnail function.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
LiveCode – Realize fast, compile-free coding
--
Due to the way that a native mobile player object is created on a LiveCode stack, there is no way to take a snapshot of the video for use as a thumbnail. (mobile controls are created on a separate top layer which cannot be adjusted)
What you would have to do is pre-generate the thumbnails (e.g. via a paint program or via a LiveCode desktop stack) and then apply these thumbnails via script within your mobile app.
Another option is to allow the user to pick videos from their library via montes mergAV external0
http://mergext.com/home/mergav/
His external also seems to allow the creation of video thumbnails via the mergAVVideoThumbnail function.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
LiveCode – Realize fast, compile-free coding
--