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

AVAsset.TimeCodes

Reads time codes from asset.

Component Version macOS Windows Linux Server iOS SDK
AVAsset 5.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "AVAsset.TimeCodes"; 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 text or error.

Description

Reads time codes from asset.
Returns list of time codes 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

Blog Entries

This function checks for a license.

Created 7th October 2015, last changed 6th June 2020


AVAsset.RequestImageTimePrecision - AVAsset.TrackCount