v4l2: open /dev/video0: Permission denied
If you try to stream using your webcam throught vlc or xawtv
vlc v4l2:///dev/video0
or
xawtv -c /dev/video0
probably you will have this issue.
To solve it, you must add your user to the video group as follows:
sudo adduser username video
sudo usermod -a -G video username
where username is your user (whoami)
Now restart your computer
Enjoy it!
vlc v4l2:///dev/video0
or
xawtv -c /dev/video0
probably you will have this issue.
To solve it, you must add your user to the video group as follows:
sudo adduser username video
sudo usermod -a -G video username
where username is your user (whoami)
Now restart your computer
Enjoy it!
Comments
Post a Comment