Solved:CCTV:Unable to open video device

Code junkies hangout here

Moderators: ChriThor, LXF moderators

Solved:CCTV:Unable to open video device

Postby JanPihlgren » Wed Jan 06, 2016 8:18 am

I have done an instalation of CCTV as descibed in LXF206, Remote CCTV
After correcting some error I did I succed to access the page.
But the page show the following error:
UNABLE TO OPEN VIDEO DEVICE
in a "picturewindow"
When I run:
$ motion -c /etc/motion/motion.conf

I get the follow error:
.....
1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [ALR] [VID] vid_v4lx_start: Failed to open video device /dev/video0:
....

What to do?
I had to edit /etc/modules
and add the following line:
bcm2835-v4l2
OBS! it is v4 letter l 2
JanPihlgren
 
Posts: 8
Joined: Wed Mar 05, 2008 5:09 am
Location: Marsta, Sweden

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests