OBS (Open Broadcasting Software) is a free, open-source video encoder and streaming application. But don’t let that fool you. OBS Studio is a powerful encoder that is used by many professionals. This blog post will look at how to use OBS for professional video streaming.
Anyone involved in live streaming needs to use a live video encoder. Encoding can be done at the software or hardware level. Software encoders like OBS Studio provide the most versatility and are used by the majority of professional broadcasters.
This article will explain to you how OBS Studio works for RTMP stream ingest. Note that this article is based on the latest version of the classic OBS Studio, version 22.0.2, available on their website for free download. For an easier and faster set up, we recommend using Dacast custom version of OBS Studio. If you decide to use our custom version of OBS Studio for easier live streaming, check out this tutorial.
How to use OBS: Adding video sources
One of the simplest and most important tasks with OBS is to add video sources to your stream.
To add a video source, such as a webcam or a camera connected via a capture card, click on the + sign that is inside the “Sources” widget.
This will prompt you to a type of video sources you can add. Select “Video Capture Device” if you want to add a camera. Then you will be asked to name your video Sources and choose from an existing one or create a new one.
At this stage, you can also choose to flip the image vertically or horizontally, adjust the opacity, change the resolution, or set up a chroma-key (green screen) effect. When you are done click “OK” and your video source will be added.
If there is blank space bordering your video feed, you may need to go to “Settings” and adjust the resolution of your broadcast to match the size of your video input.
How to use OBS: Adding monitor and window capture to a broadcast
If you want to broadcast what is on your computer screen, you can either use Display or Window Capture.
Display Capture will broadcast everything that is on our computer screen in a certain area, although the size of that area can be changed. Window Capture will allow you to broadcast the screen of a particular application (Skype, Word, PowerPoint, Internet Browsers, etc.) and only that.
To set up a Display Capture go to the “Sources” widget, click on the + sign and select Display Capture. Name it and click “OK”. Now you have the choice of whether you want the mouse cursor is captured or not, and set the opacity. You can select “Sub-Region” to create a smaller area of your monitor screen to capture.
For Windows Capture go to the “Sources” widget, click on the + sign and select Window Capture. Name it and click “OK.” Select from the drop-down menu which application you want to Window Capture from. If you don’t see the one you wanted, try re-launching OBS or the program (or both). If it still doesn’t appear, use Monitor Capture instead.
Choose whether you want to capture the Entire Screen or the Inner Screen. You can choose if the mouse cursor is captured or not, the opacity, and create a smaller sub-region if you want. Click “OK” when you’re done.
How to use OBS: Adding images or text to a live stream
To add images to your stream, right-click under sources, then click “Add” -> “Image.” This will give you the option to “browse” for the image you want to add and adjust the opacity if you want to.
Alternatively, you can add an image slide show and select several individual files, or an entire folder.
You can also add text in the same manner. You can use the menu settings to choose color, opacity, font, size if you want the text to scroll or not, the scroll speed, and of course, your message text.
How to use OBS: Arranging multiple video sources (positioning and layering)
OBS allows broadcasters to create scenes with multiple inputs on the same screen. This allows you to create professional picture-in-picture broadcasts and bring in multiple guests/videos via different sources.
After adding a source, you can position it anywhere you like. To move a source, just click on it and resize it reposition it the way you want.
You can also do a right-click on your video source to change the order of your video sources, rotate them, or even add filters.
If you want to re-arrange the layering of your sources, go to “Order” and then select “Move up”, “Move Down”, “Move to Top” or “Move to Bottom”. Whatever is on the top layer will cover the sources behind it, with the bottom layer at the back.
To add a filter, select the option after doing a right-click on your video source and select the type of filters you want to add: video filter, audio filter, or effect filter on the image. For example, below is an example of an image blend filter and a color correction filter added on the video capture device source:
To remove anything that has been added in your OBS Studio software: a filter, a video source or an audio source, just click on the “eye” icon to mask it. For instance, after clicking on the “eye” icons of the effect filters previously added, my video source is back to its original state:
How to use OBS: Setting up hotkeys
Hotkeys are a key professional feature for OBS. Essentially, setting up hotkeys allows you to switch between multiple scenes instantly, at the touch of a button. This allows for smooth, precisely-timed cuts between different pre-recorded or live video streams.
If you’ve followed our instructions above, you’ve already created your first scene. To use hotkeys, start by creating another scene, by clicking on the “+” within the “Scene” widget.
Choosing the right OBS encoder settings
Now that you’ve created your scenes and set-up your video sources, you’re almost ready to begin broadcasting.
But first, we need to connect OBS to Dacast. To do this, go to “Settings” select “Stream” on the left side Menu. Select “Custom Live streaming server”
The URL and Stream key are the stream URL and stream key available in the encoder set up a section of your Dacast last channel.
Once you have copy-pasted the information related to your Dacast live channel, check “Use authentication”.
You will see that you need to enter a username and a password. These are the login and password of your Dacast live channel, available in the encoder set up a section where you found the stream URL and stream key. For more details on those 2 steps, you can always check this tutorial for connecting Dacast with OBS.
Finally, make sure your encoder settings are correct. We recommend the following:
- Resolution: match your camera/source resolution
- Frames per second: use 30 unless you have a specific reason not to
- Keyframe interval: 2 seconds
- Video codec: x264
- Bitrate: Check out our bitrate guide for multi-bitrate streaming
- Audio codec: AAC
- Channels (audio): Stereo for all streams above 360p resolution, Mono for below
- Audio sample rate: 22 Khz
Now do a test stream to make sure your broadcast looks and sounds the way you want. If it all works the way you’d hoped, you’re ready to go!
Sum up video
If you want to stream live video on your website, using OBS with Dacast is a great option. But whichever streaming solution you choose, we hope you now feel confident with how to use OBS for professional broadcasting.
New to Dacast and interested to try out our white-label streaming solutions for yourself? The Dacast OVP include secure video upload, and our new advanced hosting solution offers China video hosting for VOD. Why not sign up for a 30-day free trial (no credit card required)? That way, you can test out all the features before making a commitment. We’d love to get you set up for live streaming today!
By Eliot Miller and Max Wilbert.