Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAssetReaderTrackOutputMBS class.

AVAssetReaderTrackOutputMBS.audioTimePitchAlgorithm as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The processing algorithm used to manage audio pitch for scaled audio edits.

The supported constants are defined in Time Pitch Algorithm Settings.
An NSInvalidArgumentException will be raised if this property is set to a value other than the defined constants.
Available in OS X v10.9 and later.
(Read and Write computed property)

AVAssetReaderTrackOutputMBS.Constructor(track as AVAssetTrackMBS, outputSettings as dictionary)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes an asset reader to wrap a specified track, with optional output settings.

track: The track from which the reader should source sample buffers.
outputSettings: A dictionary of output settings to be used for sample output. Pass nil to receive samples as stored in the track.
You use keys from one of AVAudioSettings.h, AVVideoSettings.h, or <CoreVideo/CVPixelBuffer.h>, depending on the media type and the output format you want.
Initialization fails if the output settings cannot be used with the specified track.
Those keys are available in AVFoundationMBS class.

AVAssetReaderTrackOutputMBS.outputSettings as dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The output settings used by the output. (read-only)

The value is a dictionary that contains values for keys from either AVAudioSettings.h (linear PCM only) for audio tracks or <CoreVideo/CVPixelBuffer.h> for video tracks. A value of nil indicates that the output will return samples in their original format as stored in the target track.
Those keys are available in AVFoundationMBS class.

AVAssetReaderTrackOutputMBS.track as AVAssetTrackMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The track from which the receiver reads sample buffers. (read-only)

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


The biggest plugin in space...