Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:guides:webcam [2014/04/18 18:09] pankso |
en:guides:webcam [2014/04/18 18:13] pankso |
||
---|---|---|---|
Line 24: | Line 24: | ||
# tazpkg -gi 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 | ||
+ | |||