Encoders

How to Stream with OBS Studio

OBS Studio is the world's most popular free encoder. In this guide you will learn how to configure it step by step to stream live through your XtreamCast channel.

What is OBS Studio?

OBS Studio (Open Broadcaster Software) is a free, open-source software for recording and live streaming. It is compatible with Windows, macOS and Linux, and can stream to any RTMP server.

Download it from obsproject.com.

Step 1: Get your stream credentials

Before configuring OBS, you need to get your connection credentials from the XtreamCast panel:

  1. Log in to your Control Panel
  2. Select your channel from the Dashboard
  3. In the "Stream Data" tab, select "OBS" in the software selector
  4. When you select OBS, the panel shows the 4 fields separately (OBS does not use credentials embedded in the URL):
    • RTMP Server URL — it has the format rtmp://your-server:1935/app-name
    • Stream Key — a unique key that identifies your channel
    • Username — authentication credential
    • Publishing Password — password to authenticate the broadcast
Security: These credentials are confidential. Never share them publicly.
Note: If a dash "-" appears in Username or Password, your channel does not require those credentials and you can leave those fields empty in OBS.

Step 2: Configure the server in OBS

Open OBS Studio and follow these steps:

  1. Go to SettingsStream
  2. In Service, select Custom
  3. In Server, paste your RTMP Server URL
  4. In Stream Key, paste your Stream Key
  5. In Username, paste your Username
  6. In Password, paste your Publishing Password
Field in OBSCredential from the XtreamCast Panel
ServiceCustom
ServerRTMP Server URL
Stream KeyStream Key
UsernameUsername
PasswordPublishing Password

Click Apply.

Step 3: Configure video quality

Go to Settings → Output and select Advanced mode:

ResolutionBitrateFPSInternet required
1920×1080 (Full HD)4,000 – 6,000 Kbps3010+ Mbps
1280×720 (HD)2,500 – 4,000 Kbps306+ Mbps
854×480 (SD)1,000 – 2,000 Kbps304+ Mbps

Encoder configuration

  • Encoder: x264 (CPU) or NVENC H.264 (NVIDIA GPU)
  • Rate control: CBR (constant bitrate)
  • Keyframe interval: 2 seconds
  • Profile: high
  • Audio: AAC, 128 Kbps, 44.1 kHz, Stereo

Step 4: Create your first scene

Scenes in OBS are visual compositions that define what gets broadcast:

  1. In the Scenes section, click +
  2. Give it a name (e.g. "Main Broadcast")
  3. In Sources, add the ones you need:
    • Display Capture: to share your desktop
    • Video Capture Device: for your webcam
    • Window Capture: to share a specific application
    • Image: for logos, overlays or backgrounds
    • Text: for titles and tickers

Step 5: Start streaming

  1. Check that your scene has the right sources
  2. Click "Start Streaming"
  3. In your XtreamCast panel, verify that the channel status changes to "Live"
  4. Go to the "Share Stream" tab to get your iframe code, HLS URL or player URL and share it with your audience

Troubleshooting

ProblemSolution
OBS says "Failed to connect"Check the 4 credentials: RTMP URL, Stream Key, Username and Password. Make sure there are no extra spaces.
"Authentication error"The Username or Publishing Password is incorrect. Copy them again from the panel.
Stream keeps droppingLower the bitrate. Your internet may be insufficient.
Pixelated videoIncrease the bitrate or lower the resolution to 720p.
CPU at 100%Switch the encoder from x264 to NVENC (GPU) or use the "ultrafast" preset.