Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVFoundationMBS class.

Previous items

AVFoundationMBS.AVVideoCodecAppleProRes4444 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies that the video was encoded using the Apple ProRes 4444 encoder.
Files are identified with the .ap4h extension.

Some examples using this method:

AVFoundationMBS.AVVideoCodecH264 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies that the video was encoded using H264.

Some examples using this method:

AVFoundationMBS.AVVideoCodecJPEG as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies that the video was encoded using the JPEG encoder.

Some examples using this method:

AVFoundationMBS.AVVideoCodecKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the name of the codec used to encode the video.
The corresponding value is a string; equivalent to CMVideoCodecType.

Some examples using this method:

AVFoundationMBS.AVVideoCodecTypeAppleProRes422 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values used to describe codecs for video capture.

The Apple ProRes422 video codec.

AVFoundationMBS.AVVideoCodecTypeAppleProRes4444 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values used to describe codecs for video capture.

The Apple ProRes4444 video codec.

AVFoundationMBS.AVVideoCodecTypeH264 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values used to describe codecs for video capture.

The H.264 video codec.

AVFoundationMBS.AVVideoCodecTypeHEVC as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values used to describe codecs for video capture.

The HEVC video codec.

AVFoundationMBS.AVVideoCodecTypeJPEG as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values used to describe codecs for video capture.

The JPEG video codec.

AVFoundationMBS.AVVideoColorPrimariesKey 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 identify color primaries in a color properties dictionary.

AVFoundationMBS.AVVideoColorPrimaries_EBU_3213 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoColorPrimariesKey.

AVFoundationMBS.AVVideoColorPrimaries_ITU_R_709_2 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoColorPrimariesKey.

AVFoundationMBS.AVVideoColorPrimaries_SMPTE_C as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoColorPrimariesKey.

AVFoundationMBS.AVVideoColorPropertiesKey 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 for a dictionary that contains properties specifying video color.

The dictionary must contain the keys AVVideoColorPrimariesKey, AVVideoTransferFunctionKey, and AVVideoYCbCrMatrixKey.

AVFoundationMBS.AVVideoCompressionPropertiesKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the compression properties.
The corresponding value is a Dictionary.

Some examples using this method:

AVFoundationMBS.AVVideoHeightKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the height of the video in pixels.
The corresponding value is a number.

Some examples using this method:

AVFoundationMBS.AVVideoMaxKeyFrameIntervalDurationKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Number (1 means key frames only, H.264 only)

AVFoundationMBS.AVVideoMaxKeyFrameIntervalKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the maximum interval between key frames.
The corresponding value is a number. 1 means key frames only.

AVFoundationMBS.AVVideoPixelAspectRatioHorizontalSpacingKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the pixel aspect ratio horizontal spacing.
The corresponding value is a number.

AVFoundationMBS.AVVideoPixelAspectRatioKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the pixel aspect ratio.
The corresponding value is a dictionary.

AVFoundationMBS.AVVideoPixelAspectRatioVerticalSpacingKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the pixel aspect ratio vertical spacing.
The corresponding value is a number.

AVFoundationMBS.AVVideoProfileLevelH264Baseline30 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a baseline level 3.0 profile.
Available in OS X v10.8 and later.

AVFoundationMBS.AVVideoProfileLevelH264Baseline31 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a baseline level 3.1 profile.
Available in OS X v10.8 and later.

AVFoundationMBS.AVVideoProfileLevelH264Baseline41 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a baseline level 4.1 profile.
Available in OS X v10.8 and later.

AVFoundationMBS.AVVideoProfileLevelH264BaselineAutoLevel as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Baseline Profile Auto Level.
Available on Mac OS X 10.9.

AVFoundationMBS.AVVideoProfileLevelH264High40 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

High Profile Level 4.0
Available on Mac OS X 10.9.

Some examples using this method:

AVFoundationMBS.AVVideoProfileLevelH264High41 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

