Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVAssetReaderVideoCompositionOutputMBS class.
AVAssetReaderVideoCompositionOutputMBS.assetReaderVideoCompositionOutputWithVideoTracks(videoTracks() as AVAssetTrackMBS, videoSettings as dictionary) as AVAssetReaderVideoCompositionOutputMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
videoTracks: An array of AVAssetTrack objects from which the created object should read video frames for compositing.
It is an error to include tracks of media types other than AVMediaTypeVideo.
videoSettings: A dictionary of video settings to be used for sample output, or nil if you want to receive decoded samples in a convenient uncompressed format, with properties determined according to the properties of the specified video tracks.
You use keys from <CoreVideo/CVPixelBuffer.h>, depending on the output format you want.
Initialization will fail if the video settings cannot be used with the specified video tracks.
Return san instance of AVAssetReaderVideoCompositionOutput wrapping videoTracks, using the settings specified by videoSettings, or nil if initialization failed.
The items on this page are in the following plugins: MBS AVFoundation Plugin.