How to stream an IP camera to Youtube using Blue Iris

 

Our goal is to push a live camera stream to Youtube.  To do this will require:

  1. an application called Blue Iris – This is not a free application but there is a trial version available.
  2.         a Youtube account – free

There are other ways of doing this such as using OBS to do the push to Youtube but because I already had Blue Iris it made the effort easier.

The setup in Blue Iris is quite easy and direct.  The setup in Youtube is also quite easy and both will be covered here in this instructional.

Blue Iris Configuration

This is done on a per camera basis.  Within Blue Iris right click on the camera you want to stream and left click on “Camera Properties”.  It will bring up a page like the following:

On this page we are going to modify data in the following tabs:  Audio and Webcast.

The following page is the Audio Tab.  What!  Your camera has no audio!!  Well do this anyway.  There is a bug that this seems to address/fix.

The following page is the Webcast page and the most important.  It contains data for your Youtube account which enables you to do live streaming.

In the above image make sure that you have “checked/enabled” “Flash Media Live Encoding” and that the fields RTMP URL and Stream Key are filled out.  You get this data/info from your Youtube account.  A note about the “Stream Key“.  If anyone has your stream key they can stream in your name so be sure to keep it secure.


Youtube Setup

There will not be any images for the Youtube side of this configuration.  I might give too much away.

Here are the steps and I feel they will adequately cover the configuration for the Youtube side.

  1. Login to Youtube
  2. go to “Creator Studio”
  3. on the left side of the Youtube page will be a title called “Creator Studio” with sub categories:  Dashboard, Video Manager, Live Streaming, etc.
  4. Select “Live Streaming
  5. Under “Live Streaming” will be two sub categories call “Stream Now” and “Events”.
  6. Select “Stream Now”
  7. Scroll the page down so that you can see “Basic Info”.  Here you will see the Server URL and your Stream Key in asterisk format which you can reveal.  Plug the Server URL and Stream Key into the Blue Iris webcast page above.
  8. If everything is working correctly the top of this page should reveal your live stream and its “health” – green is good.  By right clicking in the streaming image you can get the html code to embed in your web page.

OBS Broadcasting to Facebook Live

#1 Download OBS Studio

As I said, in this tutorial, we’re going to be using the free and open source software, OBS Studio:


OBS Studio

So, head on down to the Open Broadcaster Software website and download OBS Studio:

IMPORTANT! Please download OBS Studio (for Windows, Mac or Linux) and not the old OBS Classic (Windows Only). OBS Studio has built-in support for Facebook Live while the classic version does not.


#2 Get your Stream Key

In order to start streaming to Facebook Live, you need a Stream Key and the ability to publish a live video via Facebook.

First of all, do you want to go live from your Facebook page or your profile?

There is a different method for each.

The first is for Facebook Pages only. The 2nd method is mainly for Facebook Profiles & Groups, but also Facebook Pages.

Method 1: Facebook Pages Only

The easiest way to go live on your Facebook Page via your computer is to use the button at the top of this page.

However, the traditional way to go live from your page is to use the “Publishing Tools” on your page.

publishing-tools

Log on to your Facebook page and click on Publishing Tools in the top menu:

Then click on Videos on the left menu:

Facebook Page Video

Then click on the +Live button on the top right:

live-video

Then copy the stream key in the modal window that appears:

stream-key Then click preview and fill in your update text and video information: Create Live Video

You can’t go live yet, since you’ll need to enter the stream key into OBS and start your stream so that Facebook can receive it.

Once Facebook receives your stream it will no longer display “OFFLINE” and will start to display your stream preview. Now skip to

Now skip to #3


Method 2: Facebook Profiles & Groups (and pages)

If you want to go live via your Facebook profile and share to your own timeline, a friend’s timeline or a group you’ll need to do things a little differently.

Facebook doesn’t give you Publishing Options for profiles. They do, however, provide developers the Live Video API.

That’s fine for developers, but not very helpful for everyone else! So, I’ve made it easier for you all by creating a button that connects to Facebook Live using the official Live Video API. All you need to do is click the button above!

So what are you waiting for?

Firstly, Click on the “Broadcast on Facebook Live” button above (at the top of this article). You should see a pop up window.

 facebook-live

Then, choose whether you want to go live on your profile or group and click next:

