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


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


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


Returns number or error.


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


Query image and time:

Set Variable [ $a ; Value: MBS( "AVAsset.OpenFile"; "/Users/cs/Desktop/" ) ]
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 25th November 2017

AVAsset.Image - AVAsset.IsComposable