Content
This article describes how to set the input parameters and output parameters for your RTMP server OBS classic so that you can stream live directly via RTMPS to video platform like STREAMBOXY. Live streaming for movies and series from TV channels are not considered in this article.
Requirements
- You have the RTMP server OBS classic Studio (free download of the open broadcaster software at https://obsproject.com/de/download)
Your live streaming computer is preferably connected to the internet with a cable connection and online
Your internet upstream speed is at least 12 Mbits for a smooth 1080p stream with 25 frames per second. You can freely choose between a low frame rate and a higher frame rate.
In your firewall outgoing TCP connections are allowed via ports 2935 and 2936 (RTMPS) and optionally as fallback TCP ports 1935 and 1936 are allowed (RTMP).
You have created a RTMP livestream in STREAMBOXY and have the permission to manage the upstream (at least referring permission).
Setting up live streaming with OBS Studio
1. Set input parameters
Open your RTMP Server OBS classic to enter all input parameters.
Click on the Settings button in the Controls area (bottom right).
- In the now open settings dialog, select the Stream option.
In the Service drop-down list, select Show All and then the Custom option.
In the Server field, paste the upstream URL from STREAMBOXY (starting with rtmps://...). Creating the upstream URL for live streaming is described in this article.
Enter the value default into the field "Streamkey". The value does not matter, but must be present for the live stream in your RTMP server OBS classic.
2. Set output parameters
- In the Settings dialog, select the Output option.
Enter 2 in the Keyframe Interval field. This sets the fragment length to 2 seconds. For live streaming with a shorter wait time, use 1 second as the value.
Set the default for "CPU Usag" to veryfast if you are using a computer with low processing power.
Optionally, you can set the Kbit/s to a lower value if you have unfavorable network conditions. However, as mentioned above, we recommend a bitrate of 4,000-10,000 Kbit/s for sharp and smooth movement of your live streaming.
3. Set frame rate and resolution
- Select the Video option in the settings dialog.
Adjust the frame rate (Common FPS Values) if necessary. This must not be higher than 30 FPS (frames per second). You can flexibly choose between a lower framerate and a higher framerate.
If necessary, adjust the resolution (Base & Output Resultion). This may be a maximum of 1920x1080 pixels.
4. Speichern der Einstellungen
Speichern sie die Einstellungen durch Klick auf OK oder Apply
Starten und überwachen des Live Streaming
1. Live Streaming starten
Klicken Sie im Bereich Steuerelemente bzw. Controls auf Streaming starten bzw. Start Streaming.
Changing the encoder configuration once the stream was started can impact the Stream in a negative way. Reset the stream using the STREAMBOXY reset feature (described below) if you have changed encoder settings.
2. Stream in OBS Überwachen
- Der RTMP Server OBS classic sollte nun unten rechts ein Grünes Symbol, die Streaming Bitrate und weitere Qualitätsinformationen anzeigen
- Nach einer kurzen Wartezeit sollten Sie ebenfalls den bei Ihrem Live Streaming in in STREAMBOXY eine Vorschau sehen. Starten Sie Ihre Veranstaltung erst, sobald das Video eine flüssige Bewegung hat.
Live streaming beenden
Wählen Sie in Ihrem RTMP Server OBS classic im Bereich Steuerelemente bzw. Controls die Schaltfläche Streaming beenden bzw. Stop Streaming aus. Hiermit wird das Live Streaming aus Ihrem RTMP Server OBS classic beendet.
Content
This article describes how to use OBS Studio for Livestreaming to the STREAMBOXY video platform.
Requirements
- You have downloaded and installed OBS Studio on your laptop (free download under https://obsproject.com/de/download)
- Your streaming laptop connected to the internet, preferably via a wired connection
- Your upstream bandwidth is ad least 12 Mbits for a fluid 1080p stream with 25 Frames per second
- Your Firewall allow outgoing TCP-Connections using Port 2935/2936 (RTMPS) or 1935/1936 (RTMP) as Fallback
- You have created a STREAMBOXY Livestream Session and you have permission to manage the upstream (at least Speaker Permissions)
Configuring OBS Studio for STREAMBOXY Streams
1. Add Upstream Url
- Open the OBS Application
- Click the Settings button in the Controls area
- Select the option Stream from the Menu
- Open the Service Dropdown and select Show All and then Select Custom as an option
- Paste the Upstream URL from STREAMBOXY (starting with rtmps://...) int the Server field. How to retrieve the Upstream Url is described in this article
- Enter default as Stream Key. This Field is not required by STREAMBOXY but must be set for OBS to work
2. Define Output Parameter
- Select the option Output from the Settings Menu
- Set The Keyframe Interval to 2. This defines the Fragment length as 2 Seconds
- Set CPU Usage to verfast if you are using a computer with low Performance
- Optionally you can define a lower Bitrate if you have poor connectivity, we recommend using a Bitrate between 4.000 and 10.000 Kbit/s
3. Set Framerate and Resolution
- Select the option Video from the Settings Menu
- Adjust the Framerate (Common FPS Values). This should be no more than 30 FPS
- Adjust the Resolution (Base & Output Resolution). This should be no more than 192x1080 Pixels
4. Saving the Settings
Click OK or Apply to save the settings
Starting and Monitoring the Stream
1. Starting the Stream
Click on Start Streaming within the Controls area to start the Stream
2. Monitoring the Stream in OBS
- OBS should provide you with a Green Status indicator, current Bitrate, and other quality information in the lower right corner
- After a short waiting period, the stream should also be viewable in the STREAMBOXY Streaming preview
Ending the Live Stream
To end the Livestream in OBS select Stop Streaming from the Controls Area in the lower-left corner. This ends the Stream in OBS.
For a more seamless attendee experience, we recommend ending the STREAMBOXY Livestream first.
Further Information
You can find articles for other encoders and hints about how to handle Livestreams in STREAMBOXY here.