How I streamed a live YouTube video to Blue Iris 5.
Although there may be other and possibly better methods, I used the free OBS (Open Broadcast Software) and installed it on my Blue Iris server PC.
The PC is a Dell Inspiron 3650 with Intel i5-6400 @ 2.70 GHz, 8GB of RAM, a Samsung 860 EVO 250GB SSD for Win 10, BI, BI
Tools and OBS and a 2TB WD Purple for video clips.
I currently have 5 each 2MP IP cams at 1080p, 15 FPS (no substreams) on BI which averages about 20% CPU at idle and OBS not running. With OBS open and streaming as a 6th camera and set for motion detection, BI goes up to about 35% average but as high as 55% with several other cams detecting motion....but nothing is missed and the OBS stream of YouTube doesn't stutter or freeze.
This is not intended to be an OBS or Blue Iris tutorial and do's and don'ts for either....but here's how I did it:
I. OBS
2) Download and install OBS-RTSPServer 1.4.0 RTSP server plug-in from here ==>>
OBS-RTSPServer
3) Open OBS
4) Create a new Source as follows:
a) Down at bottom next to far left, in the "Sources" window, click on the "+" symbol and from the drop-down menu select "browser".
b) In the popup "Create/Select Source", type in a title for the source or copy/paste the URL of the video or web page that you want to stream to Blue Iris and click on "OK".
c) In the subsequent popup window, type or paste in that URL you just used, check the box entitled "Use custom frame rate"; another menu will popup, change the "FPS" from the default of 30 to your liking (I used 10); click on "OK"
d) Your source should now start displaying in a window, if it does not, go to "Tools" => "RTSP Server" and click on "Start" and check the box entitled "Autostart"
You may close the RTSP Server window by clicking on the "X" in upper right corner, it will continue to output the stream.
You may re-size the window playing the source by clicking once on the source that's playing, a red border will appear, drag the sides, top or bottom and the source itself to fit inside or centered as you desire but keep the video inside the gray/black diagonal mask.
As you re-size or move the source within that window, Blue Iris will reflect those changes in a second or two.
If you make changes to OBS "Settings" for "Video" or "Output", you must first go to "Tools" => "RTSP Server" and "Stop" the stream. After making any changes, then "Start" the stream; give BI 10 to 15 seconds to begin displaying the stream with the changes.
II. BLUE IRIS
1) In Blue Iris, create a new camera, I named this one "YouTube".
2) In "Camera Settings" => "Video" => "Configure" => "Address", select "rtsp:/" in BI's dropdown and type in "localhost/live" for the remainder of the URL and insure that "media/video/RTSP port" is set at "554"; click on "OK".
Give BI 10 to 15 seconds to begin displaying the stream.
You may set up overlays, motion triggers and zones, alerts, etc. like any other BI camera.
Although a BI user for over 7 years, I just installed OBS a few days ago so I am not your OBS guru when it comes to tweaking its output, performance, etc. but I know there are others on this forum and in
OBS' own forum that know a LOT more about it and can assist you. There is also an
OBS Wiki .
Other than the changes I made and mentioned above, the default OBS settings worked fine IMO, at least well enough to know if you got it right or not.
ANOTHER USE CASE
I also created a OBS source to stream a web page from our local power utility, Cullman Electric Co-op so Blue Iris could monitor it. It's a
map of power outages to their served customers. The map is static unless an outage is reported either by a customer or by their own line monitoring sensors. An icon marking the location of the outage usually appears on the map within 5 minutes of being reported or detected.
Blue Iris detects and records the appearance of that icon, the change in the color or size of the icon due to status or priority, the assignment of a crew and the subsequent disappearance of the icon which signifies the end of that particular outage. These updates usually occur in less than 5 minutes. Note that the video below is sped up.
Not sure of the practicality of this map monitoring but the intent was to see if I could stream the static map on a web page and have BI detect, record (and notify me if I desired) of any changes to the static page. It does work as evidenced by the videos.
I hope this helps anyone wishing to stream YouTube or another web-based live video source or web page to Blue Iris 5. Below are images that hopefully will clarify things. Have fun!
OBS Browser OBS Source Properties OBS Tools/RTSP Server
View attachment 83547 View attachment 83549 View attachment 83548
Blue Iris Config BI Display
View attachment 83553 View attachment 83551
Outage Map on web page
View attachment 83552
EDIT @ 3:11 PM CT: added videos for 1)
Live Stream of YouTube to Blue Iris 2/27/21 and 2)
Blue Iris looks at a web page map and detects changes
P.S. - Thanks and kudos to
@columbusgeek that got my mind working on this with
his post here back on Feb. 15, 2021.