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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

AVAsset.TimeCodes

Reads time codes from asset.

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

MBS( "AVAsset.TimeCodes"; 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 text or error.

Description

Reads time codes from asset.
Returns list of timecodes in format HH:MM:SS:FF.

Examples

Read time codes from a mov file:

Set Variable [$asset; Value:MBS("AVAsset.OpenFile"; "/Users/cs/Downloads/test.MOV")]
Set Variable [$timecode; Value:MBS("AVAsset.TimeCodes"; $asset)]
Set Variable [$r; Value:MBS("AVAsset.Release"; $asset)]
Set Field [test::timecodes; $timecode]

See also


AVAsset.RequestImageTimePrecision   -   AVAsset.TrackCount

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins