[Tutorial] How do i configure OBS for DLive?

in #dlive8 years ago

Continuing my series of tutorials, today i will show you how to set up OBS optimally for DLive.


Before you attempt to livestream, be aware that you have to have a good pc and a good internet connection.

ProcessorIntel (At least 4 real cores)
Mini5 4600k
Besti7 8700K
ProcessorAMD (At least 4 real cores)
Minr3 1300X
Bestr5 1600/ Any r7 processor

DLive is relatively new, also livestreaming requires some serious throughput of data. So Steemit being decentralized complicates the whole data throughput a bit more. Please don't go in and expect Twicht like experience. There will be bugs, hitches and some maintenance to do. But without further ado, let's get into it.

First of all, download the software called OBS or "Open Boradcaster Software". After you installed and launched it, you will have a screen that looks like this: Bildschirmfoto 2018-01-26 um 16.43.01.png

Don't worry, the Windows, Mac and Linux version are all identical, so don't panic if you are on an other OS.


Now we will go into "Settings". Be prepaired to be overwhelmed at first, but we will get through this.
Bildschirmfoto 2018-01-26 um 16.46.11.png

Then we click on "Stream" and change the first option from "Steaming Services" to "Custom Streaming Server"
Bildschirmfoto 2018-01-26 um 16.49.49.png

After you did that, you will see two new fields. Then you check the box for "use authentication" and another two field will appear.Bildschirmfoto 2018-01-26 um 16.58.33.png


Now you go to DLive.io, then "Go live" and you will get this page: Bildschirmfoto 2018-01-26 um 17.00.52 Kopie.jpg

We will need the lines from "Encoder authentication", copy them and put them into the matching fields in OBS. After that you click "OK" and you are technically ready to stream.
But only technically, we will have to adjust the bitrate and resolution first, if you want to give your viewers a good experience.


And here it starts to get a little bit more tricky. First we click on "Video".
Bildschirmfoto 2018-01-26 um 17.09.57.png
You see there a few settings to tinker around with. Those are one of two very essential adjustments we must make!
Put the "Base (Canvas) Resolution" to your monitors resolution. If you don't know which resolution you have, just use the highest it gives you.

And then comes the critical part! Put the "Output (Scaled) Resolution" to 852x480. While that is not a high resolution, as mentioned before, DLive is new and i don't know your hardware and internetspeed. So this is a save resolution everyone should be able to stream with.

Leave the "Downscale Filter" alone.

Now we get to the FPS (Frames per second). That as well is a very crucial part in streaming. I would recommend everyone to leave that at 30. If you have a pretty beefy computer and a fast internet connection you might get away with 60FPS but for now leave it at 30FPS.


After that is done, we go into "Output"
Bildschirmfoto 2018-01-26 um 17.22.08.png
We only touch the "Streaming" portion of this section!

First we want to discuss "encoder". This is the algorithm that will compress the video data that will be sent to DLive. By default this is set to "x264" and mostly you will only have this one option. When you are under Windows and have a nvidia graphics card installed, you might see "nvenc" as an option. That is also a viable option, but it needs way more bitrate to look as good as x264. But because it uses the graphics card as your encoder and not your processor, it is less taxing and won't drag down your ingame framerate.

Speaking of bitrate. That is the other option we have to configure here. And that also depends on your hardware, but mostly on your internet connection. You should make a speedtest first, before you put some numbers in here. Use your search engine of choice to find one.
Bildschirmfoto 2018-01-26 um 17.33.18.png
So i got nearly 35Mbps upload, which are 35000kbps. So the maximum i could but into "bitrate" would be "30000" (you should always leave some upload space for other things like Discord, Steam or anything else).
But that would be way to high and probably will result in stutter on DLive because it can't receive so much data at once.

Dlive currently doesn't have recommended bitrates or resolutions so it is trial and error. But i would suggest to use the Twitch's recommended speeds as reference.

Bildschirmfoto 2018-01-26 um 17.38.42.png

After that you can go live! If you stream stutters or looks blurry, tinker around with resolution and bitrate.

  • Stutter without buffering is mostly caused by a too high resolution
  • Bluryness is caused by a too low resolution
  • Blockyness is caused by too less bitrate
  • Buffering is mostly caused by too much bitrate

If you have any other problem, just post it in the comments. As always, thanks for your time and greetings from germany.

-Arvarad

Sort:  

Thanks for your article.
Check out my tutorial if you wanna know How to: Use your Android mobile device as streaming camera with OBS, using IP Webcam.