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

# XBOX console video server

> How to use the XBOX console video server to share H264 or HEVC video and stereo AAC audio over an RTSP stream to third-party capture and analysis tools.

This topic describes how the XBOX console's video server can be used to share video and audio to third-party tools; this capability supplements the XBOX Manager Remote Control feature. The video server generates an industry-standard RTSP stream that can be consumed by other tools. The video stream is either H264 1080p\@30 or HEVC 4k\@60, and the audio stream is always stereo AAC.

## VLC Media Player

This tool has excellent RTSP support. To view a console in it, go to **Media** > **Open Network Stream**, and in the **Open Media** window, open the **Network** tab and specify a URI of the following form:

* rtsp\://consolename:11442/video/live
* rtsp\://consolename:11442/video/live4k

VLC will default to using the UDP transport. However, if the network configuration does not support UDP, VLC will fall back to TCP after 10 seconds.

To reduce the maximum packet size, use [xbconfig.exe](/tools/tools-console/commandlinetools/xbconfig) to set `VideoServerMaxPacketSize` from its default value of 1300 bytes to a value from 500 to 1400 bytes.

## ffmpeg

Use this tool or its open-source version [ffmpeg  tool](https://ffmpeg.org/) to capture audio and video streams from the console directly to a file.

For example, to capture a 30-second sequence from an XBOX console to a file named *test.mp4*, you would use the following command:

`ffmpeg.exe -y -t 30 -i rtsp://consolename:11442/video/live -acodec copy -vcodec copy test.mp4`

We recommend adding -rtsp\_transport tcp to the command line to help ensure a successful connection since ffmpeg defaults to RTSP over UDP which may not be compatible with all network types.

<Note>To improve audio sync for some video readers, avoid using the `-avoid_negative_ts make_zero` flag option on ffmpeg.</Note>

## OBS Studio

The remote video stream from a console can be turned into a camera in OBS. This allows broadcasting to multiple users and recording multiple consoles simultaneously, for example, for multiplayer. To create a "console camera", do this:

1. Click **+** underneath the **OBS Sources** window.
2. Click **Media Source**.
3. Create **New**, name it after the console (or anything else), and click **OK**.
4. Clear the **Local File** option.
5. Clear **Restart playback**.
6. Select **Use hardware decoding when available**. This is optional but recommended.
7. In the **Input** field, enter rtsp\://consolename:11442/video/live or a similar URL.
8. Click **OK**.

Your console is now just another source device in OBS.

<Note>ffmpeg and OBS now require the IPv6 address of a console to work with our RTSP server. On some networks or over a VPN it may be necessary to specify the IPv6 address of a console for these tools to connect.</Note>

## See also

[XBOX console game development: environment and tools  ](/tools/tools-console/gc-tools-console-toc)

[ff mpeg](https://ffmpeg.org/)


## Related topics

- [XBOX console developer tools (GDK)](/tools/tools-console/index.md)
- [XBOX console game development environment and tools](/tools/tools-console/gc-tools-console-toc.md)
- [XStoreVideo](/reference/system/xstore/structs/xstorevideo.md)
- [PIX videos](/tools/tools-console/pix/pix-videos.md)
- [XBOX environment tools and APIs](/tools/tools-console/gc-xbox-tools-and-apis-toc.md)