Then first pop-up window should close and a second pop-up window should appear.

 

In the pop-up, enter your update text and video information:

Create Live Video

You can’t go live yet since you’ll need to enter the stream key into OBS and start your stream so that Facebook can receive it.

Once Facebook receives your stream it will no longer display “OFFLINE” and display your stream preview.


#3 Start Streaming

Click settings in OBS Studio and then click stream in the left menu.

Select “Streaming Services” as the Stream Type and “Facebook Live” as the service.

Paste the stream key you obtained from the previous step into the “Stream Key” box:

paste-stream-key

You shouldn’t need to enter the server URL because OBS uses the standard URL.

Click Apply and OK.

Make sure you have selected a video source (such as your webcam) and that you can see this in the preview section.

OBS Sources

Then click the “Start Streaming” button:

Start Streaming

Go back to the Facebook Live pop-up window in your browser.

After a few seconds, it should display “Fetching video stream“. If it does not, check the troubleshooting section at the bottom of this article for possible causes.

Fetching Video Stream

And then after a few more seconds, display your stream in all its glory:

Facebook Live Preview

Please note, there will be a 5-7 second delay in the stream. This is normal.

IMPORTANT! If you are testing, it is a good idea to select “Only Me” for the “Who should see this?” option. That way no one else will see the live video while you are testing. You could then  Who should see this?

view your live video on a secondary device such as your smartphone:

Go Live

If you are happy to go live click the “Go Live” button in the browser window:

The pop-up window will then close. Don’t worry, you have gone live!

 

UPDATE

In OBS Studio, go to settings and then stream. Change the stream type to Custom Streaming Server. Paste in the Stream URL and Stream Key. You should now be able to stream from OBS Studio. Could you test this out and let me know if it works for you?

comment image

Check your feed and you should see your live video has appeared. That’s it. Enjoy!

To end your live stream, simply click the stop streaming button in OBS Studio.

Live Streaming Software

There are quite a few that work with Facebook Live, but the most popular ones are OBS Studio and Wirecast, but there are others…

  • OBS Studio (Mac, PC & Linux, Free, Open Source)
  • Wirecast (Mac & PC, from $695)
  • vMix (PC only, Free & from $60)
  • XSplit Broadcaster (Windows only, Free version and from $4.17/month)
  • mimoLive (Mac only – $199/yr for personal use, from $699/yr for commercial)
  • Ecamm Live (Mac only, $29.95)
  • BeLive – (web app with guests and multiple camera angles, Free & from $12/mth)
  • Lightstream (web app, currently free)
  • BlueJeans onSocial (Web app – initial price $39.95/mth for live meetings with up to 25 guests and live streaming to Facebook)
  • Zoom – (Mac & PC – Facebook integration on paid version with Webinar bolt-on – from $14.99+$40/mth upwards)

How to Use RTSP Stream

What is RTSP stream?

The Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers. The protocol is used for establishing and controlling media sessions between end points.

RTSP is a standard video & audio output stream from network camera, use the RTSP stream you can easy install network camera to the third-party surveillance progeams. Or use VLC & QuickTime player to test real time video screen.

Usually IP products use 554 to be a default rtsp port.

 

Which products has RTSP stream?

NVS Series
NVS-9248
NVS-900H
NVS-900L
NVS-800
NVS-1011
NVS-720M
NVS-2020

NVS-2010
IPC Series
IPC-6001
IPC-88
IPC-9605
IPC-3120
IPC-3121
     
MP131 Series
MP-13101
MP-13102
MP-13103
MP-13104
MP-9604IR
     
IPCH
IPHC-2P
IPK2-2P
   
Korea IPC
IPC-601
IPC-9004D1
   
5 Series DVR
D5004T
D5004V
D5008T
 

 

 

 

 

 

 

 

 

 

NVS Series

DM355 MPEG-4 D1 Resolution
(for NVS-9248 and early 2011 NVS products)

URL format:

rtsp://{admin:admin}@[ip-address]:554/0 – Channel-1(D1)
rtsp://{admin:admin}@[ip-address]:554/1 – Channel-2(CIF)
rtsp://{admin:admin}@[ip-address]:554/2 – Channel-3(QCIF)

Sample:

rtsp://192.168.1.217/0 (short path)

