v4l-utils

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

v4l-utils is a set of utilities for handling media devices contained in the Video4Linux library package which can be installed by enabling the utils USE flag.

See also
See the webcam article for instructions on how to use v4l-utils to set up a webcam for video capture.

Installation

USE flags

USE flags for media-libs/libv4l v4l-utils libraries and optional utilities

+utils Build the v4l-utils collection of utilities
bpf Enable support for IR BPF decoders
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
dvb Add support for DVB (Digital Video Broadcasting)
jpeg Add JPEG image support
qt6 Add support for the Qt 6 application and UI framework
tracer Build the v4l2-tracer tool and library

Emerge

Install media-libs/libv4l:

root #emerge --ask media-libs/libv4l

Additional packages

gtk-v4l

The GTK+ package media-tv/gtk-v4l is available for controlling webcam v4l preferences.

USE flags for media-tv/gtk-v4l A GTK+ application for controlling V4L preferences of a web cam device

v4l-dvb-saa716x

A driver for saa716x-based dvb cards is available at media-tv/v4l-dvb-saa716x.

USE flags for media-tv/v4l-dvb-saa716x driver for saa716x based dvb cards like TT S2-6400 or Skystar 2 eXpress HD

+strip Allow symbol stripping to be performed by the ebuild for special files
dist-kernel Enable subslot rebuilds on Distribution Kernel upgrades
modules-compress Install compressed kernel modules (if kernel config enables module compression)
modules-sign Cryptographically sign installed kernel modules (requires CONFIG_MODULE_SIG=y in the kernel)

v4l2loopback

media-video/v4l2loopback provides a v4l2 loopback device whose output is its own input.

USE flags for media-video/v4l2loopback v4l2 loopback device whose output is its own input

+strip Allow symbol stripping to be performed by the ebuild for special files
dist-kernel Enable subslot rebuilds on Distribution Kernel upgrades
examples Install examples, usually source code
modules-compress Install compressed kernel modules (if kernel config enables module compression)
modules-sign Cryptographically sign installed kernel modules (requires CONFIG_MODULE_SIG=y in the kernel)

gst-plugins-v4l2

Finally, a gstreamer plugin package is available: media-plugins/gst-plugins-v4l2.

USE flags for media-plugins/gst-plugins-v4l2 plugin for gstreamer

udev Enable virtual/udev integration (device discovery, power and storage device support, etc)

Usage

Invocation

user $v4l2-ctl --help

libcamera

media-libs/libcamera is available in GURU from various overlays[1].

Removal

Unmerge

root #emerge --ask --depclean --verbose media-libs/libv4l

See also

  • darktable — a photography workflow application and RAW developer.
  • Droidcam — a tool to use a smartphone's cameras as webcam on a computer
  • Ffmpeg — a cross platform, free, open source media encoder/decoder toolkit.
  • gPhoto
  • Jellyfin — installation and management of the jellyfin media server
  • Kodi — an open source home theater application.
  • Motion
  • MythTV — a powerful media center and video recording software system.
  • OBS Studio — free software for video recording and live streaming.
  • OpenShot — an open source, cross-platform, video editor, written in Python and C++
  • Streamlink — a command-line utility that can extract video streams and pipe them into a video player.
  • TV Tuner — configuring and using television (TV) tuners with Gentoo Linux

External resources

References