"Remote Path" definition in Monitor/ Source tab ,

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
bisana
Posts: 23
Joined: Sun Nov 11, 2007 4:10 am

"Remote Path" definition in Monitor/ Source tab ,

Post by bisana »

Hi
In the monitor definition , For the source if I select remote as source type , I have to mention about Remote Host Path . From the reading the previous postings I get a idea that this remote path is the path where the remote camera stores the file . How could we find it out if the camera docs does not give much info about this “Pathâ€
A Linux User
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post by coke »

What kind of camera is it? Might already be listed somewhere here, or in the presets. Otherwise, try right-clicking on the image in the normal web view of the camera, and see if it'll tell you the source of the image.
bisana
Posts: 23
Joined: Sun Nov 11, 2007 4:10 am

Post by bisana »

Hi
Thanks for the reply. I am not from CCTV field , As a hobby I am trying it out since I got the hardware
I happened to get a panasonic network camera WV-NP244 .
I searched this camera user manual , specs , and all the options through the web interface. Unfortunaltely I was not able to find info about the "path" definition

I wanted to do a CCTV setup using zoneminder and this camera .
With the camera web interface I can see the images . But I want to work it with ZM and have experience in ZM
From the we interface I cannot right click the image
But I installed WireShark ,checked the traffic between XP machine and the camera . it this way I got we url which I is given below
/cgi-bin/getuid?FILE=1&vcodec=mpeg-4

/cgi-bin/mpeg4?connect=start&protocol=rtp&vmdinfo=none&UID=29293&my_port=9906

/cgi-bin/keep_alive?mode=mpeg4&protocol=rtp&UID=29293


I had given the above path value one by one in path def for the source tab for the monitor definition and checked . I was not able to get the image

Then I replaced "mpeg" with "jpeg" and checked I was not able to get the image , Only I could get a black screen

Guidance requested for this
Thanks
Joseph John
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

you will need to find a jpeg source, maybe a snapshot commande etc?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
bisana
Posts: 23
Joined: Sun Nov 11, 2007 4:10 am

Not able to give the correct path

Post by bisana »

Hi James
Thanks for the reply
I did search for jpeg source url , I was able to get to this info using wireshark
/cgi-bin/jpeg?connect=start&framerate=5&resolution=320&vmdinfo=none&UID=31676
/cgi-bin/getuid?FILE=1&vcodec=jpeg
I had put this value in the source path and I was not able to see the images

Can u please advice me on how to get the source path for this particular model . I did not understand about "snapshot commande" which u had mentioned
Thanks
Joseph John
A Linux User
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if i were you id test with firefox or a browser.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
bisana
Posts: 23
Joined: Sun Nov 11, 2007 4:10 am

Got the path , through URL I can see , but not through XM

Post by bisana »

Hi
Thanks for the reply
I had tried with FireFox , installed with developer plugin . Even though the WV-NP244 web access is not viewed properly using FireFox , I managed to get the link"http://192.168.21.40/cgi-bin/getuid?file=1"
using this link I tried to see the source code and found the code


}
objVideo.JPEGPushUrl = "http://" + location.host + "/cgi-bin/jpeg?connect=start&framerate=" + iJpegInter + "&resolution=" + iResolution + "&vmdinfo=none&UID=" + giUid;
.
.
}


Based on above code I started to give url "http://192.168.21.40/cgi-bin/jpeg?connect=start " in the browser I was able to view the images

through the web page , only thing I have to do is to refresh the web page after some time to see the it live

Now in the "ZM" monitor
In the source tab I had given the path "
/cgi-bin/jpeg?connect=start
" . Using this path also I was not able to see anything

Did I miss anything to be done
Thanks
Joseph John
A Linux User
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if that returns a still image (i assume) what is the res of the image and have you matched that res in your config?

If so what is it and what do your logs now say.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
bisana
Posts: 23
Joined: Sun Nov 11, 2007 4:10 am

Post by bisana »

Hi James
After a long try . we were able to get the images through ZM
The remote host path for this camera should be
/cgi-bin/camera?resolution=320
We are able to see the images
Thanks
Joseph John
A Linux User
Post Reply