vlc won't run with my webcam.. but ekiga does

*nix specific usage questions
fredmj
New Cone
New Cone
Posts: 3
Joined: 12 Nov 2009 21:27

vlc won't run with my webcam.. but ekiga does

Postby fredmj » 12 Nov 2009 22:12

Hello everyone,

I am trying to use my webcam in order to stream it pn my network.
My cam is :

Code: Select all

301b Z-Star Microelectronics Corp. ZC0301 Webcam
My system is :

Code: Select all

CentOS 2.6.18-164.6.1.el5 x86_64
and I have installed the following module :

Code: Select all

zc0301 83781 0 gspca 683984 0 compat_ioctl32 41793 1 gspca videodev 58689 2 zc0301,gspca v4l2_common 57153 3 zc0301,compat_ioctl32,videodev v4l1_compat 44613 1 videodev
I get my devives :

Code: Select all

[fredmj@XXXXX ~]$ ls -al /dev/video* lrwxrwxrwx 1 root root 6 nov 12 21:28 /dev/video -> video0 crw------- 1 root root 81, 0 nov 12 21:28 /dev/video0
but when I simply tried a :

Code: Select all

vlc v4l2://dev/video0 [00000426] v4l2 demux error: cannot open video device (Aucun fichier ou répertoire de ce type) ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM dev/video0 [00000426] v4l2 demux error: cannot open device dev/video0 for ALSA audio (Aucun fichier ou répertoire de ce type) [00000426] v4l2 demux error: cannot open device dev/video0 for OSS audio (Aucun fichier ou répertoire de ce type) [00000426] v4l2 demux error: cannot open video device (Permission non accordée) [00000429] v4l2 access error: cannot open video device (Aucun fichier ou répertoire de ce type) [00000429] v4l2 access error: cannot open video device (Permission non accordée) [00000425] main input error: open of `v4l2://dev/video0' failed: could not create access [...]
But my user account seems correctly configured :

Code: Select all

[root@XXXXX fredmj]# id fredmj uid=500(fredmj) gid=500(fredmj) groupes=500(fredmj),0(root) context=user_u:system_r:unconfined_t
What I'm doing wrong?
I have to change the udev confguration?

Thanks for any help....

fredmj
New Cone
New Cone
Posts: 3
Joined: 12 Nov 2009 21:27

Re: vlc won't run with my webcam.. but ekiga does

Postby fredmj » 12 Nov 2009 23:08

OK that was an error about the /dev/video0 access right.

kwizart
Cone that earned his stripes
Cone that earned his stripes
Posts: 164
Joined: 18 Dec 2006 03:43

Re: vlc won't run with my webcam.. but ekiga does

Postby kwizart » 14 Nov 2009 11:46

vlc v4l2:///dev/video0


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests