MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

AVMovieTrackMBS class

Super class: AVAssetTrackMBS

class, AVMovie, MBS AVFoundation Plugin (AVMovie), class AVMovieTrackMBS,
Plugin version: 16.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

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.

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