Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVFoundationMBS class.
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyKeywords as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyLocationISO6709 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyMake as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyModel as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyOriginalArtist as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyOriginalFormat as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyOriginalSource as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyPerformers as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyPhonogramRights as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyProducer as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyProduct as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyPublisher as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeySoftware as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeySpecialPlaybackRequirements as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyTaggedCharacteristic as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyTrack as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyTrackName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyURLLink as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyWarning as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVMetadataQuickTimeUserDataKeyWriter as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVNumberOfChannelsKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The number of channels expressed as an integer value.
Some examples using this method:
AVFoundationMBS.AVPlayerItemDidPlayToEndTimeNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The notification's object is the item that finished playing.
AVFoundationMBS.AVPlayerItemFailedToPlayToEndTimeErrorKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key to retrieve an error object (NSError) from the user info dictionary of an AVPlayerItemTimeJumpedNotification notification.
AVFoundationMBS.AVPlayerItemFailedToPlayToEndTimeNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The notification's object is the item that finished playing.
The user info dictionary contains an error object that describes the problem—seeAVPlayerItemFailedToPlayToEndTimeErrorKey.
AVFoundationMBS.AVPlayerItemNewAccessLogEntryNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Posted when a new access log entry has been added.
The notification's object is the player item. The new log entry is accessible via accessLog.
Available on Mac OS X 10.9 or later.
AVFoundationMBS.AVPlayerItemNewErrorLogEntryNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Posted when a new error log entry has been added.
The notification's object is the player item. The new log entry is accessible via errorLog, respectively.
Available on Mac OS X 10.9 or later.
AVFoundationMBS.AVPlayerItemPlaybackStalledNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Posted when some media did not arrive in time to continue playback.
The notification's object is the AVPlayerItem instance whose playback was unable to continue because the necessary media isn't available yet, usually because it didn't arrive in a timely fashion from its source over a network. Playback will continue once a sufficient amount of media has subsequently been delivered.
Available on Mac OS X 10.9 or later.
AVFoundationMBS.AVPlayerItemTimeJumpedNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The notification's object is the item.
AVFoundationMBS.AVSampleRateConverterAlgorithmKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Can be AVSampleRateConverterAlgorithm_Mastering or AVSampleRateConverterAlgorithm_Normal.
Available in OS X v10.9 and later.
AVFoundationMBS.AVSampleRateConverterAlgorithm_Mastering as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.9 and later.
AVFoundationMBS.AVSampleRateConverterAlgorithm_Normal as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.9 and later.
AVFoundationMBS.AVSampleRateConverterAudioQualityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Value is an integer value. See AVAudioQuality* constants.
AVFoundationMBS.AVSampleRateKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A sample rate, in hertz, expressed as an floating point value.
Some examples using this method:
AVFoundationMBS.AVStreamingKeyDeliveryContentKeyType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 21.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this UTI is "com.apple.streamingkeydelivery.contentkey".
AVFoundationMBS.AVStreamingKeyDeliveryPersistentContentKeyType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 21.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this UTI is "com.apple.streamingkeydelivery.persistentcontentkey".
AVFoundationMBS.AVTrackAssociationTypeAudioFallback as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An association from one audio track to another audio track. This constant indicates when one track contains the same content as another but in a more widely supported format. A player that does not support the format of the original track can use the "fallback" track instead.
For example, an asset may contain both stereo and a 5.1-channel audio tracks. In this case, marking the stereo track as the fallback for the 5.1-channel track would ensure that devices not capable of playing 5.1-channel audio can still play an equivalent track.
Available in OS X v10.9 and later.
AVFoundationMBS.AVTrackAssociationTypeChapterList as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An association from a track to another track containing chapter information, which may be a text track, a video track, or a timed metadata track.
Available in OS X v10.9 and later.
AVFoundationMBS.AVTrackAssociationTypeForcedSubtitlesOnly as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An association from one subtitle track, containing both forced and nonforced subtitles, to another subtitle track containing only forced subtitles for the same content.
Nonforced subtitles usually transcribe all "normal" dialogue in a media asset and are typically not presented by default. Forced subtitles are those that are essential for presentation even when normal subtitles are disabled (for example, when a character speaks in a language foreign to that of the audio track).
Available in OS X v10.9 and later.
AVFoundationMBS.AVTrackAssociationTypeSelectionFollower as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An association from one track to another specifying that when the user selects the first track, the second should be considered an appropriate default selection.
For example, a follower for an audio track could be a subtitle track in the same language. When the user chooses a language for audio, the subtitle language "follows" the audio language selection.
Available in OS X v10.9 and later.
AVFoundationMBS.AVTrackAssociationTypeTimecode as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An association from one track (of any type) to a timecode track containing timing information for the original track.
Available in OS X v10.9 and later.
AVFoundationMBS.AVURLAssetHTTPCookiesKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Standard cross-site policy still applies: cookies will only be sent to domains to which they apply.
By default, an AVURLAsset will only have access to cookies in the client's default cookie storage that apply to the AVURLAsset's URL. You can supplement the cookies available to the asset | via use of this initialization option |
HTTP cookies do not apply to non-HTTP(S) URLS.
In HLS, many HTTP requests (e.g., media, crypt key, variant index) might be issued to different paths or hosts.
In both of these cases, HTTP requests will be missing any cookies that do not apply to the AVURLAsset's URL.
This init option allows the AVURLAsset to use additional HTTP cookies for those HTTP(S) requests.
AVFoundationMBS.AVURLAssetPreferPreciseDurationAndTimingKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is a boolean, contained in an NSValue object, that indicates whether the asset should be prepared to indicate a precise duration and provide precise random access by time.
True indicates that longer loading times are acceptable in cases in which precise timing is required. Such precision, however, may require additional parsing of the resource in advance of operations that make use of any portion of it, depending on the specifics of its container format.
Many container formats provide sufficient summary information for precise timing and do not require additional parsing to prepare for it; QuickTime movie files and MPEG-4 files are examples of such formats. Other formats do not provide sufficient summary information, and precise random access for them is possible only after a preliminary examination of a file's contents.
If you only intend that the asset be played, the default value of false will suffice (because AVPlayer supports approximate random access by time when full precision isn't available). If you intend to insert the asset into an AVMutableComposition object, precise random access is typically desirable, and the value of true is recommended.
AVFoundationMBS.AVURLAssetReferenceRestrictionsKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is a number wrapping an "AVAssetReferenceRestrictions" enum value—or the logical combination of multiple such values—that indicates the restrictions used by the asset when resolving references to external media data.
Some assets can contain references to media data stored outside the asset's container file, for example in another file. This key can be used to specify a policy to use when these references are encountered. If an asset contains one or more references of a type that is forbidden by the reference restrictions, loading of asset properties will fail. In addition, such an asset cannot be used with other AVFoundation modules, such as AVPlayerItem or AVAssetExportSession.
AVFoundationMBS.AVVideoAverageBitRateKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies a key to access the average bit rate (as bits per second) used in encoding.
The corresponding value is a number.
Apple documentation says H.264 only.
Some examples using this method:
AVFoundationMBS.AVVideoCleanApertureHeightKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies a key to access the clean aperture height.
The corresponding value is a number.
AVFoundationMBS.AVVideoCleanApertureHorizontalOffsetKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies a key to access the clean aperture horizontal offset.
The corresponding value is a number.
AVFoundationMBS.AVVideoCleanApertureKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies a key to access the clean aperture.
The corresponding value is a dictionary.
AVFoundationMBS.AVVideoCleanApertureVerticalOffsetKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies a key to access the clean aperture vertical offset.
The corresponding value is a number.
AVFoundationMBS.AVVideoCleanApertureWidthKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies a key to access the clean aperture width.
The corresponding value is a number.
AVFoundationMBS.AVVideoCodecAppleProRes422 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies that the video was encoded using the ProRes 422 Standard Definition encoder.
Files are identified with the .apcn extension.
The items on this page are in the following plugins: MBS AVFoundation Plugin.
