<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVVideoCodecType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@T@AVVideoCodecType"
  },
  "title" : "AVVideoCodecType"
}
-->

# AVVideoCodecType

A set of constants that describe the codecs the system supports for video capture.

```
struct AVVideoCodecType
```

## Topics

### Video codecs

[`AVVideoCodecTypeH264`](/documentation/AVFoundation/AVVideoCodecType/h264)

The H.264 video codec.

[`AVVideoCodecTypeHEVC`](/documentation/AVFoundation/AVVideoCodecType/hevc)

The HEVC video codec.

[`AVVideoCodecTypeHEVCWithAlpha`](/documentation/AVFoundation/AVVideoCodecType/hevcWithAlpha)

The HEVC video codec that supports an alpha channel.

[`AVVideoCodecTypeJPEG`](/documentation/AVFoundation/AVVideoCodecType/jpeg)

The JPEG video codec.

[`AVVideoCodecTypeJPEGXL`](/documentation/AVFoundation/AVVideoCodecType/JPEGXL)

The JPEG XL video codec.

[`AVVideoCodecTypeAppleProRes422`](/documentation/AVFoundation/AVVideoCodecType/proRes422)

The Apple ProRes 422 video codec.

[`AVVideoCodecTypeAppleProRes422LT`](/documentation/AVFoundation/AVVideoCodecType/proRes422LT)

The Apple ProRes 422 LT video codec.

[`AVVideoCodecTypeAppleProRes422HQ`](/documentation/AVFoundation/AVVideoCodecType/proRes422HQ)

The Apple ProRes 422 HQ video codec.

[`AVVideoCodecTypeAppleProRes422Proxy`](/documentation/AVFoundation/AVVideoCodecType/proRes422Proxy)

The Apple ProRes 422 Proxy video codec.

[`AVVideoCodecTypeAppleProRes4444`](/documentation/AVFoundation/AVVideoCodecType/proRes4444)

The Apple ProRes 4444 video codec.

[`AVVideoCodecTypeAppleProResRAW`](/documentation/AVFoundation/AVVideoCodecType/proResRAW)

[`AVVideoCodecTypeAppleProResRAWHQ`](/documentation/AVFoundation/AVVideoCodecType/proResRAWHQ)

[`AVVideoCodecTypeAppleProRes4444XQ`](/documentation/AVFoundation/AVVideoCodecType/appleProRes4444XQ)

The Apple ProRes 4444 XQ video codec.

### Deprecated

[`AVVideoCodecH264`](/documentation/AVFoundation/AVVideoCodecH264)

A key to access the name of the H.264 codec for compressing video.

[`AVVideoCodecHEVC`](/documentation/AVFoundation/AVVideoCodecHEVC)

A key to access the name of the HEVC codec used to encode the video.

[`AVVideoCodecJPEG`](/documentation/AVFoundation/AVVideoCodecJPEG)

A key to access the name of the JPEG codec for compressing video.

[`AVVideoCodecAppleProRes422`](/documentation/AVFoundation/AVVideoCodecAppleProRes422)

A key to access the name of the Apple ProRes422 codec used to encode the video.

[`AVVideoCodecAppleProRes4444`](/documentation/AVFoundation/AVVideoCodecAppleProRes4444)

A key to access the name of the Apple ProRes4444 codec used to encode the video.

### Initializers

[`init(rawValue:)`](/documentation/AVFoundation/AVVideoCodecType/init(rawValue:))

Creates a codec type from its raw string value.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)