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

What is Ubuntu?

The open source community is packed full of intriguing projects and companies, so much so that even the biggest of proprietary vendors have moved to embrace it. Ubuntu is one of those open source projects that has developed a wide-spread following. Ubuntu is an open source Linux distribution based on Debian, which is a freely available operating system that uses the Linux kernel. Initially developed for personal computers, it has developed to being used on servers, and smartphones. Development of Ubuntu is led by Canonical, a UK based company that was founded by Mark Shuttleworth. Read more

Hands-on with Ubuntu MATE 16.04 on the Raspberry Pi 2 and 3

To put things into a fair perspective, keep in mind that we are talking about a computer that costs $25 or so and can be used with a display, keyboard and mouse which a lot of people are going to have on hand already. That means for a very small amount of money, you can have a very nice computer running one of the most popular Linux distributions. Some people (including me) might argue that there are really not many (or any) significant advantages of Ubuntu MATE over Raspbian, but even I can't deny that MATE looks more polished, and if you are accustomed to Ubuntu in general or MATE in particular, then this distribution is the way to go. Read more

Solus Project Announces New Tool for Enabling Better Steam Integration on Linux

Ikey Doherty and the Solus Project are proud to announce today the availability of a new project that aims to better integrate the Steam client on various GNU/Linux operating systems. Read more

GNOME 3.21.2 Released

Hi! The second snapshot of the GNOME 3.21 cycle is now available!! To compile GNOME 3.21.2, you can use the jhbuild [1] modulesets [2] (which use the exact tarball versions from the official release). [1] https://developer.gnome.org/jhbuild/ [2] https://download.gnome.org/teams/releng/3.21.2/ The release notes that describe the changes between 3.21.1 and 3.21.2 are available. Go read them to learn what's new in this release: core - https://download.gnome.org/core/3.21/3.21.2/NEWS apps - https://download.gnome.org/apps/3.21/3.21.2/NEWS Read more Also: GNOME 3.21.2 Released With More Wayland Improvements, Flatpak