XtfCaptureRecordedGameClip
Retrieves a video clip from the GameDVR of the currently running game.Syntax
Parameters
addressType: PCWSTR [in] The IP address of the console. fullFileName
Type: PCWSTR [in] The full path and filename of the file to which the video will be written. numSeconds
Type: UINT32 [in] The number of seconds of video to retrieve. Minimum value is 6 seconds. Maximum value is 300 seconds.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an error code. Possible error codes include the following:
Remarks
While a game is running, the console automatically stores up to 300 seconds of video in a FIFO video buffer.XtfCaptureRecordedGameClip retrieves the specified amount of previously stored video from the buffer and stores it in the file specified in fullFileName. The file is saved in the MP4 video format. For more information about using GameDVR for capturing video clips, see GameDVR and broadcasting.
Requirements
Header: xtfapi.h Library: XtfApi.lib Supported platforms: Windows (for XBOX console tools)See also
XtfCaptureScreenshotXTF Transport Errors (NDA topic)
Additional Xtf APIs
