Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2    Statistic  

AVAsset.ImageActualTime

Queries actual time for image.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVAsset 6.5 Yes No Yes, macOS only No Yes

MBS( "AVAsset.ImageActualTime"; Asset )

Parameters

Parameter Description Example value
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


AVAsset.Image   -   AVAsset.IsComposable

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos