pub/scm/linux/kernel/git/pratyush/v4l-utils.git  about / heads / tags
mirror of
$ git log --pretty=format:'%h %s (%cs)%d'
482610be cec-ctl: only generate eob for CEC pin events (2022-03-03)
	(HEAD -> master)
467102b5 cec-ctl: fix timestamp log for HPD/5V changes (2022-03-03)
40a51ea5 v4l2-compliance: only check function if an MC is present (2022-02-18)
19460651 Add check for READ ONLY flag (2022-02-17)
1be688f0 Revert "Add check for READ ONLY flag" (2022-02-17)
e5000e09 Add check for READ ONLY flag (2022-02-17)
d124ef52 ir-ctl: report ir overflow (2022-01-28)
d18ba0d8 v4l-utils: sync with latest media staging tree (2022-01-28)
9f0eab72 v4l2-utils: Fix incorrect use of fd in streaming_set_cap2out (2022-01-10)
d4b70174 v4l2-ctl: Operate on output device if specified (2021-12-29)

$ git cat-file blob HEAD:README

Linux utilities and libraries to handle media devices (TV devices,
capture devices, radio devices, remote controllers).

You can always find the latest development v4l-utils in the git repo:

Those utilities follow the latest Linux Kernel media API, as documented

Any questions/remarks/patches can be sent to the linux-media mailinglist.
See for more information about the mailinglist.

There is also a wiki page for the v4l-utils:


A number of packages is required to fully build v4l-utils. The first
step is to install those packages. The package names are different on
each distro.

On Debian and derivated distributions, you need to install the following
packages with apt-get or aptitude:
    debhelper dh-autoreconf autotools-dev autoconf-archive doxygen graphviz
    libasound2-dev libtool libjpeg-dev qtbase5-dev qt5-default
    libqt5opengl5-dev libudev-dev libx11-dev pkg-config udev make gcc git

On Fedora, the package list for a minimal install with dnf or yum is:
	git automake autoconf libtool make gcc gcc-c++ which perl gettext-devel

(git is only requiried if you're cloning from the main git repository at

And, to be able to compile it with all usual functionality with qt5,
you'll need also:
	alsa-lib-devel doxygen libjpeg-turbo-devel qt5-qtbase-devel
	libudev-devel mesa-libGLU-devel

After downloading and installing the needed packages, you should run:


If ./configure exit with some errors try:

	autoreconf -i --force

And, to install on your system:
	sudo make install

Optional features

Please notice that there's an extra feature to add an extra table to
decode Japanese DVB tables via iconv. This is meant to be used when
the iconv itself doesn't come with the ARIB-STD-B24 and EN300-468-TAB00

That requires not only the gconv package, but it also needs to be manually
enabled with:


The v4l-utils doesn't quite follow the release versioning defined

Instead, since version 1.0, it uses:



	MINOR - an odd number means a development version. When
		the development is closed, we release an even
		numbered version and start a newer odd version;

	MAJOR - It is incremented when MINOR number starts to be
		too big. The last change occurred from 0.9.x to 1.0.

	All numbers start with 0.

All versions have their own tags, except for the current
deveopment version (with uses the master branch at the git tree).

The PATCH meaning actually depends if the version is stable
or developent.

For even MAJOR.MINOR versions (1.0, 1.2, 1.4, 1.6, ...)

	PATCH is incremented when just bug fixes are added;

For odd MAJOR.MINOR versions (1.1, 1.3, 1.5, 1.7, ...)
	PATCH is incremented for release candidate versions.

API/ABI stability:

There should not have any API/ABI changes when PATCH is incremented.

When MAJOR and/or MINOR are incremented, the API/ABI for the
libraries might change, although we do all the efforts for not
doing it, except when inevitable.

The TODO files should specify the events that will generate
API/ABI breaks.

media libraries

There are currently three media libraries defined at /lib directory,
meant to be used internally and by other applications.


This library is meant to be used by applications that need to
talk with V4L2 devices (webcams, analog TV, stream grabbers).

It can be found on the following directories:

See README.libv4l for more information on libv4l.

The libv4l is released under the GNU Lesser General Public License.


This library is meant to be used by digital TV applications that
need to talk with media hardware.

Full documentation is provided via Doxygen. It can be built,
after configuring the package, with:
	$ make doxygen-run

It is possible to generate documentation in html, man pages and pdf

The documentation is also available via web, at:

It can be found on the following directory:

The libdvbv5 is released under GPL version 2.


This library provides support for RDS radio applications.

It can be found on the following directory:

The libv4l is released under the GNU Lesser General Public License.


The utilities are stored under /util directory.

The (for now for v4l-utils private use only) libv4l2util library is
released under the GNU Lesser General Public License, all other code is
released under the GNU General Public License.

v4l-utils includes the following utilities:

Decodes tm6000 proprietary format streams.
Installed by make install under <prefix>/bin.

Dump, Load or Modify ir receiver input tables.
The ir tables for remotes which are known by the kernel
(and loaded by default depending on dvb card type) can be found
under utils/keytable/keycodes.
v4l-keytable does not get installed by make install.

A swiss-knife tool to handle raw IR and to set lirc options

QT v4l2 control panel application.
Installed by make install under <prefix>/bin.

Poll i2c RDS receiver [Philips saa6588].
rds-saa6588 does not get installed by make install.

Tool to test v4l2 API compliance of drivers.
Installed by make install under <prefix>/bin.

Tool to control v4l2 controls from the cmdline.
Installed by make install under <prefix>/bin.

Tool to directly get and set registers of v4l2 devices,
this requires a kernel >= 2.6.29 with the ADV_DEBUG option
enabled. This tool can only be used by root and is meant
for development purposes only!
Installed by make install under <prefix>/sbin.

FIXME add description.
Installed by make install under <prefix>/bin.

Xceive XC2028/3028 tuner module firmware manipulation tool.
xc3028-firmware does not get installed by make install.

Syncing with Kernel

There are a number of files on this package that depends on the Linux Kernel.

In order to make easier to keep it in sync, there's a target on this
package to do the synchronism.

For the sync to work, you need to run it on with 64 bits userspace and
be sure that glibc has the development package for 32 bits.

For Fedora, this is provided via this package: glibc-devel.i686

There are some steps required:

step 1) at the Kernel git tree:

