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

More on Tesla's Compliance

10 Best Open Source Forum Software for Linux

A forum is a discussion platform where related ideas and views on a particular issue can be exchanged. You can setup a forum for your site or blog, where your team, customers, fans, patrons, audience, users, advocates, supporters, or friends can hold public or private discussions, as a whole or in smaller groups. If you are planning to launch a forum, and you can’t build your own software from scratch, you can opt for any of the existing forum applications out there. Some forum applications allow you to setup only a single discussion site on a single installation, while others support multiple-forums for a single installation instance. In this article, we will review 10 best open source forum software for Linux systems. By the end of this article, you will know exactly which open source forum software best suites your needs. Read more

(K)Ubuntu: Playing' Tennis and Dropping 32-bit

  • Tennibot is a really cool Ubuntu Linux-powered tennis ball collecting robot
    Linux isn't just a hobby --  the kernel largely powers the web, for instance. Not only is Linux on many web servers, but it is also found on the most popular consumer operating system in the world -- Android. Why is this? Well, the open source kernel scales very well, making it ideal for many projects. True, Linux's share of the desktop is still minuscule, but sometimes slow and steady wins the race -- watch out, Windows! A good example of Linux's scalability is a new robot powered by Linux which was recently featured on the official Ubuntu Blog. Called "Tennibot," the Ubuntu-powered bot seeks out and collects tennis balls. Not only does it offer convenience, but it can save the buyer a lot of money too -- potentially thousands of dollars per year as this calculator shows. So yeah, a not world-changing product, but still very neat nonetheless. In fact, it highlights that Linux isn't just behind boring nerdy stuff, but fun things too.
  • Kubuntu Drops 32-bit Install Images
    If you were planning to grab a Kubuntu 18.10 32-bit download this October you will want to look away now. Kubuntu has confirmed plans to join the rest of the Ubuntu flavour family and drop 32-bit installer images going forward. This means there will be no 32-bit Kubuntu 18.10 disc image available to download later this year.

Suitcase Computer Reborn with Raspberry Pi Inside

Fun fact, the Osborne 1 debuted with a price tag equivalent to about $5,000 in today’s value. With a gigantic 9″ screen and twin floppy drives (for making mix tapes, right?) the real miracle of the machine was its portability, something unheard of at the time. The retrocomputing trend is to lovingly and carefully restore these old machines to their former glory, regardless of how clunky or underpowered they are by modern standards. But sometimes they can’t be saved yet it’s still possible to gut and rebuild the machine with modern hardware, like with this Raspberry Pi used to revive an Osborne 1. Purists will turn their nose up at this one, and we admit that this one feels a little like “restoring” radios from the 30s by chucking out the original chassis and throwing in a streaming player. But [koff1979] went to a lot of effort to keep the original Osborne look and feel in the final product. We imagine that with the original guts replaced by a Pi and a small LCD display taking the place of the 80 character by 24 line CRT, the machine is less strain on the shoulder when carrying it around. (We hear the original Osborne 1 was portable in the same way that an anvil is technically portable.) The Pi runs an emulator to get the original CP/M experience; it even runs Wordstar. The tricky part about this build was making the original keyboard talk to the Pi, which was accomplished with an Arduino that translates key presses to USB. Read more