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.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

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.

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.

Release Notes: Many more laptop models were added to the upside down devices table. Support for an 8-bit grey format (V4L2_PIX_FMT_GREY) was added. libv4l1 can once again be compiled with newer Linux kernels. Various fixes were made to the utilities. Log parsers were added for cx231xx I2C, saa7134 PCI, sn9c201 USB, and generic USB.

Release Notes: Many more laptop models were added to the upside down devices table. Short frames are now detected, and up to three retries are initiated to get a non short frame. UVC cameras with more than 16 frame sizes are now properly supported. Support for the Xirlink C-It YYVYUY format and for the Konica YUV420 format were added. In the tools, various v4l-keytable improvements and various qv4l2 fixes were made, and v4l2-ctl gained support for s/g_dv_timings.

Release Notes: The new combination of v4l-utils and libv4l is now stable. Various v4l-keytable improvements, v4l2-ctl fixes, and qv4l2 fixes have been made. Many more laptop models have been added to the list of upside-down devices. Some minor bugfixes have been made.

RSS 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.

Screenshot

Project Spotlight

aime

An application extension programming language.

Screenshot

Project Spotlight

Filemonitor

Software to monitor for open files on your system in real time.