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

# XAppCaptureVideoCaptureSettings

> XAppCaptureVideoCaptureSettings

GameDVR video capture settings, obtained from calling [XAppCaptureGetVideoCaptureSettings](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturegetvideocapturesettings.md).

## Syntax

```cpp theme={null}
struct XAppCaptureVideoCaptureSettings {
  uint32_t width;
  uint32_t height;
  uint64_t maxRecordTimespanDurationInMs;
  XAppCaptureVideoEncoding encoding;
  XAppCaptureVideoColorFormat colorFormat;
  bool isCaptureByGamesAllowed;
}
```

## Members

*width*\
Type: uint32\_t

The width of recordings.

*height*\
Type: uint32\_t

The height of recordings.

*maxRecordTimespanDurationInMs*\
Type: uint64\_t

The maximum recording duration in milliseconds.

*encoding*\
Type: XAppCaptureVideoEncoding

The encoding of recordings.

*colorFormat*\
Type: XAppCaptureVideoColorFormat

The color format of recordings.

*isCaptureByGamesAllowed*\
Type: bool

Indicates whether games are allowed to capture recordings.

## Requirements

**Header:** XAppCapture.h

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

## See also

[XAppCapture members](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)


## Related topics

- [XAppCaptureGetVideoCaptureSettings](https://docs.xbox.com/reference/system/xappcapture/functions/xappcapturegetvideocapturesettings.md)
- [XAppCapture (API contents)](https://docs.xbox.com/reference/system/xappcapture/xappcapture_members.md)
- [XAppCaptureVideoEncoding](https://docs.xbox.com/reference/system/xappcapture/enums/xappcapturevideoencoding.md)
- [XAppCaptureVideoColorFormat](https://docs.xbox.com/reference/system/xappcapture/enums/xappcapturevideocolorformat.md)
- [Video Capture (wdcapturesession.exe)](https://docs.xbox.com/tools/tools-pc/commandlinetools/gr-wdcapturesession.md)
