Purpose of The Guide
This guide will show you how to live stream the feed from your bird box camera straight to Youtube, or to any other program or website, but we will use Youtube as our example.
If you have a wireless or wired analogue camera that connects to a computer using a USB adapter then you need to follow this guide instead.
Please be aware that OBS Studio can only stream one camera at a time. You will need a second computer with OBS also installed on it to stream multiple cameras. If you want to use multiple cameras in the same live stream, switch between them, use backgrounds or overlay a logo onto your live stream, watch this video after following this guide.
Before You Begin
Make sure that your bird box camera is powered on, connected to your internet router and has been added to your Windows or Apple computer. If the camera has only been added to your phone or tablet, use this guide to easily add it to your computer.
If you have one of the newer model of Wi-Fi cameras (NCIP2WF), you will also need to disable 'H.265' on your camera, follow this guide to do so. If you're not sure, follow the guide anyway. The option will not be available on other models.
Let's Get Started
First you will need to find out the local IP address of your camera. Open up CMS5, go to Device Manage, then note down the IP address of your camera. It will look something like 192.168.1.100, though it probably won't be exactly the same.
Now you need to convert this IP address into an RTSP stream.
You can use this: rtsp://x.x.x.x:554/user=admin&password=&channel=1&stream=0.sdp?real_stream, where 'x.x.x.x' is the local IP address of the camera. If you have set a password on the camera you put it after the bit that says "password=".
So if the IP address of the camera is 192.168.1.100 and there is no password set on it, your RTSP stream will be:
If I set the password on the camera as '12345Abc' then the RTSP stream would be:
If you find this RTSP stream does not work, you may need to add an @ in front of the IP address, so for example:
If you are using this camera with one of our Gamut NVR's, your RTSP stream will be a bit different, more like this:
- In this example admin:admin is the username and password for the recorder.
- You need to use the IP address of the recorder instead of the camera in this case.
- The port can be left as 554, unless you have changed it to something else.
- ch04 signifies which channel of the recorder you want to stream, in this example we are streaming channel four.
- The 0 at the end signifies what quality you will be streaming in. If set to 0, the stream will use 'main stream' which is high quality. If set to 1, the stream will use 'sub stream' which is low quality.
- Here is an example of the RTSP stream if my recorder was using an IP address of 192.168.1.100, with a username of bird and a password of camera, if I had changed the RTSP port on the recorder to 600, and I wanted to stream camera number at low quality: rtsp://bird:email@example.com:600/ch07/1
Most CCTV cameras can use RTSP streams, but they usually differ in small ways. If the camera is not from us just refer to the manual and there will likely be some information on the required format.
Now you need to open up OBS Studio and click on 'Media Source'.
Click on 'Create new', and set a name for the stream if you want.
In the following window, untick the 'Local File' box and paste your RTSP stream into the 'Input' field.
Now click 'OK', you should see the image from your camera. If OBS Studio asks for network permissions allow it Private access, or the stream will not work.
Now go to Youtube, and click on 'Go live'.
Give your stream a name and category then click 'Create Stream'.
The following window will pop up if it's your first time. Click on the copy button next to 'Stream key' to copy it, then open up OBS Studio again.
In OBS Studio go to File > Settings > Stream.
Select 'Youtube / Youtube Gaming' as the service and paste the stream key into the 'Stream Key' field.
Click 'OK', then select 'Start Streaming' on the bottom right of the screen.
Now if you go back to Youtube, the live stream should be working.
We hope you have found this guide useful. If it has not answered your question you can see related articles on the right or raise a ticket.