Language Selection

English French German Italian Portuguese Spanish

Five fun ways to use a Linux webcam

Filed under
Hardware

So you just set up a Linux-compatible webcam. You've tested it with Kopete, and you can send images on MSN and Yahoo! Now what? Here are some fun things you can try.

Record yourself

One of the simplest ways you can record webcam videos is with mencoder. Using the Video4Linux driver, mencoder can take input from the webcam and save it in an uncompressed AVI file. Use the following command line to record an AVI with a resolution of 320x240 pixels.

mencoder tv:// -tv driver=v4l:width=320:height=240:device=/dev/video0 -nosound -ovc lavc -o wcrecording.avi

Substitute /dev/video0 with the device node used by your USB webcam. Since my low-budget webcam doesn't have a microphone, I use the -nosound option to skip audio recording.

If you'd rather use a GUI to do the recording, try Video4Linux Grab. It can encode DivX and XviD files of the webcam input in real time using V4L. You can choose any other video and audio codec available on your system and use the GUI to select an aspect ratio.

Make a video stream

More Here




Also at linux.com:

When you have shelled out for a swanky mouse like the Logitech VX Nano, you want to make the most out of your investment, which means making its programmable buttons work. However, many Linux distributions recognize most mice as generic pointing devices, so none of the fancy extra buttons work right out of the box. The btnx utility can help you to turn your mouse into the versatile tool it is meant to be.

btnx comes in two parts: the btnx daemon that does the behind-the-scenes work of managing mouse button events, and the btnx-config tool, a graphical front end that helps you configure mouse button actions. btnx's Web site provides packages for Ubuntu and openSUSE, as well as source code archives for other distributions. As often happens, the packages are a step behind the source code distribution, so if you want to install the latest version of btnx, you have to go the usual ./configure; make; make install route.

Get the most out of your mouse with btnx

More in Tux Machines

today's howtos

UKSM Is Still Around For Data Deduplication Of The Linux Kernel

Several years back we wrote about Ultra Kernel Samepage Merging (UKSM) for data de-duplication within the Linux kernel for transparently scanning all application memory and de-duping it where possible. While the original developer is no longer active, a new developer has been maintaining the work and continues to support it on the latest Linux kernel releases. Read more

Why Dell’s gamble on Linux laptops has paid off

The whole juggernaut that is now Linux on Dell started as the brainchild of two core individuals, Barton George (Senior Principal Engineer) and Jared Dominguez (OS Architect and Linux Engineer). It was their vision that began it all back in 2012. It was long hours, uncertain futures and sheer belief that people really did want Linux laptops that sustained them. Here is the untold story of how Dell gained the top spot in preinstalled Linux on laptops. Where do you start when no one has ever really even touched such a concept? The duo did have some experience of the area before. George explained that the XPS and M3800 Linux developer’s laptops weren’t Dell’s first foray into Linux laptops. Those with long memories may remember Dell testing the waters for a brief while by having a Linux offering alongside Windows laptops. By their own admission it didn’t work out. “We misread the market,” commented George. Read more Also: New Entroware Aether Laptop for Linux Powered with Ubuntu

A Short MATE Desktop 1.17 Review in February 2017

MATE 1.17 is a testing release, it has no official announcement like 1.16 stable release (odd = unstable, even = stable). But what made me interested is because Ubuntu MATE 17.04 includes it by default so I write this short review. The most fundamental news is about MATE Desktop is now completely ported to GTK+3 leaving behind GTK+2. You may be interested seeing few changes and I have tried Ubuntu MATE 17.04 Alpha 2 to review MATE 1.17 below. Enjoy MATE 1.17! Read more Also: What's up with the hate towards Freedesktop?