High Profile Level 4.1
Available on Mac OS X 10.9.

AVFoundationMBS.AVVideoProfileLevelH264HighAutoLevel as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

High Profile Auto Level
Available on Mac OS X 10.9.

AVFoundationMBS.AVVideoProfileLevelH264Main30 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a main level 3.0 profile.
Available in OS X v10.8 and later.

AVFoundationMBS.AVVideoProfileLevelH264Main31 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a main level 3.1 profile.
Available in OS X v10.8 and later.

AVFoundationMBS.AVVideoProfileLevelH264Main32 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a main level 3.2 profile.
Available in OS X v10.8 and later.

AVFoundationMBS.AVVideoProfileLevelH264Main41 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a main level 4.2 profile.
Available in OS X v10.8 and later.

AVFoundationMBS.AVVideoProfileLevelH264MainAutoLevel as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Main Profile Auto Level
Available on Mac OS X 10.9.

AVFoundationMBS.AVVideoProfileLevelKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the video profile.
Available in OS X v10.8 and later.

Some examples using this method:

AVFoundationMBS.AVVideoQualityKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the JPEG coded quality.
The corresponding value is a number 0.0-1.0.

JPEG and HEIC only. With HEIC, 1.0 indicates lossless compression

AVFoundationMBS.AVVideoScalingModeFit as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants to specify how video should be scaled to fit a given area.

Crop to remove edge processing region; preserve aspect ratio of cropped source by reducing specified width or height if necessary.
This mode does not scale a small source up to larger dimensions.

AVFoundationMBS.AVVideoScalingModeKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants to specify how video should be scaled to fit a given area.

A key to retrieve the video scaling mode from a dictionary.

AVFoundationMBS.AVVideoScalingModeResize as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants to specify how video should be scaled to fit a given area.

Crop to remove edge processing region; scale remainder to destination area.
This mode does not preserve the aspect ratio.

AVFoundationMBS.AVVideoScalingModeResizeAspect as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants to specify how video should be scaled to fit a given area.

Preserve aspect ratio of the source, and fill remaining areas with black to fit destination dimensions.

AVFoundationMBS.AVVideoScalingModeResizeAspectFill as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants to specify how video should be scaled to fit a given area.

Preserve aspect ratio of the source, and crop picture to fit destination dimensions.

AVFoundationMBS.AVVideoTransferFunctionKey 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 identify the transfer function in a color properties dictionary.

AVFoundationMBS.AVVideoTransferFunction_ITU_R_709_2 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoTransferFunctionKey.

AVFoundationMBS.AVVideoTransferFunction_SMPTE_240M_1995 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoTransferFunctionKey.

AVFoundationMBS.AVVideoWidthKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the dictionary with video settings.

Specifies a key to access the width of the video in pixels.
The corresponding value is a number.

Some examples using this method:

AVFoundationMBS.AVVideoYCbCrMatrixKey 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 identify the Y'CbCr matrix in a color properties dictionary.

AVFoundationMBS.AVVideoYCbCrMatrix_ITU_R_601_4 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoYCbCrMatrixKey.

AVFoundationMBS.AVVideoYCbCrMatrix_ITU_R_709_2 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoYCbCrMatrixKey.

AVFoundationMBS.AVVideoYCbCrMatrix_SMPTE_240M_1995 as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values to use with AVVideoYCbCrMatrixKey.

AVFoundationMBS.WriteCGImageToFile(File as FolderItem, Type as String, Image as Variant, options as Dictionary = nil, tag as Variant = nil) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Writes a CGImage to a file on disk on another thread.

Image must be a CGImageMBS.

If this method returns true (parameters are correct), it starts the compression and writing of the image on a helper thread and later calls WriteCGImageToFileCompleted event to inform you about success or failure.
Returns false in case of bad parameters.

Tag is the value you passed when calling the original method.

Previous items

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


The biggest plugin in space...