Skip to content

OBS Studio

OBS Studio is the most common encoder for Farbstrom.

You don't need to build the ingest URLs by hand: the admin Stream keys tab lists the full, ready-made URL for every protocol next to each key — just copy and paste the one you need into OBS.

  1. In OBS, open Settings → Stream.
  2. Set Service to Custom….
  3. Server: paste the SRT URL from the Stream keys tab (srt://<host>:9999?streamid=default/live/<STREAM_KEY>).
  4. Leave Stream Key empty (the key is carried in the streamid).
  5. Click OK, then Start Streaming.

To send H.265 (HEVC), set Settings → Output → Streaming → Video Encoder to an HEVC encoder (e.g. NVIDIA NVENC HEVC or x265). SRT preserves it end to end.

RTMP (most compatible)

  1. In OBS, open Settings → Stream.
  2. Set Service to Custom….
  3. Server: paste the RTMP server URL from the Stream keys tab (rtmp://<host>:1935/live).
  4. Stream Key: your <STREAM_KEY> (also shown in the Stream keys tab).
  5. Click OK, then Start Streaming.

In Settings → Output, set Output Mode: Advanced and use the Streaming tab. Pick the path that matches what you're delivering — SDR (H.264) or HDR (H.265).

SDR (H.264)

Use x264 (software) on macOS, or NVIDIA NVENC on PC/Linux. On macOS, avoid the hardware-accelerated Apple H264 encoder — it's objectively lower quality, with strong compression artifacts and banding, especially in low light or fast-paced sequences. x264 is the best option for H.264.

SettingValue
Rate ControlCBR
Bitrate6000 Kbps
Keyframe Interval1 s
CPU Usage Presetfaster
Profilehigh
Tunezerolatency
x264 Optionsbframes=0

OBS H.264 (x264) settings

Disable B-frames for WebRTC

WebRTC playback breaks up and stutters with B-frames on. On x264, bframes=0 (above) covers it; on NVENC set Max B-frames to 0.

HDR (H.265)

HDR review needs H.265 (HEVC). On macOS use the Apple VT HEVC Hardware Encoder — unlike H.264, this is the right choice here: it outputs the 10-bit 4:2:2 that HDR needs. (On PC/Linux, use NVENC HEVC.)

SettingValue
Video EncoderApple VT HEVC Hardware Encoder
Rate ControlCBR
Bitrate6000 Kbps
Keyframe Interval1 s
Profilemain 4:2:2 10
Use B-Framesoff
Spatial AQDisabled

OBS H.265 (Apple VT HEVC) settings

Then set the HDR color pipeline in Settings → Advanced → Video:

SettingValue
RendererMetal
Color FormatP216 (16-bit, 4:2:2)
Color SpaceRec. 2100 (PQ)
Color RangeFull
SDR White Level100 nits
HDR Nominal Peak Level1000 nits

OBS HDR color settings

Capture device

If your source is a Blackmagic DeckLink or UltraStudio, its device settings must be configured manually for HDR — OBS won't do it for you. Match the device's color space and HDR settings to your incoming signal.

Send this over SRT, and set the room's delivery mode to LLHLS so HDR reaches Apple HDR browsers — see HDR review.

Confirming you're live

Once streaming, the room using this key shows as live, and the stream appears on the admin Dashboard with bitrate, resolution, and duration.

Farbstrom is licensed under AGPL-3.0.