Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AVMutableVideoCompositionInstructionMBS.backgroundColor as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: The background color of the composition.
Notes:
Value must be CGColorMBS.
Only solid BGRA colors are supported; patterns and other supported colors are ignored. If the rendered pixel buffer does not have alpha, the alpha value of the background color is ignored.

If the background color is nil, the video compositor uses a default background color of opaque black.
(Read and Write computed property)

Feedback, Comments & Corrections

AVMutableVideoCompositionInstructionMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: The constructor.

See also:

Feedback, Comments & Corrections

AVMutableVideoCompositionInstructionMBS.Constructor(other as AVVideoCompositionInstructionMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 15.1 Yes No No Yes, macOS only No
Function: The copy constructor to initialize with a mutable copy of the given object.

See also:

Feedback, Comments & Corrections

AVMutableVideoCompositionInstructionMBS.enablePostProcessing as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: Indicates whether post processing is required for the video composition instruction.
Notes:
If no post processing is required for the whole duration of the video composition instruction, set this property to false to make the composition process more efficient.

The value is true by default.
(Read and Write computed property)

Feedback, Comments & Corrections

AVMutableVideoCompositionInstructionMBS.layerInstructions as AVVideoCompositionLayerInstructionMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: An array of instances of AVVideoCompositionLayerInstruction that specify how video frames from source tracks should be layered and composed.
Notes:
Tracks are layered in the composition according to the top-to-bottom order of the layerInstructions array; the track with trackID of the first instruction in the array will be layered on top, with the track with the trackID of the second instruction immediately underneath, and so on.

If the property value is nil, the output is a fill of the background color.

Feedback, Comments & Corrections

AVMutableVideoCompositionInstructionMBS.setLayerInstructions(items() as AVVideoCompositionLayerInstructionMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: Sets an array of instances of AVVideoCompositionLayerInstruction that specify how video frames from source tracks should be layered and composed.
Notes:
Tracks are layered in the composition according to the top-to-bottom order of the layerInstructions array; the track with trackID of the first instruction in the array will be layered on top, with the track with the trackID of the second instruction immediately underneath, and so on.

If the property value is nil, the output is a fill of the background color.

Feedback, Comments & Corrections

AVMutableVideoCompositionInstructionMBS.timeRange as CMTimeRangeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: The time range during which the instruction is effective.
Notes:
If the time range is invalid, the video compositor will ignore it.
(Read and Write computed property)

Feedback, Comments & Corrections

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





Links
MBS Xojo Plugins