Getting a framegrab of the video in a player
selander at tkf.att.ne.jp
Sat May 28 09:33:07 EDT 2016
Found the old stack!
FWIW, assuming some future person needs the same thing,
export snapshot from player 1 to file (variable for path) &
the currenttime of player 1 & ".jpg" as JPEG
And then I re-imported the jpeg into a datagrid....
On 2016.05.28, 22:01, Paul Dupuis wrote:
> On 5/28/2016 8:46 AM, Tim Selander wrote:
>> Once upon a time I am almost positive that I could grab a screenshot
>> of the current video frame in a player, and paste it into a scrolling
>> But I've forgotten how, and no scouring of the dictionary or google
>> help. Can anyone tell me how it's done?
>> many thanks.
> The only way I have found is using "export snapshot" from the player
> object. You first want to lock the screen and hide the controller though
> so you only get the current frame. if the player border is an issue, use
> the 'from rect' form of export snapshot with the player's rect less the
> borderWidth on all sides.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode