I have recently completed a surveillance system installation at a remote location. The dedicated server is running Ubuntu 14.04 LTS and is currently connected to 4 IP Cameras on the same subnet. The router is a.Now, I’m attempting to setup a Raspberry Pi to stream video from a camera at the remote location. My goal is to use Zoneminder for recording events and use the Raspberry Pi as a viewer for the primary camera. This is where I’m running into trouble.
I can connect to Zoneminder and the Camera’s web-based management pages remotely, but for some reason I can’t view the camera’s RTSP stream.I have port 554 open and forwarded to the camera I want to connect to. When I enter the RTSP address in VLC without the login credentials, I am prompted for them, so I know it is connecting on some level. However, once I enter the credentials, I receive no error, but also no video. I know the camera is working, because I can log into Zoneminder and see it.Does anyone have any idea what I could be missing?
Jul 17, 2015 The protocol is used for establishing and controlling media sessions between end points. This article describes how to play RTSP video stream of IP cameras on VLC player, QuickTime player, and a mobile phone with popular IP camera viewer App.
I haven't found an answer to my question (at least not any that I like), but I have found a work-around.Based on heavyd's response, I Googled RTSP streams to learn more about how they work. As far as I can tell, he is correct, the video comes back over UDP, but not over predictable ports. That explains why the client can receive RTSP video streams on the same local network, but not remotely. The control channel (port 554) connects, but the returned video packets were being dropped by the router.One suggestion I've seen is to open all ports to receive the stream. I suppose that would work, but that's an awful solution, in my opinion.My work-around was to install OpenVPN, using the Zoneminder box as the VPN server and the Raspberry Pi as the VPN client. Once that was setup and the VPN tunnel was established they were essentially on the same network again, eliminating my port problem. As Artanis said:VLC Tools Preferences Input & codecs Network toggle to RTP over RTSPThis worked for me, after so many days of searching I finally found relief!Here is what I done for my UnionCam (Q2Pro):.
Download iSpyConnect (Opensource). Add a new 'IP Camera with Wizard'. If successful you will see the RTSP link; something like: rtsp://admin:[email protected]:554/user=adminpassword=WEJwpbo6channel=1stream=0.sdp.Set up port forwarding (I followed these steps: ).And finally use VLC with the above mentioned settings.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |