Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVFoundationMBS class.

Previous items

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.


💬 Ask a question or report a problem
The biggest plugin in space...