> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XAppCaptureVideoEncoding

> XAppCaptureVideoEncoding

# XAppCaptureVideoEncoding

Determines the video encoding type video capture.

## Syntax

```cpp theme={null}
enum class XAppCaptureVideoEncoding  : uint8_t  
{  
    H264 = 0,  
    HEVC = 1  
}  
```

## Constants

| Constant | Description                                                           |
| -------- | --------------------------------------------------------------------- |
| H264     | H.264 video encoding also known as MPEG-4 AVC                         |
| HEVC     | H.265 video encoding also know as High Efficiency Video Coding (HEVC) |

## Remarks

Member of [XAppCaptureRecordClipResult](/reference/system/xappcapture/structs/xappcapturerecordclipresult). H.264 (also known as AVC - Advanced Video Coding) is an industry standard for video compression that allows for the recording, compression, and distribution of digital video content. H.265 (also known as HEVC - High Efficiency Video Coding) is a more advanced version, which allows for further reduced file size, and therefore a reduction in required bandwidth for streaming.

## Requirements

**Header:** XAppCapture.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[GameDVR Overview](/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture Members](/reference/system/xappcapture/xappcapture_members)\
[XAppCaptureRecordClipResult](/reference/system/xappcapture/structs/xappcapturerecordclipresult)


## Related topics

- [XAppCaptureVideoCaptureSettings](/reference/system/xappcapture/structs/xappcapturevideocapturesettings.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureRecordClipResult](/reference/system/xappcapture/structs/xappcapturerecordclipresult.md)
- [XAppCaptureUserRecordingResult](/reference/system/xappcapture/structs/xappcaptureuserrecordingresult.md)
- [XAppCaptureLocalResult](/reference/system/xappcapture/structs/xappcapturelocalresult.md)
