MichaelSchimekHmschimek@gmx.atBillDirksOriginal author of the V4L2 API and
documentation.HansVerkuilDesigned and documented the VIDIOC_LOG_STATUS ioctl,
the extended control ioctls, major parts of the sliced VBI API, the
MPEG encoder and decoder APIs and the DV Timings API.hverkuil@xs4all.nlMartinRubliDesigned and documented the VIDIOC_ENUM_FRAMESIZES
and VIDIOC_ENUM_FRAMEINTERVALS ioctls.AndyWallsDocumented the fielded V4L2_MPEG_STREAM_VBI_FMT_IVTV
MPEG stream embedded, sliced VBI data format in this specification.
awalls@md.metrocast.netMauroCarvalho ChehabDocumented libv4l, designed and added v4l2grab example,
Remote Controller chapter.mchehab@redhat.comMuralidharanKaricheriDocumented the Digital Video timings API.m-karicheri2@ti.comPawelOsciakDesigned and documented the multi-planar API.pawel AT osciak.comSakariAilusSubdev selections API.sakari.ailus@iki.fi19992000200120022003200420052006200720082009201020112012Bill Dirks, Michael H. Schimek, Hans Verkuil, Martin
Rubli, Andy Walls, Muralidharan Karicheri, Mauro Carvalho Chehab,
Pawel OsciakExcept when explicitly stated as GPL, programming examples within
this part can be used and distributed without restrictions.3.52012-05-07sa, snAdded V4L2_CTRL_TYPE_INTEGER_MENU and V4L2 subdev
selections API. Improved the description of V4L2_CID_COLORFX
control, added V4L2_CID_COLORFX_CBCR control.
Added camera controls V4L2_CID_AUTO_EXPOSURE_BIAS,
V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE, V4L2_CID_IMAGE_STABILIZATION,
V4L2_CID_ISO_SENSITIVITY, V4L2_CID_ISO_SENSITIVITY_AUTO,
V4L2_CID_EXPOSURE_METERING, V4L2_CID_SCENE_MODE,
V4L2_CID_3A_LOCK, V4L2_CID_AUTO_FOCUS_START,
V4L2_CID_AUTO_FOCUS_STOP, V4L2_CID_AUTO_FOCUS_STATUS
and V4L2_CID_AUTO_FOCUS_RANGE.
2012-05-01hvAdded VIDIOC_ENUM_DV_TIMINGS, VIDIOC_QUERY_DV_TIMINGS and
VIDIOC_DV_TIMINGS_CAP.
3.42012-01-25snAdded JPEG compression
control class.
3.32012-01-11hvAdded device_caps field to struct v4l2_capabilities.3.22011-08-26hvAdded V4L2_CTRL_FLAG_VOLATILE.3.12011-06-27mcc, po, hvDocumented that VIDIOC_QUERYCAP now returns a per-subsystem version instead of a per-driver one.
Standardize an error code for invalid ioctl.
Added V4L2_CTRL_TYPE_BITMASK.2.6.392011-03-01mcc, poRemoved VIDIOC_*_OLD from videodev2.h header and update it to reflect latest changes. Added the multi-planar API.2.6.372010-08-06hvRemoved obsolete vtx (videotext) API.2.6.332009-12-03mkAdded documentation for the Digital Video timings API.2.6.322009-08-31mccNow, revisions will match the kernel version where
the V4L2 API changes will be used by the Linux Kernel.
Also added Remote Controller chapter.0.292009-08-26evAdded documentation for string controls and for FM Transmitter controls.0.282009-08-26glAdded V4L2_CID_BAND_STOP_FILTER documentation.0.272009-08-15mccAdded libv4l and Remote Controller documentation;
added v4l2grab and keytable application examples.0.262009-07-23hvFinalized the RDS capture API. Added modulator and RDS encoder
capabilities. Added support for string controls.0.252009-01-18hvAdded pixel formats VYUY, NV16 and NV61, and changed
the debug ioctls VIDIOC_DBG_G/S_REGISTER and VIDIOC_DBG_G_CHIP_IDENT.
Added camera controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE,
V4L2_CID_ZOOM_CONTINUOUS and V4L2_CID_PRIVACY.0.242008-03-04mhsAdded pixel formats Y16 and SBGGR16, new controls
and a camera controls class. Removed VIDIOC_G/S_MPEGCOMP.0.232007-08-30mhsFixed a typo in VIDIOC_DBG_G/S_REGISTER.
Clarified the byte order of packed pixel formats.0.222007-08-29mhsAdded the Video Output Overlay interface, new MPEG
controls, V4L2_FIELD_INTERLACED_TB and V4L2_FIELD_INTERLACED_BT,
VIDIOC_DBG_G/S_REGISTER, VIDIOC_(TRY_)ENCODER_CMD,
VIDIOC_G_CHIP_IDENT, VIDIOC_G_ENC_INDEX, new pixel formats.
Clarifications in the cropping chapter, about RGB pixel formats, the
mmap(), poll(), select(), read() and write() functions. Typographical
fixes.0.212006-12-19mhsFixed a link in the VIDIOC_G_EXT_CTRLS section.0.202006-11-24mhsClarified the purpose of the audioset field in
struct v4l2_input and v4l2_output.0.192006-10-19mhsDocumented V4L2_PIX_FMT_RGB444.0.182006-10-18mhsAdded the description of extended controls by Hans
Verkuil. Linked V4L2_PIX_FMT_MPEG to V4L2_CID_MPEG_STREAM_TYPE.0.172006-10-12mhsCorrected V4L2_PIX_FMT_HM12 description.0.162006-10-08mhsVIDIOC_ENUM_FRAMESIZES and
VIDIOC_ENUM_FRAMEINTERVALS are now part of the API.0.152006-09-23mhsCleaned up the bibliography, added BT.653 and
BT.1119. capture.c/start_capturing() for user pointer I/O did not
initialize the buffer index. Documented the V4L MPEG and MJPEG
VID_TYPEs and V4L2_PIX_FMT_SBGGR8. Updated the list of reserved pixel
formats. See the history chapter for API changes.0.142006-09-14mrAdded VIDIOC_ENUM_FRAMESIZES and
VIDIOC_ENUM_FRAMEINTERVALS proposal for frame format enumeration of
digital devices.0.132006-04-07mhsCorrected the description of struct v4l2_window
clips. New V4L2_STD_ and V4L2_TUNER_MODE_LANG1_LANG2
defines.0.122006-02-03mhsCorrected the description of struct
v4l2_captureparm and v4l2_outputparm.0.112006-01-27mhsImproved the description of struct
v4l2_tuner.0.102006-01-10mhsVIDIOC_G_INPUT and VIDIOC_S_PARM
clarifications.0.92005-11-27mhsImproved the 525 line numbering diagram. Hans
Verkuil and I rewrote the sliced VBI section. He also contributed a
VIDIOC_LOG_STATUS page. Fixed VIDIOC_S_STD call in the video standard
selection example. Various updates.0.82004-10-04mhsSomehow a piece of junk slipped into the capture
example, removed.0.72004-09-19mhsFixed video standard selection, control
enumeration, downscaling and aspect example. Added read and user
pointer i/o to video capture example.0.62004-08-01mhsv4l2_buffer changes, added video capture example,
various corrections.0.52003-11-05mhsPixel format erratum.0.42003-09-17mhsCorrected source and Makefile to generate a PDF.
SGML fixes. Added latest API changes. Closed gaps in the history
chapter.0.32003-02-05mhsAnother draft, more corrections.0.22003-01-15mhsSecond draft, with corrections pointed out by Gerd
Knorr.0.12002-12-01mhsFirst draft, based on documentation by Bill Dirks
and discussions on the V4L mailing list.Video for Linux Two API SpecificationRevision 3.5
&sub-common;
&sub-pixfmt;
&sub-io;
Interfaces &sub-dev-capture; &sub-dev-overlay; &sub-dev-output; &sub-dev-osd; &sub-dev-codec; &sub-dev-effect; &sub-dev-raw-vbi; &sub-dev-sliced-vbi; &sub-dev-teletext; &sub-dev-radio; &sub-dev-rds; &sub-dev-event; &sub-dev-subdev;
&sub-driver;
&sub-libv4l;
&sub-compat;
Function Reference
&sub-close;
&sub-ioctl;
&sub-create-bufs;
&sub-cropcap;
&sub-dbg-g-chip-ident;
&sub-dbg-g-register;
&sub-decoder-cmd;
&sub-dqevent;
&sub-dv-timings-cap;
&sub-encoder-cmd;
&sub-enumaudio;
&sub-enumaudioout;
&sub-enum-dv-presets;
&sub-enum-dv-timings;
&sub-enum-fmt;
&sub-enum-framesizes;
&sub-enum-frameintervals;
&sub-enuminput;
&sub-enumoutput;
&sub-enumstd;
&sub-g-audio;
&sub-g-audioout;
&sub-g-crop;
&sub-g-ctrl;
&sub-g-dv-preset;
&sub-g-dv-timings;
&sub-g-enc-index;
&sub-g-ext-ctrls;
&sub-g-fbuf;
&sub-g-fmt;
&sub-g-frequency;
&sub-g-input;
&sub-g-jpegcomp;
&sub-g-modulator;
&sub-g-output;
&sub-g-parm;
&sub-g-priority;
&sub-g-selection;
&sub-g-sliced-vbi-cap;
&sub-g-std;
&sub-g-tuner;
&sub-log-status;
&sub-overlay;
&sub-qbuf;
&sub-querybuf;
&sub-querycap;
&sub-queryctrl;
&sub-query-dv-preset;
&sub-query-dv-timings;
&sub-querystd;
&sub-prepare-buf;
&sub-reqbufs;
&sub-s-hw-freq-seek;
&sub-streamon;
&sub-subdev-enum-frame-interval;
&sub-subdev-enum-frame-size;
&sub-subdev-enum-mbus-code;
&sub-subdev-g-crop;
&sub-subdev-g-fmt;
&sub-subdev-g-frame-interval;
&sub-subdev-g-selection;
&sub-subscribe-event;
&sub-mmap;
&sub-munmap;
&sub-open;
&sub-poll;
&sub-read;
&sub-select;
&sub-write;
Video For Linux Two Header File
&sub-videodev2-h;
Video Capture Example
&sub-capture-c;
Video Grabber example using libv4lThis program demonstrates how to grab V4L2 images in ppm format by
using libv4l handlers. The advantage is that this grabber can potentially work
with any V4L2 driver.
&sub-v4l2grab-c;
&sub-media-indices;
&sub-biblio;