> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.xsplit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Capturing Gameplay from BlueStacks 4

XSplit Broadcaster allows you to directly capture gameplay from BlueStacks 4 to record or stream to the streaming platform of your choice.

| [Click here](/en/article/capturing-gameplay-from-bluestacks-5-7ltsji/) if you are using BlueStacks 5

## Capturing gameplay from BlueStacks 4

1. On _BlueStacks,_ go to **Settings** and select the **Engine** tab and take note of your graphics mode settings.

|| _XSplit Broadcaster_ works on both DirectX and OpenGL graphics modes. For laptop users, however, selecting DirectX may give better performance..

![Settings > Engine options in BlueStacks 4](https://cdn4.xsplit.com/helpdesk/images/i/o/371356386/92d5c0f294e1cc75265a3ee9/bluestacks-1.png)

2. On _XSplit Broadcaster_: Go to **Sources** > **Game Capture**, then select **BlueStacks (DX11)** or **BlueStacks (OpenGL)** depending on the engine settings you have chosen on _BlueStacks 3_.

|| _Selecting **BlueStacks (DX9Ex)** captures the BlueStacks 4 launcher instead of the gameplay._

![Showing the DirectX and OpenGL processes of Bluestacks 4 under Add Source > Game Capture](https://cdn4.xsplit.com/helpdesk/images/i/o/472357959/8cf6b73a6666357b23f844be/add-source-game-capture-bluestacks.png)

3. Launch a game app on BlueStacks 4 and this should automatically appear on your Broadcaster's scene. You can start recording or streaming!

![BlueStacks source showing up in XBC](https://cdn4.xsplit.com/helpdesk/images/i/o/371356433/3c3c5d71c5f200fce020cfe8/bluestacks-3.png)