News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

UVC video cameras - Motion question

Started by kyfalcon, January 09, 2012, 09:11:42 PM

Previous topic - Next topic

kyfalcon

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


kyfalcon

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.

ladekribs

#3
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

kyfalcon

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.

Schmich

#5
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.

tschak909

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

kyfalcon

Is there an example of this somewhere? If I get some time I can give it a try.

tschak909

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