Returns a video settings dictionary appropriate for capturing video to be recorded to a file with the specified codec and type.
- iOS 11.0+
- macOS 10.15+
- Mac Catalyst 13.0+
The video codec type to be written.
The Uniform Type Identifier of the file type to be written. See File Format UTIs for supported types.
A fully populated dictionary of keys and values that are compatible with
For QuickTime movie and ISO file types, the recommended video settings produce output comparable to that of
Note that the dictionary of settings is dependent on the current configuration of the output’s
AVCapture and its inputs. The settings dictionary may change if the session’s configuration changes. As such, configure your session first, then query the recommended video settings.