We need to sanitize the headers to be installed. To do that, you should

	$ make headers_install INSTALL_HDR_PATH=usr/

This will create the dir "usr/" inside the Kernel tree.

step 2)

Be sure that you have installed both glibc development packages for
32 and 64 bits, as otherwise the next step will fail.

step 3) at v4l-utils tree:

	$ ./ location/of/the/kernel/tree

Alternatively, steps 1 to 3 can be replaced with:

KERNEL_DIR=location/of/the/kernel/tree && (cd $KERNEL_DIR && make headers_install INSTALL_HDR_PATH=usr/) && ./ $KERNEL_DIR

step 4)

Remove the usr/ from the Kernel tree.

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
  ti-5.10      v4l2-ctl/compliance: add routing and streams multiplexed streams (2022-03-09)
* master       cec-ctl: only generate eob for CEC pin events (2022-03-03)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
v4l-utils-1.22.1 Prepare for 1.22.1 release (2021-10-23) tar.gz

# associated public inboxes:
# (number on the left is used for dev purposes)
       2193 linux-media
        132 lkml
         37 u-boot
         36 linux-kernel-mentees
         31 qemu-devel
         29 dri-devel
         25 netdev
         23 linux-arm-kernel
         17 stable
         15 kvm
         14 linux-devicetree
         14 intel-gfx
         14 linux-rockchip
         13 linux-input
         13 git
         12 linux-samsung-soc
         12 dpdk-dev
         11 openembedded-core
         10 buildroot
          9 linux-wireless
          9 xen-devel
          9 alsa-devel
          8 linux-crypto
          8 linux-mm
          8 linuxppc-dev
          8 cluster-devel
          7 linux-api
          6 netfilter-devel
          6 linux-arm-msm
          6 linux-iommu
          6 linux-rdma
          6 amd-gfx
          6 linux-arch
          5 linux-xfs
          5 linux-nfs
          5 linux-mediatek
          5 linux-mips
          5 linux-clk
          5 linux-pci
          5 linux-doc
          5 linux-patches
          5 intel-wired-lan
          4 linux-acpi
          4 linux-amlogic
          4 linux-scsi
          4 linux-usb
          4 linux-renesas-soc
          4 linux-kselftest
          4 linux-tegra
          4 linux-kbuild
          4 iwd
          4 ltp
          4 openembedded-devel
          4 intel-xe
          4 ../../../../../../../igt-dev
          3 bpf
          3 linux-pm
          3 driverdev-devel
          3 linux-gpio
          3 linux-ext4
          3 linux-security-module
          3 linux-f2fs-devel
          3 util-linux
          3 virtualization
          3 containers
          3 linux-sctp
          3 linux-sh
          3 linux-s390
          3 kernel-janitors
          3 loongarch
          2 linux-mtd
          2 linux-block
          2 linux-integrity
          2 linux-fsdevel
          2 linux-nvdimm
          2 fstests
          2 linux-rtc
          2 linux-btrfs
          2 kvmarm
          2 selinux
          2 kernel-hardening
          2 linux-next
          2 linux-parisc
          2 linux-leds
          2 linux-bluetooth
          2 linux-mmc
          2 linux-omap
          2 linux-spi
          2 linux-sparse
          2 linux-pwm
          2 platform-driver-x86
          2 openbmc
          2 dm-devel
          2 keyrings
          2 linux-fbdev
          2 linux-perf-users
          2 lustre-devel
          2 nouveau
          2 sparclinux
          2 nvdimm
          2 yocto
          2 yocto-toaster
          2 bitbake-devel
          2 yocto-meta-virtualization
          2 outreachy
          2 xenomai
          2 batman
          2 poky
          2 qemu-riscv
          2 netfilter
          2 lm-sensors
          1 linux-fscrypt
          1 cocci
          1 linux-riscv
          1 linux-nvme
          1 live-patching
          1 linux-efi
          1 linux-edac
          1 linux-cifs
          1 linux-erofs
          1 linux-snps-arc
          1 linux-hwmon
          1 linux-iio
          1 dmaengine
          1 linux-modules
          1 kernelnewbies
          1 linux-rt-users
          1 linux-sgx
          1 linux-ide
          1 linux-serial
          1 linux-watchdog
          1 linux-trace-devel
          1 linux-hyperv
          1 workflows
          1 rcu
          1 linux-m68k
          1 linux-i3c
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 backports
          1 io-uring
          1 linux-csky
          1 linux-man
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 cip-dev
          1 linux-audit
          1 linux-i2c
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 mm-commits
          1 lttng-dev
          1 linux-fpga
          1 ceph-devel
          1 linux-can
          1 linux-raid
          1 xdp-newbies
          1 phone-devel
          1 linux-hardening
          1 dash
          1 linux-cxl
          1 target-devel
          1 soc
          1 ocfs2-devel
          1 rust-for-linux
          1 ath10k
          1 ath11k
          1 linux-phy
          1 linux-staging
          1 linux-sunxi
          1 mptcp
          1 linux-coco
          1 regressions
          1 ksummit
          1 b43-dev
          1 historical-speck
          1 linux-nfc
          1 linux-bcachefs
          1 ath9k-devel
          1 ntfs3
          1 llvm
          1 fio
          1 ell
          1 ofono
          1 yocto-meta-freescale
          1 yocto-meta-arm
          1 yocto-docs
          1 chrome-platform
          1 ntb
          1 yocto-meta-ti
          1 yocto-meta-arago
          1 damon
          1 asahi
          1 openrisc
          1 kexec
          1 imx
          1 ath12k
          1 b4-sent
          1 linux-trace-kernel
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 linux-um
          1 virtio-dev
          1 virtio-comment
          1 v9fs
          1 ecryptfs
          1 linux-ia64
          1 grub-devel
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 cgroups
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 kvm-ppc
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hexagon
          1 linux-hotplug
          1 linux-kernel-announce
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 reiserfs-devel
          1 linux-metag
          1 linux-x25
          1 linux-nilfs
          1 lvs-devel
          1 linux-oxnas
          1 u-boot-amlogic
          1 lvm-devel
          1 acpica-devel
          1 perfbook
          1 virtio-fs
          1 smatch
          1 ../../../../../../../fuego
          1 ../../../../../../../wireless-regdb
          1 ../../../../../../../powertop

git clone