---
title: sourceVideoFormat
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avoutputsettingsassistant/sourcevideoformat
---

# sourceVideoFormat

The format of the source video data.

## Declaration

```swift
var sourceVideoFormat: CMVideoFormatDescription? { get set }
```

## Discussion

Discussion The default value is nil, which means the assistant doesn’t know the video format. Setting a value for this property helps the assistant generate more complete video settings. After setting a value, requery the videoSettings property to get the latest values.

## See Also

### Configuring output settings

- [outputFileType](avfoundation/avoutputsettingsassistant/outputfiletype.md)
- [audioSettings](avfoundation/avoutputsettingsassistant/audiosettings.md)
- [sourceAudioFormat](avfoundation/avoutputsettingsassistant/sourceaudioformat.md)
- [videoSettings](avfoundation/avoutputsettingsassistant/videosettings.md)
- [sourceVideoMinFrameDuration](avfoundation/avoutputsettingsassistant/sourcevideominframeduration.md)
- [sourceVideoAverageFrameDuration](avfoundation/avoutputsettingsassistant/sourcevideoaverageframeduration.md)
