---
title: requiredMetadataObjectTypesForCinematicVideoCapture
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturemetadataoutput/requiredmetadataobjecttypesforcinematicvideocapture
---

# requiredMetadataObjectTypesForCinematicVideoCapture

The required metadata object types when Cinematic Video capture is enabled.

## Declaration

```swift
var requiredMetadataObjectTypesForCinematicVideoCapture: [AVMetadataObject.ObjectType] { get }
```

## Discussion

Discussion Since the Cinematic Video algorithm requires a particular set of metadata objects to function optimally, you must set your metadataObjectTypes property to this property’s returned value if you’ve set isCinematicVideoCaptureEnabled to true on the connected device input, otherwise an NSInvalidArgumentException is thrown.

## See Also

### Configuring metadata capture

- [availableMetadataObjectTypes](avfoundation/avcapturemetadataoutput/availablemetadataobjecttypes.md)
- [metadataObjectTypes](avfoundation/avcapturemetadataoutput/metadataobjecttypes.md)
- [rectOfInterest](avfoundation/avcapturemetadataoutput/rectofinterest.md)
