Taking a Webcam-Snapshot on Ubuntu/Dell Vostro 1510

Allgemein Kommentare deaktiviert

Today i got to take snapshots with the integrated camera of my Dell Vostro 1510!

After some tries using mplayer, gqcam, camstreamer and others, I thought it would never work. But some adjustment of the parameters passed to mplayer it finally worked to get out movies:

mencoder tv:// -tv driver=v4l2:device=/dev/video0 -ofps 60 -ovc lavc -lavcopts vcodec=mjpeg -o test.avi

To record single images use these commands:

mplayer -vo jpeg -fps30 tv:// -tv driver=v4l2:device=/dev/video0 -frames 1

The file 00000001.jpg now contains your screenshot!

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS