Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Forum for questions and support relating to the 1.28.x releases only.
Locked
atai2016
Posts: 3
Joined: Sat Jan 02, 2016 4:03 pm

Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Post by atai2016 »

Hi, everyone, sorry for my bad English because it's not my first language.

I had an older computer installed ubuntu server 14.04.3 LTS with XFCE desktop and zoneminder 1.26.5 days ago. It worked well and captured images from Logitech webcam c310 after add the line [$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';] into /usr/bin/zmdc.pl according to the network teaching.

However, I liked the flat skin lacked on ZM 1.26.x, so I re-installed ubuntu server 14.04.3 and zoneminder 1.28.1 from ppa:iconnor/zoneminder as the same procedures even add the above line into /usr/bin/zmdl.pl. Unfortunately, it can't capture the images from c310 this time although I tried many methods.

Therefore, anyone kindly tell me if anything I lost or only a bug of the new version? Sincerely..

Information about my ubuntu kernel: Linux 3.19.0-42-generic #48~14.04.1-Ubuntu SMP Fri Dec 18 10:25:23 UTC 2015 i686 i686 i686 GNU/Linux

Zoneminder setting for Logitech c310: Local; Modect; Video for Linux version 2; NTSC; *YUYV; 24 bit coloue; and 640X480

Image

Image

Image

Image

Image

Image

Thanks very much!!
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Post by bbunge »

I have used several Logitech USB cams with few issues. Have never had to modify any Zoneminder files...

Device Path /dev/video0

Device Format PAL B

Start with 640x480 or 320x240 resolution
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Post by knight-of-ni »

Permission denied error message means exactly what it says. You don't have permission to access /dev/video0 or some other application has got the device open. Has the web server user account been added to the video group?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
atai2016
Posts: 3
Joined: Sat Jan 02, 2016 4:03 pm

Re: Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Post by atai2016 »

It works!

I just lost this step:
$ sudo usermod -a -G video www-data

I can see the webcam images again after this.

Thank you all!
Locked