Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVAssetWriterInputMBS class.
AVAssetWriterInputMBS.expectsMediaDataInRealTime as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If you are appending media data to an input from a real-time source, such as an AVCaptureOutput, you should set expectsMediaDataInRealTime to true. This will ensure that readyForMoreMediaData is calculated appropriately for real-time usage.
(Read and Write property)
Some examples using this property:
AVAssetWriterInputMBS.extendedLanguageTag as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value is specified as an RFC 4646 language tag; can be nil in which case no tag is written to the track.
Extended language tags are normally set only when an ISO 639-2/T language code by itself is ambiguous, as in cases in which media data should be distinguished not only by language but also by the regional dialect in use or the writing system employed.
Available in OS X v10.9 and later.
(Read and Write property)
AVAssetWriterInputMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
AVAssetWriterInputMBS.isReadyForMoreMediaData as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property is observable using key-value observing (see Key-Value Observing Programming Guide). Observers should not assume that they will be notified of changes on a specific thread.
(Read only property)
AVAssetWriterInputMBS.languageCode as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value is specified as an ISO 639-2/T language code; can be nil in which case no language code is written to the track..
Available in OS X v10.9 and later.
(Read and Write property)
AVAssetWriterInputMBS.marksOutputTrackAsEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
For file types that support enabled and disabled tracks, such as QuickTime Movie files, specifies whether the track corresponding to the receiver should be enabled by default for playback and processing.
The default value is true.
Available in OS X v10.9 and later.
(Read and Write property)
AVAssetWriterInputMBS.mediaTimeScale as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
For file types that support media time scales, such as QuickTime Movie files, specifies the media time scale to be used.
The default value is 0, which indicates that you should choose a convenient value, if applicable.
You cannot set this property after writing has started.
(Read and Write property)
AVAssetWriterInputMBS.mediaType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this property is one of the media type strings defined in AVMediaFormat.
(Read only property)
AVAssetWriterInputMBS.naturalSize as CGSizeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the default value, (0,0), is specified, the naturalSize of the track corresponding to the receiver is set according to dimensions indicated by the format descriptions that are ultimately written to the output track.
Note: This property cannot be set after writing on the receiver's AVAssetWriter has started.
Available in OS X v10.9 and later.
(Read only property)
AVAssetWriterInputMBS.preferredVolume as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value for this property should typically be in the range of 0.0 to 1.0.
The default value is 1.0, which is equivalent to a "normal" volume level.
Note: This property cannot be set after writing on the receiver's AVAssetWriter has started.
Available in OS X v10.9 and later.
(Read and Write property)
The items on this page are in the following plugins: MBS AVFoundation Plugin.