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).
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 RTMPS 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 of the secret key into the field "Streamkey".
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. Save settings
Save your settings with OKAY or Apply
Start your livestream
1. start live stream
Click start streaming in OBS.
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
- The RTMP server OBS classic should now display a green symbol, the streaming bit rate and other quality information in the bottom right-hand corner
After a short wait, you should also see a preview of your live streaming in STREAMBOXY. Only start your event as soon as the video is moving smoothly.
Stop live streaming
In your RTMP Server OBS classic, select the Stop streaming button in the Controls area. This stops live streaming from your RTMP Server OBS classic.