Question / Help How do I stream my weather camera?

Dan Smith

New Member
Hi, I have a weather camera on my website (portcoquitlamweather.ca) and I'd like to stream it on YouTube. But it's a fairly unusual URL... I can't find a Stream HTTP option, but I tried Media Source/Local File and that didn't work, then I tried Media Source Input but can't figure out what goes into the Input Format box.

I use a port (37777) and login credentials are supplied in the URL which is a self-contained video.cgi file. How can I stream this? I can stream other things, such as .AVI and .MPG files, but not my camera.

The "video capture device" pull-down is ghosted, so I am unable to select that either.

I hope I've explained this enough... if not, please let me know.

Thanks,
Dan
 
Last edited:

Banyarola

Active Member
You want to use BROWSER source..not media source...
In Browser source there will be a field to put your url in..
I stream my weather station from Weatherunderground.
 

Dan Smith

New Member
Thank you Banyarola for the quick reply. I tried Browser source but it won't show an image before I started streaming. That made me think it wasn't set up properly or that wasn't the correct source. I'll have to tweak it a bit more, I think.
 

Dan Smith

New Member
Wunderground (which I am also a member of), doesn't stream live images, does it? On my page, all I see are still images taken every few minutes.
 

wallrik

Member
You should try the RTSP option to get a clean media feed into OBS. The manual has some info about it.
You should also really limit the access to that web interface if possible.

RTSP uses port 554 by default and it should be something like this,
rtsp://portcoquitlamweather.ca/cam/realmonitor?channel=1&subtype=0
 

Dan Smith

New Member
wallrik, how would I go about enabling or starting with RTSP? I've never considered this before your suggestion. I've opened port 554 on my firewall, and looked up the URL on the Amcrest website. The path is identical to yours above, but doesn't work (for me) in OBS. Any ideas?
 

wallrik

Member
Are you also using the correct username and password? (this is described in the help section)

Because if I try that URL I get this in return:
Server returned 401 Unauthorized (authorization failed)
 

Dan Smith

New Member
Really? I get a list of Google search results for RTSP protocol. How do I fix that?

Try this URL: rtsp://<userID>:<pass>@portcoquitlamweather.ca/cam/realmonitor?channel=1&subtype=0
 
Last edited:

wallrik

Member
You can't view that in your browser, it's a media source. You can see the stream in VLC or other players (or in OBS).

Also, please edit your post to not share the login details. :)
 

Attachments

  • rtsp.jpg
    rtsp.jpg
    55.8 KB · Views: 54

Dan Smith

New Member
You can't view that in your browser, it's a media source. You can see the stream in VLC or other players (or in OBS).

Also, please edit your post to not share the login details. :)

So you're saying if I simply add the rtsp link above, that it will do just what I want it to do, stream on YouTube? What if your display in OBS is blank? For me, it shows a blank image (black screen), even though it says it's Live. Should I be able to see the image in OBS? Here's mine - I'll show you what I mean. https://www.youtube.com/watch?v=5OgzKFGuiiY

I'm not really concerned about the login details, it's the details I use for my public camera anyway, so anyone can see them - I've disabled anonymous access.

I also get this message from YouTube and I don't know how to fix it. :(

"2:28 PMBadBad video settings
Please use a keyframe frequency of four seconds or less. Currently, keyframes are not being sent often enough, which will cause buffering. The current keyframe frequency is 7.9 seconds. Note that ingestion errors can cause incorrect GOP (group of pictures) sizes."

Edit: I CAN see the live image in VLC but not OBS.
 
Last edited:

Dan Smith

New Member
Ok, I solved the bad keyframe rate, I had to click 'Advanced Settings' in the Output tab and change the Keyframe Interval to 4. And the URL for my YouTube video keeps changing every time I start and stop it, so it's hard for me to give you a streaming URL. However, my overall problem hasn't yet been resolved - still can't see any image in OBS or YouTube.
 

Dan Smith

New Member
No matter what I try and the settings I use, I cannot get OBS to stream rtsp protocol, but I can get it to stream http protocol. But, during the http streaming, in the bottom left corner of the console it tells me that Encoding is overloaded and to consider turning down the video settings or using a faster encoding preset. How do I do this? In my Amcrest camera console, I've tried every configuration I can think of, but the image simply goes blank after a few seconds. Banyarola, would you kindly let me know what your settings are, for both your OBS console and your camera settings console? It might help me to mention that I'm using Weather Display and their camera app to show the image on my weather site.
 

Dan Smith

New Member
I've come to the conclusion that OBS is not the software for me. I wish it was, because I love the interface, but it simply does not work with rtsp streaming.with my camera. That is not to say that I have not tried others, and one particular I really like works flawlessly with rtsp streaming with my camera to YouTube. Whether it's the code that there's a flaw in with OBS, or something else affecting my ability to use OBS for live streaming, it's just not there and doesn't do what I want it to do. The other software I'm now using also has its flaws, but I think I'll have to come back to OBS when it has a chance to grow a little more. I thank those of you here that I have had the pleasure of chatting with and for the makers of OBS. Keep up the great work!

Dan
 
Last edited:
Top