LinuxMCE Forums

General => Users => Topic started by: kyfalcon on January 09, 2012, 09:11:42 PM

Title: UVC video cameras - Motion question
Post by: kyfalcon on January 09, 2012, 09:11:42 PM
I have purchased a bunch of logitech c910 cameras for myself and my family to use with skype. These cameras are HD and provide awesome quality video. My question, is there a way in LMCE to just view their output, I don't care about motion detection, or recording just want to use them as a monitor for the babies room, pets etc. Is this possible?

Thanks,
Kevin
Title: Re: UVC video cameras - Motion question
Post by: DragonK on January 10, 2012, 06:47:13 AM
The wiki has a few guides for USB Webcams.

http://wiki.linuxmce.org/index.php/USB_Surveillance_Camera
http://wiki.linuxmce.org/index.php/Logitech_Quickcam_Pro_5000
http://wiki.linuxmce.org/index.php/Logitech_QuickCam_Sphere

I havent used USB cams before. Only Ip cams.

Karel
Title: Re: UVC video cameras - Motion question
Post by: kyfalcon on January 10, 2012, 02:00:42 PM
I've looked at those and they all use motion. I don't care about motion detection or recording what comes from the camera, i just want to view the live feed.
Title: Re: UVC video cameras - Motion question
Post by: ladekribs on January 10, 2012, 02:35:26 PM
Motion has a streaming functionality where you can open a browser to 192.168.80.1:8000 (increase 1 for each camera)
this feature  is enabled in Linuxmce(0810).

check the motion config files and also site lavrsen.dk/foswiki/bin/view/Motion/WebHome

/etc/motion/thread0.conf will show setting

BR Stefan
Title: Re: UVC video cameras - Motion question
Post by: kyfalcon on January 10, 2012, 03:54:01 PM
I'd like to view them from the security tab, I can always add them as an input source in myth, and use the zoneminder plugin, I would rather stick to lmce. I'll check out that link none the less.
Title: Re: UVC video cameras - Motion question
Post by: Schmich on January 11, 2012, 03:07:56 AM
I had the Quickcam Pro 4000 working on 8.10 for live viewing. It wouldn't get categorized as a security motion trigger (or whatever it's called) even though you could see movement detection on the live view. But if I understand the none-working part is what you don't care about anyway.

I used the Sphere installation guide as they're both supported through PWC. If your camera is supported through UVC you might need to look at the 5000 link or search around on the net how a supported driver can be installed.

I _think_ once installed you can just add it to the Motion Wrapper and view it on the security tab.
Title: Re: UVC video cameras - Motion question
Post by: tschak909 on January 13, 2012, 03:05:28 AM
If somebody can write a radar that can return a list of detected USB cameras, then it can be integrated in the system, and we can make PnP of these devices, a reality.

I ask this of the community, because I can't write all this stuff at the same time, fellas. Please. Help out.

-Thom
Title: Re: UVC video cameras - Motion question
Post by: kyfalcon on January 13, 2012, 05:12:12 PM
Is there an example of this somewhere? If I get some time I can give it a try.
Title: Re: UVC video cameras - Motion question
Post by: tschak909 on January 13, 2012, 05:17:01 PM
any of the *Radar scripts that are in src/NetworkStorage src/PlutoStorageDevices, or src/BootScripts can serve as an example.

Basically, you find the devices using whatever method you wish, then you parse that data, and turn it into parameters for a Device Detected event, and send the message using MessageSend.

Device Detected events have a number of parameters that serve as constraints, and they are all ANDed together, ranging from MAC address, to an explicit device template #, to vendor/model ID pairs, etc.

The only thing needed would be a Generic USB Camera, which would create on the same machine, a motion wrapper, and as part of the script, re-set the parent device of the USB camera from the computer to the motion wrapper, along with device data tweaks so the appropriate behaviour would happen.

There is a script that does the latter in the tree, as part of Motion_Wrapper, but I forget what it is called.

-Thom