Remote Host Path

Forum for questions and support relating to the 1.25.x releases only.
Locked
jikamsila
Posts: 4
Joined: Mon Nov 04, 2013 9:09 am

Remote Host Path

Post by jikamsila »

Hie good people,

l am very new to Zoneminder, l am trying to setup a chinese camera for monitoring.l have setup most of the staff but l am not quite sure what l should put on Remote Host Path.Is there a way l can find this path using linux tools.All l am getting at the moment is a bluescreen with timestamp....The log file is giving me below error:


2013-11-04 11:53:26.966935 zmc_m3 3886 WAR Unable to capture image, retrying zm_remote_camera_http.cpp 1092
2013-11-04 11:53:26.966679 zmc_m3 3886 ERR Connection dropped by remote end zm_remote_camera_http.cpp 603
2013-11-04 11:53:26.966063 zmc_m3 3886 WAR Select timed out zm_remote_camera_http.cpp 143
2013-11-04 11:53:24.448442 zmc_m3 3886 WAR Unable to capture image, retrying zm_remote_camera_http.cpp 1092
2013-11-04 11:53:24.447758 zmc_m3 3886 ERR Connection dropped by remote end zm_remote_camera_http.cpp 603
mikb
Posts: 600
Joined: Mon Mar 25, 2013 12:34 pm

Re: Remote Host Path

Post by mikb »

I don't think you can find the remote host path using Linux tools. What you do need is the manual, documentation or something concrete to Google with ...

If it's an IP camera, you will need to know its IP address (or hostname, if your network is set up better), and then the URL to access the .JPG (still) or video stream.

You will often find these in the manual, or from just accessing the camera in a web browser -- forget ZoneMinder for now, and find the URL to the image or video stream by clicking on the image and looking at "Image Properties" in your browser. Or look at the source of the .HTM page the camera serves up when viewing video/images. Once you can see the camera working in a browser, then move on to getting ZM working with it.

If you post the make and model of the camera, someone may know the answer directly, it varies from camera to camera,there's no standard sadly.

You're looking for something like "http://192.168.0.20/image.jpg" or "http://192.168.0.20/video.cgi" ...
jikamsila
Posts: 4
Joined: Mon Nov 04, 2013 9:09 am

Re: Remote Host Path

Post by jikamsila »

...Thanks for the response...l have checked via the browser...lt seems l am using rtsp...now l am not quite sure what l should input on the remote path:lf l open this link via VLC player l can stream feeds from the camera..


rtsp://192.168.1.1/user=icaps&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100

Here is my current configuration
Remote Protocol = RTSP
Remote Method = RTP/RTSP
Remote Hostname = 192.168.1.1
Remote Host Port = 554
Remote Host Path = /user=icaps&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100
Capture Width (pixels) = 640
Capture Height (pixels) = 480
mikb
Posts: 600
Joined: Mon Mar 25, 2013 12:34 pm

Re: Remote Host Path

Post by mikb »

I've never played with rtsp (no hardware that supports it here!), so I'll leave that for someone else to handle ...

It's a good sign that you can see it in the browser and VLC -- at least the camera's working and you have the right URL!
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Remote Host Path

Post by bbunge »

Try FFMPEG

Source Type: Ffmpeg

Source Path: rtsp://192.168.1.1/user=icaps&password=&channel=1&stream=0.sdp?tcp

Not sure if you will need the "real_stream--rtp-caching=100" or not. The "?tcp" tells the system to use TCP and not UDP so you will have better video. Whatever you get to work in VLC should work in ZM with FFMPEG.

bb
jikamsila
Posts: 4
Joined: Mon Nov 04, 2013 9:09 am

Re: Remote Host Path

Post by jikamsila »

l have configured ffmpeg....but l am only seeing a white screen on the mozilla....this is error l am getting on the httpd logs...

ERR [socket_sendto( /tmp/zm/zms-884834s.sock ) failed: No such file or directory],

l have checked the /tmp/zm there is no zms-884834s.sock ... what should create that...l am stuck
Locked