[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Device node for external camera



On 23/09/11 01:14, Panayiotis Karabassis wrote:
> Hi!
> 
> I have an external IP camera which serves video at
> http://192.168.1.20/mjpeg.cgi. Actually I have 5 of them with different
> IPs, but that's beside the point... :-)
> 
> I want to use the program "motion" for motion detection. However it
> requires input from a device node such as /dev/video0.
> 
> How can I create such a device node so that it corresponds to my IP camera?
> 

Just uncomment netcam_url string and assign it a value in ~/motion.conf
It's a great program - though masking can be a little fiddly. Enable the
web interface and you'll find the documentation is more accessible
through it.
You can also edit through the browser interface - default is
http://localhost:8080 - there's a thread for each camera (I run several)
NOTE: you can change the http options in motion.conf so that http is
available externally (don't forget uncomment the password option).
You'll also need to be in the motion group.

Cheers

-- 
"As if growing wasn't hard enough - I had a genius for an older brother.
I'd say "I don't have to do anything!" and he'd say
"Yeah you do - take up space, displace matter"....
I'd go "Oh yeah?"
even as a kid I was king of the comebacks"
— Bill Hicks


Reply to: