Set up the source stream using OBS

Quickly set up the source stream using Open Broadcast Software (OBS).

Set up an encoder using OBS

  1. Download and install OBS for your operating system on the Open Broadcaster Software website.
  2. Start the application. OBS starts with a default scene but with no inputs selected.

Add a video source

  1. From the Sources panel, select the add icon to select a new source device. The Sources menu will open.
  2. Select Video Capture Device. The Create/Select Source menu will open.
  3. Select Add Existing, then clickOK. The Properties for Video Device menu will open.
  4. From the Device dropdown list, select the video input you want to use for your broadcast. Leave the rest of the settings alone for now, and clickOK. The input source will be added to the Sources panel, and the video input view will show up in the Preview area.

Add an audio source

  1. From the Sources panel, select the add icon to select a new source device. The Source Device menu will open.
  2. Select Audio Input Capture. The Create/Select Source menu will open.
  3. Select Add Existing, then clickOK. The Properties for Audio Input Capture menu will open.
  4. From the Device dropdown list, select the audio capture device you want to use for your broadcast. Leave the rest of the settings alone for now, and click OK. The audio capture device will be added to the audio mixer panel.

Set up streaming and advanced encoding settings

👉

In the next steps, we consider that you have copied the input URL given in the Live Event.

  1. Select Settings in the Controls panel. The Settings options will open.
  2. In the left menu, select Stream.
    • From the Service dropdown list, select Show all, then select Custom.
    • In the Server field, paste the RTMP URL you copied to your clipboard, removing /stream at the end.
    • In the Stream key field, enter a valid stream name, for example stream.
  3. In the left menu, select Output.
    • Set the Output Mode to Advanced to access all of the available encoder settings.
    • From the Streaming tab, select the right encoder and settings according to the CPU and capabilities of your system.
      • In Streaming Settings:
        • Audio Encoder should be set to either FFmpeg AAC or CoreAudio AAC
        • Video Encoder should be set to x264
      • In Encoder Settings, we recommend using CBR rate control and the Keyframe interval needs to match the Input key frame intervalset in MK.IO UI.

Set audio settings

To adjust the audio encoding settings:

  1. In the left menu, select the Output > Audio tab, then adjust Audio Bitrate and Sample Rate according to you desired settings. We recommend setting the Sample Rate to 48kHz.

Set video settings

To adjust the video encoding settings:

  1. In the left menu, select the Output > Video tab, then set Output (Scaled) Resolution to 1920x1080 and adjust Common FPS Values according to you desired settings.
  2. Click OK to validate

Start streaming

Beware the sum of Video Bitrate plus the Audio Bitrate should not exceed the bandwidth limit for the live event!

  1. In the Controls panel, click Start Streaming.
  2. Switch to MK.IO Live event screen, then click the Apply button. You should now see a preview of your stream. You can copy and paste the playback URLs to your web application.