<!--
{
  "availability" : [
    "iOS: 17.2.0 -",
    "iPadOS: 17.2.0 -",
    "macCatalyst: 17.2.0 -",
    "macOS: 14.2.0 -",
    "tvOS: 17.2.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/CMTagCollectionCreateWithVideoOutputPreset",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@F@CMTagCollectionCreateWithVideoOutputPreset"
  },
  "title" : "CMTagCollectionCreateWithVideoOutputPreset"
}
-->

# CMTagCollectionCreateWithVideoOutputPreset

Creates a collection with the required tags to describe the specified video output requirements.

```
extern OSStatus CMTagCollectionCreateWithVideoOutputPreset(CFAllocatorRef allocator, CMTagCollectionVideoOutputPreset preset, CMTagCollectionRef*newCollectionOut);
```

## Parameters

`allocator`

An allocator to use to create the collection and internal data structures.

`preset`

A preset that indicates the desired output type.

`newCollectionOut`

The address of the newly created tag collection.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)