Question / Help Live streaming RTSP to Youtube using OBS

Kristystoyer

New Member
I know very little about live streaming but found myself in this position with a work project. We are a non-profit trying to live stream from a nature preserve. We bought Ubiquiti cameras and the stream coming from the camera is RTSP protocol. I have been trying to figure out how to get that stream into OBS and then out to Youtube (I have a youtube channel registered and ready for live streaming).

I saw a tutorial that showed how to bring in a source via "media source", but when I put in what I think is the correct input URL, nothing happens. I'm sure I have something wrong with the input. Can someone help me figure out if my input url is correct - or provide any other helpful tips to get this streaming?

thank you!
 
Does your RTSP source URL work in another app, like VLC?

OBS is not a particularly good RTSP client, prone to disconnections. Using VLC as an intermediary may be advisable. What the correct URL for your camera depends entirely on what model of camera you have. If you test the URL you have in VLC and it doesn't work, the URL is wrong.
 
No it will not run through VLC either. This is the error I get when I insert the RTSP URL in VLC:
Connection failed:
VLC could not connect to "192.******".
Your input can't be opened:
VLC is unable to open the MRL 'rtsp://*****'. Check the log for details.

(I blocked out some of the url because I'm not sure if that is something that should be shared or if it matters. The URL that was in there was the direct URL from my Unifi camera.)
 
i try many way, but not working. Only showing red dot.

it looks like I have to use ffmpeg to stream in youtube from rstp
You can definitely do it with ffmpeg. I have processes doing exactly that but if it plays ok directly in VLC on your system, then it should play with the same URL in a VLC source in the same system. Have you tried using the same URLin a VLC source and telling the VLC source that it is a network connection, not a file?
 
Does your RTSP source URL work in another app, like VLC?

OBS is not a particularly good RTSP client, prone to disconnections. Using VLC as an intermediary may be advisable. What the correct URL for your camera depends entirely on what model of camera you have. If you test the URL you have in VLC and it doesn't work, the URL is wrong.

Is there a way to stream an RTSP connection from VLC to YouTube by converting to RTMP? I have an RTSP connection working in VLC and also from OBS to YouTube using a VLC Media Source but this is very flaky and the OBS connection to youtube times out or disconnects even though the RTSP feed in VLC is working fine. Any advice would be appreciated. I really don't want to have to pay a monthly fee to a third party service to restream this RTSP, it is just not worth it for my single camera and use case. Thanks.
 
Back
Top