Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

AVMovieTrackMBS class

Super class: AVAssetTrackMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVMovie MBS AVFoundation Plugin 16.0 Yes No No Yes, macOS only No
Function: AVMovieTrack represents the tracks of audiovisual containers in a file that conforms to the QuickTime movie file format or to one of the related ISO base media file formats (such as MPEG-4).
dim f as FolderItem = SpecialFolder.Desktop.Child("test.m4v")
dim m as new AVMovieMBS(f, nil)

dim videotracks() as AVMovieTrackMBS = m.movieTracksWithMediaCharacteristic(AVFoundationMBS.AVMediaCharacteristicFrameBased)

for each videotrack as AVMovieTrackMBS in videotracks
dim s as CGSizeMBS = videotrack.naturalSize
MsgBox str(s.Width)+" x "+ str(s.Height)
Subclass of the AVAssetTrackMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Super class AVAssetTrackMBS

Load Status Constants

Constant Value Description
AVKeyValueStatusCancelled 4 Indicates that the attempt to load the property was cancelled.
AVKeyValueStatusFailed 3 Indicates that the attempt to load the property failed.
AVKeyValueStatusLoaded 2 Indicates that the property is ready for use.
AVKeyValueStatusLoading 1 Indicates that the property is not fully loaded.
AVKeyValueStatusUnknown 0 Indicates that the property status is unknown.

Sub classes:

Some methods using this class:

The items on this page are in the following plugins: MBS AVFoundation Plugin.

AVMovieMBS   -   AVMutableAudioMixInputParametersMBS

MBS Xojo Plugins