Projects / v4l-utils and libv4l

v4l-utils and libv4l

v4l-utils is a collection of various video4linux (V4L) and DVB utilities. libv4l is an accompanying collection of libraries that adds a thin abstraction layer on top of video4linux2 (V4L2) devices. The purpose of this layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class. It consists of 3 different libraries. libv4lconvert offers functions to convert from any (known) pixel format to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420. libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent of the drivers for those devices supporting v4l1 compatibility (which many v4l2 drivers do not). libv4l2 offers the v4l2 API on top of v4l2 devices, while adding support for the application transparent libv4lconvert conversion where necessary.

Operating Systems

Recent releases

  •  02 Apr 2014 16:24

    Release Notes: Various improvements and bug fixes were made.

    •  04 Nov 2012 19:06

      Release Notes: Various Pixart JPEG fixes were made. In libv4l, more laptop models were added to the upside-down devices table. Keytable gained support for Sanyo IR and the RC-5-SZ protocol, and missing buttons were added. Various improvements from the development branch were integrated.

      •  05 May 2012 18:30

        Release Notes: Quirk support for forced tinyjpeg fallback has been added. A better luminance quantization table for Pixart JPEG has been introduced in tinyjpeg. Support for libjpeg >= v7 has been added. Software autowhitebalance now converges faster. JL2005BCD support has been improved. In libv4l, some more laptop models have been added to the upside-down devices table. A new matching algorithm for the upside-down table has been introduced. Several further enhancements and bugfixes have been made.

        •  26 Jul 2011 19:11

          Release Notes: In v4l2-ctl, support was added for the new bitmask control type and for the control event, along with small bugfixes. qv4l2 gained support for bitmap controls. A new parser for dumps of em28xx with the drxk frontend was added. In libv4l, some more laptop models were added to the upside down devices table, support for the SE401 pixel format was implemented, and software autogain tweaks were made. Several other minor changes were made.

          •  13 Jun 2011 09:51

            Release Notes: Various enhancements to libv4l were made, resulting in significantly less CPU usage with UVC HD cameras in several scenarios. An experimental library was added for associating video, audio, vbi, and other devices with each other, allowing apps, for example, to automatically figure out which ALSA input device carries the audio for a specific corresponding video device. Many more laptop models were added to the table of upside down devices. Support for the M420, Y10B, and JPGL pixel formats was added. The JPEG decompression code was rewritten for speed. Many further enhancements and fixes were made.

            Recent comments

            02 Nov 2010 11:38 peterhannon

            I am running Ubuntu 10.10 64bit, I updated my software source with the PPA, and so I'm running version 0.8.1-1~mmv4l1 of libv4l-0. However the webcam image is still upside down in both Skype and Google chat.
            I have an ASUSTeK Computer Inc N61Jq laptop, and the webcam is listed with the following information:

            Bus 001 Device 003: ID 13d3:5122 IMC Networks
            Sonix Technology Co., Ltd.
            USB 2.0 Camera

            I thought the issue would be resolved with the latest version of libv4l-0, but it's not, is there anything further I have to do? Thanks.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.