SliTaz GNU/Linux official and community documentation wiki.
.png
Translations of this page:

This is an old revision of the document!


Webcam on SliTaz

Slitaz provide all the necessary tools to take picture, record and strean a webcam output.

Installation

by default your webcam may not be detected due to missinf kernel drivers and this is normal since SliTaz dont provide webcam support on the LiveCD. To install the drivers and load it:

# tazpkg -gi linux-media
# modprobe uvcvideo

You can check if the kernel loaded correctly the module with: 'dmesg | tail'. The webcam may be used with skype and other visio tools. To try the webcam with Mplayer:

$ mplayer tv:// -tv driver=v4l2:device=/dev/video0 -vo x11

Pictures and recording

To take pictures or record the webcam you van install and use Mplayer:

# tazpkg -gi mplayer

Take a picture:

mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 \
  -fps 15 -vo png -frames 1

Record a video to a file named myvideo.avi:

mencoder tv:// -tv \
  driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=/dev/dsp \
  -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 \
  -o myvideo.avi
 
en/guides/webcam.1397837623.txt.gz · Last modified: 2014/04/18 18:13 by pankso