Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

AVAsset.ImageActualTime

Queries actual time for image.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 6.5 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.ImageActualTime"; Asset )   More

Parameters

Parameter Description Example
Asset The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. $asset

Result

Returns number or error.

Description

Queries actual time for image.
After a call to AVAsset.Image, this returns the time of the picture you got.
Returns number of seconds.

Examples

Query image and time:

Set Variable [ $a ; Value: MBS( "AVAsset.OpenFile"; "/Users/cs/Desktop/Trampolin.mov" ) ]
Set Field [ test::Image ; MBS( "AVAsset.Image"; $a; 5; "JPEG"; "frame.jpg" ) ]
Show Custom Dialog [ "Image requested at 5 seconds and got image from:" ; MBS( "AVAsset.ImageActualTime"; $a ) ]
Set Variable [ $r ; Value: MBS( "AVAsset.Release"; $a ) ]

See also

Blog Entries

This function checks for a license.

Created 20th October 2016, last changed 19th July 2024


AVAsset.Image - AVAsset.IsComposable