Webcam on separate machine

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
Simpler
Posts: 53
Joined: Mon Nov 02, 2015 12:40 am

Webcam on separate machine

Post by Simpler »

I have ZoneMinder running on a linux machine on my LAN. Is it possible to use a webcam attached to one of my Windows 10 machines on the same LAN as an IP camera?

Thanks
bbunge
Posts: 2831
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Webcam on separate machine

Post by bbunge »

Yes. But you will need software to stream the camera. Try Yawcam http://www.yawcam.com/
Simpler
Posts: 53
Joined: Mon Nov 02, 2015 12:40 am

Re: Webcam on separate machine

Post by Simpler »

Thanks for the tip @bbunge.

I'm trying yawcam, but all I'm getting in ZoneMinder is a blue screen with the timestamp in the upper left for that monitor. I enabled "Stream" in yawcam.

I'm not sure that I have the "Source" setting correct in ZoneMinder.

I have the following set:
- Source Type: Remote
- Remote Protocol: HTTP
- Remote Hostname: <the internal ip address of the machine with the webcam>
- Remote Host Port: 8081
- Remote Host Path: http://<internal ip>:8081

I've tried some other options as well, but this should work. When I bring up a browser with that URL, it shows the live stream.
Simpler
Posts: 53
Joined: Mon Nov 02, 2015 12:40 am

Re: Webcam on separate machine

Post by Simpler »

I also noticed the following over an over in my logs:

Code: Select all

2016-09-14 21:14:52.312994	zmc_m3		27267	ERR	Unable to get response, disconnecting	zm_remote_camera_http.cpp	1141
2016-09-14 21:14:52.265356	zmc_m3		27267	ERR	Unrecognised content type 'text/html'	zm_remote_camera_http.cpp	856
Pure L
Posts: 16
Joined: Sat Dec 03, 2011 5:50 pm

Re: Webcam on separate machine

Post by Pure L »

Any update on this issue?

I'm having the exact same problem.
Pure L
Posts: 16
Joined: Sat Dec 03, 2011 5:50 pm

Re: Webcam on separate machine

Post by Pure L »

rockedge
Posts: 1166
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Webcam on separate machine

Post by rockedge »

I do a simple solution.....I run zoneminder on the machine with the local camera...let that ZM stream the local camera and then use the second machine running ZM to monitor the stream as a network camera.

So in summary: use ZoneMinder to make the local camera into a network camera.
Pure L
Posts: 16
Joined: Sat Dec 03, 2011 5:50 pm

Re: Webcam on separate machine

Post by Pure L »

You're preaching to the choir, rockedge. I do that myself.

This is the wife's windows box though. And it's the closest computer to the camera I'm running.

To be honest, although I got it working in ZM (using yawcam on her windows machine) there's such an incredible amount of delay that it's not really worth it. Yawcam allows one to navigate straight to the cam though (where there's very, very little delay) so that's nice. I've been using a firefox extension to rotate my tabs so I can then see my ZM cams as well as the yawcam camera that's on another tab.

Thanks for the reply.
mikb
Posts: 519
Joined: Mon Mar 25, 2013 12:34 pm

Re: Webcam on separate machine

Post by mikb »

- Remote Hostname: <the internal ip address of the machine with the webcam>
- Remote Host Port: 8081
- Remote Host Path: http://<internal ip>:8081

Your settings feel redundant. Maybe that's why it doesn't work in ZoneMinder.

Mine is, simply :-

Remote Hostname: cam01
Remote Host Port:80
Remote Host Path: image.cgi

Which ZM would assemble into "http(s)://cam01:80/image.cgi" and that works.

OTOH: Yours would assemble to "http://192.168.0.1:8081:http://192.168.0.1:8081" which is a bit of a dog's breakfast.

Unless ZM is smart enough to remove your excess answers ... ! Try putting JUST the name/IP address, JUST the port number, and JUST the path from the top level into the three boxes.
Post Reply