|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundation||MBS AVFoundation Plugin||14.0||Yes||No||No||Yes, macOS only||No|
A class, each instance of which specifies a set of parameters for configuring objects that use output settings dictionaries, for example AVAssetWriter & AVAssetWriterInput, so that the resulting media file conforms to some specific criteria.
Instances of AVOutputSettingsAssistant are typically created using a string constant representing a specific preset configuration, such as AVOutputSettingsPreset1280x720. Once you have an instance, its properties can be used as a guide for creating and configuring an AVAssetWriter object and one or more AVAssetWriterInput objects. If all the suggested properties are respected, the resulting media file will conform to the criteria implied by the preset. Alternatively, the properties of an instance can be used as a "base" configuration which can be customized to suit your individual needs.
The recommendations made by an instance get better as you tell it more about the format of your source data. For example, if you set the sourceVideoFormat property, the recommendation made by the videoSettings property will ensure that your video frames are not scaled up from a smaller size.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 4 properties
- method Constructor
- 6 shared methods
- shared method available as boolean
- shared method AVOutputSettingsPreset1280x720 as string
- shared method AVOutputSettingsPreset1920x1080 as string
- shared method AVOutputSettingsPreset640x480 as string
- shared method AVOutputSettingsPreset960x540 as string
- shared method outputSettingsAssistantWithPreset(presetIdentifier as string) as AVOutputSettingsAssistantMBS
This class has no sub classes.
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo Chart Plugins