Guide: Multi-stream with OBS


How to stream to both Mixer (FTL) and DLive (RTMP) from a single copy OBS

Follow this how to guide if you are wanting to maintain your Mixer FTL stream, whilst outputting another RTMP stream using the same copy OBS.

What do you need:

  1. Open Broadcaster Software Studio (link)
  2. Good upload speed (we're going to be doubling your upload data)
  3. Good PC (we are going to be encoding twice)

How does it work?

We will be changing your OBS "Recording" settings.  We will be telling OBS to use a custom FFMPEG command which will send the video/audio data to a RTMP URL when your press START RECORDING.
Pretty Snazzy!

Lets Go!

  1. Launch OBS
  2. Click File
  3. Click Settings
  4. Click Output
  5. Ensure the "Output Mode" is set to Advanced
  6. Click the Recording tab

  1. Change the "Type" dropdown to Custom Output (FFmpeg)
  2. Change the "FFmpeg Output Type" to Output to URL
  3. Set "File path or URL" to your RTMP address.
You can use any valid RTMP URL.  For DLive your URL would look something like:
rtmp://stream.dlive.tv/live/STREAM-KEY-HERE
  1. Set "Container Format" to mp4
  2. Set "Video Bitrate" to your preferred speed
  3. Set your keyframe interval
For 30 FPS set to 60
For 60 FPS set to 120
  1. Set "Rescale Output" to your preferred resolution
  2. Set "Video Encoder" to libx264
libx264 = Software x264 encoding - ie: uses your CPU
h264_nvenc = NVIDIA Encoding - ie: uses your GPU
  1. Set "Audio Bitrate" to 160
  2. Set "Audio Encoder" to aac (Default Encoder)
  3. Press Apply then OK

Update: 9th January 2020

If you are experiencing high bandwidth usage with the above settings, user: PhantomOfNyx has sent across some helpful extra encoding settings:

On the above screen, please enter the following into the "Video Encoder Settings (if any)" option. 

💪Please note, this option only works for libx264.

x264-params=vbv-maxrate=6000:rc=vbr:vbv-bufsize=6000

(where 6000 is your maximum bitrate)

Going Live!

To start streaming to Mixer in FTL, press "Start Streaming" as usual.
To start streaming to your custom RTMP address, press is "Start Recording"







If your settings are correct, your stream will now show on DLive.

Notes

  • Dropped frames for your custom RTMP will only show in the OBS Logs
  • Ensure you have enough bandwidth to upload your stream twice
  • Ensure your PC has enough power to stream twice

Alternative Methods

Try https://streamex.exoz.one - This will grab your Mixer stream and send it to an alternative RTMP location.  This WILL delay your DLive stream by up to 30 seconds.
Multiple copies of OBS.  Using the --portable tag in the OBS shortcut will allow you to open 2 copies of OBS.  You can then set 2 streams going simultaneously
Or 1 copy of OBS, and 1 copy of SLOBS
XSplit - Multiple outputs are already built into XSplit

Help Me!

If you need help, the best method of contacting me is via Discord over at:  https://discord.gg/tidy

Comments

  1. but how about if I wanna stream it to facebook live, they give url and stream key , while there is only space to ad url and hence doesn't work

    ReplyDelete

Post a Comment