rtsp://admin:admin@192.168.1.217:554/0 (full path)

 

DM365 H.264 D1 Resolution
(for ptz network camera and video server)

URL format:

rtsp://{admin:admin}@[ip-address]:554/1/d1 – Channel-1(D1)
rtsp://{admin:admin}@[ip-address]:554/2/cif – Channel-2(CIF)

Sample:

rtsp://192.168.1.217/1/d1 (short path)

rtsp://admin:admin@192.168.1.217:554/1/d1 (full path)

 

 

IPC Series

IPC Network Product & 5 Series Network DVR

URL format:

rtsp://[ip-address]:554/user=admin&password=&channel=1&stream=0.sdp?

[channel=1]

Network camera and video server only have 1 channel video stream, please ignore this parameter.

[stream=0]

Stream=0 [main stream]
Stream=1 [sub stream]

 

Sample:

rtsp://192.168.1.10:554/user=admin&password=&channel=1&stream=0.sdp?

 

 

MP131 Series

MP131 H.264 Video Stream

URL format:

rtsp://admin:admin@192.168.1.128:554/ch1-s1

admin:admin [username and password]

192.168.1.128 [IP address]

554 [RTSP port]

ch1-s1 [channel-1 and stream-1]

All the products are only have channel 1.

s1 – main stream

s2 – sub stream

If enable the Anonmous mode, rstp url can ignore username and password.

 

 

IPHC Series

H.264/MPEG4 Video Stream Path

URL format:

rtsp://admin:123456@192.168.1.123:554/mpeg4

admin:123456 [username and password]

192.168.1.128 [IP address]

554 [RTSP port]

mpeg4 [main stream]

If enable, password is request.

 

 

Korea IPC Products

IPC-601 Video Server
IPC-9004D1 4CH DVR

Default setting the RTSP function was disable, please enable this function first.

URL format:

rtsp://admin:1234@192.168.1.99:554/stream1

admin:1234 [username and password] (selected access control)

192.168.1.99 [IP address]

554 [RTSP port]

stream1

stream1 – main stream

stream2 – sub stream

 

 

Megapixel-HD 3 Series ONVIF BETA Frimware

Note: this part only use for ONVIF frimware test, production frimware not have rtsp stream.

rtsp://192.168.1.170:554/MainStream

Live Streaming Apps

The products listed above meet the YouTube Live Verified criteria. With the exception of Mobile Live and Mobile Capture, none of these products are made by Google. Make sure to evaluate the products and decide which option makes most sense for you or your business.

Mobile Capture

Record and stream from the YouTube Gaming app.

Mobile Live

Record and stream from the YouTube app. Note: For YouTube live on mobile, your channels must have over 100 subscribers

Webcam

Stream from your desktop/laptop computer using your webcam.

AirServer
Windows, Mac

Mirror your mobile device to YouTube.

Elgato Game Capture HD60
Windows, Mac

Record and stream your Xbox, PlayStation, or Wii U gameplay.

Epiphan Webcaster X2
Any HDMI device

Create professional live streams from your HDMI camera, mixer, console, or other device with this compact hardware encoder. Connect your USB camera for live switching and picture in picture layouts.

Gameshow
Windows, Mac

Gaming-focused, professional production software. Templates, dynamic production capabilities, widgets and more.

SlingStudio

The industry’s first portable, wireless multi-camera broadcasting platform. Monitor, record, switch, edit and stream live HD-quality video wirelessly to YouTube.

Streamlabs OBS
Windows, iOS, Android

Built on OBS, and combines Streamlabs alerts, widgets, tipping, face masks and thousands of free themes and overlays. 

Teradek VidiU Pro

Stream in broadcast quality on the go from any HDMI camera, switcher, or video source.

Wirecast Go
iOS (Free with in-app purchases)

Produce live broadcasts from your iPhone.

Wirecast Play
Windows, Mac (Free version available!)

Everything you need to stream live video from your desktop to the world.

XSplit Broadcaster
Windows (Free version available!)

Revolutionary audio/video mixing application that allows you to create professional live broadcasts and video recordings.

XSplit Gamecaster
Windows (Free version available!)

The easiest way to stream and record your greatest gaming moments at the click of a button. Perfect for sharing your gameplay.