> ## 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.

# XAppCaptureVideoCaptureSettings

> XAppCaptureVideoCaptureSettings

# XAppCaptureVideoCaptureSettings

GameDVR video capture settings, obtained from calling [XAppCaptureGetVideoCaptureSettings](/reference/system/xappcapture/functions/xappcapturegetvideocapturesettings).

## 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](/reference/system/xappcapture/xappcapture_members)


## Related topics

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