Using Third Party RTMP Publishers With Red5 Pro

There are a number of RTMP publishers available which give you some out of the box options for streaming to a Red5 Pro server. Two free options are Flash Media Live Encoder (FMLE) and Open Broadcaster Software (OBS). Follows are the optimal settings for using these broadcasters.

Flash Media Live Encoder (FMLE)

You can download the Flash Media Live Encoder here. If you are running FMLE from a Mac you will have different options than if you run it from a PC. Specifically, Mac includes AAC as an Audio format, where Windows does not. Please note that FMLE does not detect the Mac Facetime camera, so you will need to use a USB camera to stream video with FMLE.

Our recommended FMLE settings are as follows:

FMLE Video Settings

Format: H.264

  • click on the wrench for Advanced Encoder Settings and choose Profile: Baseline, Level: 3.1, and Keyframe Frequency: 3 Seconds

Frame Rate: 15.00 fps

Input Size: 640x480

Bit Rate: 500 Kbps, Output Size: 640x480

advanced encoder

FMLE Audio Settings

Format: AAC (NOTE: at this time, Mp3 is supported for WebRTC subscribers, but not by RTSP or HLS)

Channels: Stereo

Sample Rate: 44,100 Hz

Bit Rate: 56 Kbps

FMLE Streaming Settings

Place a checkmark in the box next to Stream to Flash Media Server

FMS URL: rtmp://your-server-ip:5080/live

Stream: your-stream-name

fmle settings

Publishing with FMLE

Click on Start to begin streaming.

Open Broadcaster Software (OBS)

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

There are also many options for OBS. The following settings are for 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 Mp3 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

Stream Type: Custom Streaming Server

URL: rtmp://your-server-ip:5080/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): 2

CPU Usage Preset: verfast

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.