Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVFoundationMBS class.
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 |
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 |
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 |
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 |
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:
- /AVFoundation/Live Barcode Detection
- /AVFoundation/Live Barcode Detection iOS/Live Barcode Detection iOS
- /AVFoundation/Live Barcode Detection with Vision/Live Barcode Detection with Vision
- /AVFoundation/Live picture processing
- /AVFoundation/Make Video From Images
- /AVFoundation/Make Video From Images with transparency
- /AVFoundation/SDAVAssetExportSessionMBS test
- /AVFoundation/Still Photos
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
The items on this page are in the following plugins: MBS AVFoundation Plugin.