Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVAssetReaderTrackOutputMBS class.
AVAssetReaderTrackOutputMBS.assetReaderTrackOutputWithTrack(track as AVAssetTrackMBS, outputSettings as dictionary) as AVAssetReaderTrackOutputMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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.
The items on this page are in the following plugins: MBS AVFoundation Plugin.