Partager via


XAppCaptureRecordClipResult

Captured video clip and descriptive information.

Syntax

typedef struct XAppCaptureRecordClipResult {  
    char path[MAX_PATH];  
    size_t fileSize;  
    time_t startTime;  
    uint32_t durationInMs;  
    uint32_t width;  
    uint32_t height;  
    XAppCaptureVideoEncoding encoding;  
} XAppCaptureRecordClipResult  

Members

path
Type: char[MAX_PATH]

Path to the captured video.

fileSize
Type: size_t

Size of the captured video clip.

startTime
Type: time_t

Start time of the captured video clip.

durationInMs
Type: uint32_t

Duration of the recorded video clip in milliseconds.

width
Type: uint32_t

Width of the recorded clip measured in pixels.

height
Type: uint32_t

Height of the recorded clip measured in pixels.

encoding
Type: XAppCaptureVideoEncoding

Video encoding format for the recorded clip.

Remarks

This struct describes and provides access to the recorded clip made with XAppCaptureRecordDiagnosticClip. The recorded clip is saved in the same partition as the game so it can be accessed using the path parameter instead of needing to open a stream. This recorded clip does not behave as it if was taken by a user and will not be stored with a users recorded game clips.

Requirements

Header: XAppCapture.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

GameDVR Overview
XAppCapture Members
XAppCaptureRecordDiagnosticClip