<!--
{
  "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

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

The H.264 video codec.

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

The HEVC video codec.

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

The HEVC video codec that supports an alpha channel.

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

The JPEG video codec.

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

The JPEG XL video codec.

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

The Apple ProRes 422 video codec.

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

The Apple ProRes 422 LT video codec.

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

The Apple ProRes 422 HQ video codec.

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

The Apple ProRes 422 Proxy video codec.

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

The Apple ProRes 4444 video codec.

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

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

[`appleProRes4444XQ`](/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.



---

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)