How can I see streaming video from remote browser

Forum for questions and support relating to the 1.24.x releases only.
Locked
j1mw3b
Posts: 26
Joined: Sat Feb 28, 2009 1:28 pm

How can I see streaming video from remote browser

Post by j1mw3b »

I think I have Zoneminder running OK with my el-cheapo Sensoray 611 card.
640x480 and 5 fps for 2 cameras. Gonna add two more and cut to 1 fps (card limit).

I would like to share one or two of the cameras to my relatives up in Nova Scotia - pics of the pool, etc.

I was using motion http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome and it allows me to open additional ports - 1 for each camera.

Can I do this with Zoneminder? I searched the documentation/FAQs and don't see it.

Thanks,

Jim
j1mw3b
Posts: 26
Joined: Sat Feb 28, 2009 1:28 pm

a great camera image

Post by j1mw3b »

BTW, if you want to see a great surveillance camera, check this one out.
OK, maybe this is not appropriate for this forum, but I wish I could afford a camera like this one.

It's where my relatives live.

http://www.novascotiawebcams.ca/~digbyharbour/

Thanks,

Jim
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The only way I can think of is to have Apache proxy the ports. ZM will not do this natively. I would look through Apaches documentation to see if is a possibility.
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

To let them watch a live video feed just give them this URL:

http://YourServer/zm/index.php?view=wat ... &scale=100

Where YourServer is the IP or DNS name of your ZM host, and "mid=1", the 1 is the monitor id.

Note that the video feed will use a bit of your bandwith and extra CPU on your ZM server, I would give them my next suggestion:

To let them see a still of a feed give them this URL:
http://YourServer/cgi-bin/nph-zms?mode= ... &scale=100

Where YourServer is the IP or DNS name of your ZM host, and "monitor=1", the 1 is the monitor id.

This will give them a current frame from the camera, they can hit refresh in their browser to update the image at will.

P.S. It is not a typo, one URL uses mid= and the other uses monitor= :-)
Last edited by Blazer on Mon Mar 23, 2009 3:24 am, edited 1 time in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

True as blazer said and also you can set user rights in ZM which include what monitors they can view.
j1mw3b
Posts: 26
Joined: Sat Feb 28, 2009 1:28 pm

No watchfeed in my index.php

Post by j1mw3b »

Using http://yourserver/zm/index.php?view=wat ... &scale=100

I just get the messate that "view 'watchfeed' does not exist". I found index.php in /srv/www/htdocs/zm and sure enuf, it's not there.
I am sure this is part of the magic of Apache, but being a novice Apache guy, is there an example anywhere of how to set this up?

Thanks,

Jim
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

correct it doesn't exist, it a typo.

should be some thing like
http://<Your_host>/zm/index.php?view=watch&mid=1
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

Oops sorry for the typo! Thanks cordel :)
j1mw3b
Posts: 26
Joined: Sat Feb 28, 2009 1:28 pm

streaming video

Post by j1mw3b »

Thanks all.

That works and even with Internet Explorer.

Now I will try to figure out how to add users and limit what they see.

I am getting the itch to add more cameras and another card, or replace this one with a better one.

Thanks again

Jim
j1mw3b
Posts: 26
Joined: Sat Feb 28, 2009 1:28 pm

streaming video

Post by j1mw3b »

Ummmm.... another question please?

I got the users figured out - that was easy.

Now, I realize that in order to view this from a remote browser, I must forward port 80.

Maybe this is beyond the scope of this forum, but if anyone else has done it pls let me know.

I would still like to use ports 80 and 8080 for local requests. Is there a way to have Zoneminder have it's "view" on a different port?

I got a feeling it's not doable, but opening up 80 to the world is not desirable at all.

BTW, this Zoneminder is one terrific program.

Thanks,

Jim
allanE
Posts: 44
Joined: Mon Feb 09, 2009 1:19 pm
Location: Sharps Chapel,TN

Post by allanE »

If I understand you correctly,I think that "port forwarding" through a firewall/router would do the trick. I have a router which forwards to several different machines and when I need to call machine#1 I forward port my.ip:11000 to port 80 on the zoneminder machine. That would leave the machine locally accessible by port 80 and remotely by whatever port you want,or port 11000 in this example.
Allan
j1mw3b
Posts: 26
Joined: Sat Feb 28, 2009 1:28 pm

video streaming

Post by j1mw3b »

Yes. That would do it. I didn't think about that - normally I only forward incoming ports to specific IPs.

This would be proxying one port to another which is then forwarded to a specific IP.

I have to peer into my Netscreen firewall and figure out how to do this little trick.

Thanks,

Jim
j1mw3b
Posts: 26
Joined: Sat Feb 28, 2009 1:28 pm

video streaming

Post by j1mw3b »

OK. That worked great.

Thanks very much for all the help.

Jim
Locked