v4l-utils---------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:http://git.linuxtv.org/v4l-utils.gitThose utilities follow the latest Linux Kernel media API, as documentedat:http://linuxtv.org/downloads/v4l-dvb-apis/Any questions/remarks/patches can be sent to the linux-media mailinglist.See https://linuxtv.org/lists.php for more information about the mailinglist.There is also a wiki page for the v4l-utils:https://linuxtv.org/wiki/index.php/V4l-utils--------Building--------A number of packages is required to fully build v4l-utils. The firststep is to install those packages. The package names are different oneach distro.On Debian and derivated distributions, you need to install the followingpackages with apt-get or aptitude:debhelper dh-autoreconf autotools-dev autoconf-archivedoxygen graphviz libasound2-devlibtool libjpeg-dev libqt4-dev libqt4-opengl-dev libudev-dev libx11-devpkg-config udev make gcc gitOn 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 atlinuxtv.org).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-devellibudev-devel mesa-libGLU-devel(Or qt-devel instead of qt5-qtbase-devel for qt4)After downloading and installing the needed packages, you should run:./bootstrap.sh./configuremakeIf ./configure exit with some errors try:autoreconf -i --force./configureAnd, to install on your system:sudo make installOptional features^^^^^^^^^^^^^^^^^Please notice that there's an extra feature to add an extra table todecode Japanese DVB tables via iconv. This is meant to be used whenthe iconv itself doesn't come with the ARIB-STD-B24 and EN300-468-TAB00tables.That requires not only the gconv package, but it also needs to be manuallyenabled with:--enable-gconv----------versioning----------The v4l-utils doesn't quite follow the release versioning definedat semver.org.Instead, since version 1.0, it uses:MAJOR.MINOR.PATCHWhere:MINOR - an odd number means a development version. Whenthe development is closed, we release an evennumbered version and start a newer odd version;MAJOR - It is incremented when MINOR number starts to betoo 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 currentdeveopment version (with uses the master branch at the git tree).The PATCH meaning actually depends if the version is stableor 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 thelibraries might change, although we do all the efforts for notdoing it, except when inevitable.The TODO files should specify the events that will generateAPI/ABI breaks.---------------media libraries---------------There are currently three media libraries defined at /lib directory,meant to be used internally and by other applications.libv4l------This library is meant to be used by applications that need totalk with V4L2 devices (webcams, analog TV, stream grabbers).It can be found on the following directories:lib/libv4l1lib/libv4l2lib/libv4l-mplanelib/libv4lconvertSee README.libv4l for more information on libv4l.The libv4l is released under the GNU Lesser General Public License.libdvbv5--------This library is meant to be used by digital TV applications thatneed to talk with media hardware.Full documentation is provided via Doxygen. It can be built,after configuring the package, with:$ make doxygen-runIt is possible to generate documentation in html, man pages and pdfformats.The documentation is also available via web, at:http://linuxtv.org/docs/libdvbv5/It can be found on the following directory:lib/libdvbv5The libdvbv5 is released under GPL version 2.libv4l2rds----------This library provides support for RDS radio applications.It can be found on the following directory:lib/libv4l2rdsThe libv4l is released under the GNU Lesser General Public License.---------Utilities---------The utilities are stored under /util directory.The (for now for v4l-utils private use only) libv4l2util library isreleased under the GNU Lesser General Public License, all other code isreleased under the GNU General Public License.v4l-utils includes the following utilities:decode_tm6000:Decodes tm6000 proprietary format streams.Installed by make install under <prefix>/bin.ir-keytable: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 foundunder utils/keytable/keycodes.v4l-keytable does not get installed by make install.ir-ctl:A swiss-knife tool to handle raw IR and to set lirc optionsqv4l2:QT v4l2 control panel application.Installed by make install under <prefix>/bin.rds-saa6588:Poll i2c RDS receiver [Philips saa6588].rds-saa6588 does not get installed by make install.v4l2-compliance:Tool to test v4l2 API compliance of drivers.Installed by make install under <prefix>/bin.v4l2-ctl:Tool to control v4l2 controls from the cmdline.Installed by make install under <prefix>/bin.v4l2-dbg:Tool to directly get and set registers of v4l2 devices,this requires a kernel >= 2.6.29 with the ADV_DEBUG optionenabled. This tool can only be used by root and is meantfor development purposes only!Installed by make install under <prefix>/sbin.v4l2-sysfs-path:FIXME add description.Installed by make install under <prefix>/bin.xc3028-firmware: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 thispackage to do the synchronism.For the sync to work, you need to run it on with 64 bits userspace andbe sure that glibc has the development package for 32 bits.For Fedora, this is provided via this package: glibc-devel.i686There are some steps required:step 1) at the Kernel git tree:We need to sanitize the headers to be installed. To do that, you shouldrun$ 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 for32 and 64 bits, as otherwise the next step will fail.step 3) at v4l-utils tree:$ export KERNEL_DIR=location/of/the/kernel/tree make sync-with-kernelAlternatively, steps 1 to 3 can be replaced with:export KERNEL_DIR=location/of/the/kernel/tree && (cd $KERNEL_DIR && make headers_install INSTALL_HDR_PATH=usr/) && make sync-with-kernelstep 4)Remove the usr/ from the Kernel tree.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。