/

Open Broadcaster Software (OBS)


There are a few different versions of OBS Studio. For simplicity, the following covers the MacOS version.

There are also many options for OBS, and you may need to play around a bit with the settings depending on your source and use case. The following settings are an example of basic live streaming via a desktop camera. You can also use OBS to share your screen, or stream from a media source (such as a local Mp4 file), among other things.

OBS Dashboard

On the initial screen, select your preferred camera Source from Video Capture Device. Your default camera and microphone should be automatically selected, so you may want to change that if you wish to use different input devices. Click on Settings.

obs dash

OBS Stream Settings for Live

Stream Type: Custom Streaming Server

URL: rtmp://your-server-ip:1935/live

Stream key: your-stream-name

obs dash

OBS Output Settings

Output Mode: Advanced

Streaming Tab

Encoder: x264, place check in Enforce streaming service encoder settings box

Rescale Output: 640x480

Rate Control: VBR

Bitrate: 750

CRF: 23 (default)

Keyframe Interval (seconds, 0=auto): 3

CPU Usage Preset: veryfast

Profile: baseline

Tune: fastdecode

Place a check in the box next to Variable Framerate (VFR)

obs dash

OBS Audio Settings

Defaults are OK (Sample Rate 48Khz; Channels Stereo)

OBS Video Settings

Base (Canvas) Resolution: 640x480

Output (Scaled) Resolution: 640x480

Downscale Filter: Bicubic

Integer FPS Value: 30

Publishing with OBS

Click OK to exit out of Settings. Then click on Start Streaming to broadcast.

Screen Sharing via OBS

A common use for OBS publishing is game screen sharing (as with Twitch). The following settings are recommended for streaming your screen using Display Capture on OBS via the Red5 Pro server.

NOTE: Higher resolution and bandwidth publishing will use more CPU on your server

OBS Output Settings for Screen Share

Output Mode: Advanced

Streaming Tab

Encoder: x264, place check in Enforce streaming service encoder settings box

Rescale Output: 1920x1200

Rate Control: VBR

Bitrate: 3000, place check in Use Custom Buffer Size

Buffer Size: 1500

CRF: 23 (default)

Keyframe Interval (seconds, 0=auto): 2

CPU Usage Preset: veryfast

Profile: baseline

Tune: fastdecode

obs dash

OBS Audio Settings for Screen Share

Defaults are OK (Sample Rate 48Khz; Channels Stereo)

OBS Video Settings for Screen Share

Base (Canvas) Resolution: 1920x1200

Output (Scaled) Resolution: 1080x720

Downscale Filter: Bicubic (Sharpening scaling, 16 samples)

Integer FPS Value: 30

Sending Authentication Parameters via OBS

To send parameters via an OBS publisher, enter the server URI as: rtmp://{server}/{webapp}?username={username}&password={password}&token={token}

obs auth