AVOutputSettingsAssistant
An object that builds audio and video output settings dictionaries.
Declaration
class AVOutputSettingsAssistantOverview
Use an output settings assistant to create the audio and video settings that you use to configure instances of AVAssetWriter and AVAssetWriterInput. You create an assistant with a specific preset configuration, such as hevc3840x2160WithAlpha or preset1920x1080. You can accept the settings dictionaries as is to generate a file that conforms to the criteria that the preset implies. You may also use the dictionaries it generates as a base configuration that you can customize as you require.
Providing the assistant additional details about your source media helps it generate more complete results. For example, setting a value for its sourceVideoFormat property ensures that the assistant generates settings that don’t scale up video frames from a smaller size.
Topics
Creating an assistant
Configuring output settings
See Also
Media writing
Converting projected video to Apple Projected Media ProfileConverting side-by-side 3D video to multiview HEVC and spatial videoAdding a display mask rectangle metadata track to a movie fileWriting fragmented MPEG-4 files for HTTP Live StreamingCreating spatial photos and videos with spatial metadataTagging media with video color informationEvaluating an app’s video colorAVAssetWriterAVAssetWriterInputAVAssetWriterInputPixelBufferAdaptorAVAssetWriterInputTaggedPixelBufferGroupAdaptorAVAssetWriterInputMetadataAdaptorAVAssetWriterInputGroup