[ac38e9dc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[d19fb65] | 7 | <!ENTITY v4l-download-http "https://www.linuxtv.org/downloads/v4l-utils/v4l-utils-&v4l-utils-version;.tar.bz2">
|
---|
[ac38e9dc] | 8 | <!ENTITY v4l-download-ftp " ">
|
---|
[d19fb65] | 9 | <!ENTITY v4l-md5sum "945a38979138997e805828a4a53e53ec">
|
---|
[2a3a49a] | 10 | <!ENTITY v4l-size "1.3 MB">
|
---|
[d19fb65] | 11 | <!ENTITY v4l-buildsize "63 MB">
|
---|
| 12 | <!ENTITY v4l-time "0.5 SBU">
|
---|
[ac38e9dc] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="v4l-utils" xreflabel="v4l-utils-&v4l-utils-version;">
|
---|
| 16 | <?dbhtml filename="atk.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[3acf108] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[ac38e9dc] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>v4l-utils-&v4l-utils-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="v4l-utils">
|
---|
| 26 | <primary sortas="a-v4l-utils">v4l-utils</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to v4l-utils</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>v4l-utils</application> provides a series of utilities for
|
---|
| 34 | media devices, allowing to handle the proprietary formats available at
|
---|
[d19fb65] | 35 | most webcams (libv4l), and providing tools to test V4L devices.
|
---|
[ac38e9dc] | 36 | </para>
|
---|
| 37 |
|
---|
[2a3a49a] | 38 | &lfs78_checked;
|
---|
[ac38e9dc] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&v4l-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&v4l-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &v4l-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &v4l-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &v4l-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &v4l-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">v4l-utils Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="glu"/>,
|
---|
| 79 | <xref linkend="libjpeg"/>, and
|
---|
[ba8cf0e] | 80 | <xref linkend="mesa"/>
|
---|
[ac38e9dc] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
| 85 | <xref linkend="alsa-lib"/> and
|
---|
| 86 | <xref linkend="qt4"/> or
|
---|
| 87 | <xref linkend="qt5"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
| 92 | <xref linkend="doxygen"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/v4l-utils"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of v4l-utils</title>
|
---|
| 102 |
|
---|
[d19fb65] | 103 | <para>
|
---|
| 104 | If both Qt4 and Qt5 are installed, Qt5 will be used. If you choose to
|
---|
| 105 | build against Qt4, temporarily hide it from
|
---|
| 106 | <envar>PKG_CONFIG_PATH</envar>, issuing:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <screen><userinput>SAVEPATH=$PKG_CONFIG_PATH &&
|
---|
| 110 | PKG_CONFIG_PATH="\
|
---|
| 111 | `echo $PKG_CONFIG_PATH | sed 's@:/opt/qt5/lib/pkgconfig@@'`"</userinput></screen>
|
---|
| 112 |
|
---|
[ac38e9dc] | 113 | <para>
|
---|
| 114 | Install <application>v4l-utils</application> by running
|
---|
| 115 | the following commands:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 119 | --sysconfdir=/etc \
|
---|
| 120 | --disable-static &&
|
---|
| 121 | make</userinput></screen>
|
---|
| 122 |
|
---|
[d19fb65] | 123 | <para>
|
---|
[248bac5] | 124 | Again, if both Qt4 and 5 are installed and you chose to build against Qt4,
|
---|
| 125 | restore <envar>PKG_CONFIG_PATH</envar>:
|
---|
[d19fb65] | 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen><userinput>PKG_CONFIG_PATH=$SAVEPATH &&
|
---|
| 129 | unset SAVEPATH</userinput></screen>
|
---|
| 130 |
|
---|
[ac38e9dc] | 131 | <para>
|
---|
| 132 | This package does not come with a testsuite.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Library</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>
|
---|
[d19fb65] | 153 | cx18-ctl,
|
---|
[ac38e9dc] | 154 | decode_tm6000,
|
---|
| 155 | dvb-fe-tool,
|
---|
| 156 | dvb-format-convert,
|
---|
| 157 | dvbv5-scan,
|
---|
| 158 | dvbv5-zap,
|
---|
| 159 | ir-keytable,
|
---|
| 160 | ivtv-ctl,
|
---|
| 161 | media-ctl,
|
---|
| 162 | qv4l2,
|
---|
| 163 | rds-ctl,
|
---|
| 164 | v4l2-compliance,
|
---|
| 165 | v4l2-ctl,
|
---|
| 166 | v4l2-dbg, and
|
---|
| 167 | v4l2-sysfs-path
|
---|
| 168 | </seg>
|
---|
| 169 | <seg>
|
---|
| 170 | libdvbv5.so,
|
---|
| 171 | libv4l1.so,
|
---|
| 172 | libv4l2.so,
|
---|
| 173 | libv4l2rds.so,
|
---|
| 174 | libv4lconvert.so,
|
---|
| 175 | v4l1compat.so, and
|
---|
| 176 | v4l2convert.so
|
---|
| 177 | </seg>
|
---|
| 178 | <seg>
|
---|
[d19fb65] | 179 | /etc/rc_keymaps,
|
---|
| 180 | /lib/udev/rc_keymaps,
|
---|
| 181 | /usr/include/libdvbv5, and
|
---|
| 182 | /usr/lib/libv4l
|
---|
[ac38e9dc] | 183 | </seg>
|
---|
| 184 | </seglistitem>
|
---|
| 185 | </segmentedlist>
|
---|
| 186 |
|
---|
| 187 | <variablelist>
|
---|
| 188 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 189 | <?dbfo list-presentation="list"?>
|
---|
| 190 | <?dbhtml list-presentation="table"?>
|
---|
| 191 |
|
---|
[d19fb65] | 192 | <varlistentry id="cx18-ctl">
|
---|
| 193 | <term><command>cx18-ctl</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>
|
---|
| 196 | is a tool to handle cx18 based devices.
|
---|
| 197 | </para>
|
---|
| 198 | <indexterm zone="v4l-utils cx18-ctl">
|
---|
| 199 | <primary sortas="b-cx18-ctl">cx18-ctl</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | <varlistentry id="decode_tm6000">
|
---|
| 205 | <term><command>decode_tm6000</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>
|
---|
| 208 | decode multiplexed format from TM5600/TM6000 USB.
|
---|
| 209 | </para>
|
---|
| 210 | <indexterm zone="v4l-utils decode_tm6000">
|
---|
| 211 | <primary sortas="b-decode_tm6000">decode_tm6000</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
[ac38e9dc] | 216 | <varlistentry id="dvb-fe-tool">
|
---|
| 217 | <term><command>dvb-fe-tool</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
| 220 | is a command line tool for digital TV services.
|
---|
| 221 | </para>
|
---|
| 222 | <indexterm zone="v4l-utils dvb-fe-tool">
|
---|
| 223 | <primary sortas="b-dvb-fe-tool">dvb-fe-tool</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="dvb-format-convert">
|
---|
| 229 | <term><command>dvb-format-convert</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>
|
---|
| 232 | is a tool meant to convert among different file formats. It is
|
---|
| 233 | compliant with version 5 of the DVB API.
|
---|
| 234 | </para>
|
---|
| 235 | <indexterm zone="v4l-utils dvb-format-convert">
|
---|
| 236 | <primary sortas="b-dvb-format-convert">dvb-format-convert</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
| 241 | <varlistentry id="dvbv5-scan">
|
---|
| 242 | <term><command>dvbv5-scan</command></term>
|
---|
| 243 | <listitem>
|
---|
| 244 | <para>
|
---|
[d19fb65] | 245 | is command line frequency scanning tool for digital TV
|
---|
[ac38e9dc] | 246 | services that are compliant with version 5 of the DVB API.
|
---|
| 247 | </para>
|
---|
| 248 | <indexterm zone="v4l-utils dvbv5-scan">
|
---|
| 249 | <primary sortas="b-dvbv5-scan">dvbv5-scan</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="dvbv5-zap">
|
---|
| 255 | <term><command>dvbv5-zap</command></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>
|
---|
[d19fb65] | 258 | is a command line tuning tool for digital TV services
|
---|
[ac38e9dc] | 259 | that is compliant with version 5 of the DVB API.
|
---|
| 260 | </para>
|
---|
| 261 | <indexterm zone="v4l-utils dvbv5-zap">
|
---|
| 262 | <primary sortas="b-dvbv5-zap">dvbv5-zap</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | <varlistentry id="ir-keytable">
|
---|
| 268 | <term><command>ir-keytable</command></term>
|
---|
| 269 | <listitem>
|
---|
| 270 | <para>
|
---|
[d19fb65] | 271 | is a tool that lists the Remote Controller devices, allows one
|
---|
| 272 | to get/set IR keycode/scancode tables, test events generated by
|
---|
[ac38e9dc] | 273 | IR, and to adjust other Remote Controller options.
|
---|
| 274 | </para>
|
---|
| 275 | <indexterm zone="v4l-utils ir-keytable">
|
---|
| 276 | <primary sortas="b-ir-keytable">ir-keytable</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 |
|
---|
[d19fb65] | 281 | <varlistentry id="ivtv-ctl">
|
---|
| 282 | <term><command>ivtv-ctl</command></term>
|
---|
| 283 | <listitem>
|
---|
| 284 | <para>
|
---|
| 285 | is a utility that can control many card settings, like changing
|
---|
| 286 | the inputs from tuner to svideo or composite, setting video
|
---|
| 287 | resolution or changing video mode (PAL, SECAM, NTSC).
|
---|
| 288 | </para>
|
---|
| 289 | <indexterm zone="v4l-utils ivtv-ctl">
|
---|
| 290 | <primary sortas="b-ivtv-ctl">ivtv-ctl</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
| 295 | <varlistentry id="media-ctl">
|
---|
| 296 | <term><command>media-ctl</command></term>
|
---|
| 297 | <listitem>
|
---|
| 298 | <para>
|
---|
| 299 | is a utility used to configure V4L2 devices.
|
---|
| 300 | </para>
|
---|
| 301 | <indexterm zone="v4l-utils media-ctl">
|
---|
| 302 | <primary sortas="b-media-ctl">media-ctl</primary>
|
---|
| 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
[ac38e9dc] | 307 | <varlistentry id="qv4l2">
|
---|
| 308 | <term><command>qv4l2</command></term>
|
---|
| 309 | <listitem>
|
---|
| 310 | <para>
|
---|
[d19fb65] | 311 | is used to test video4linux capture devices.
|
---|
[ac38e9dc] | 312 | </para>
|
---|
| 313 | <indexterm zone="v4l-utils qv4l2">
|
---|
| 314 | <primary sortas="b-qv4l2">qv4l2</primary>
|
---|
| 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
[d19fb65] | 319 | <varlistentry id="rds-ctl">
|
---|
| 320 | <term><command>rds-ctl</command></term>
|
---|
| 321 | <listitem>
|
---|
| 322 | <para>
|
---|
| 323 | is a utility for decoding raw RDS data from V4L2 Radio devices
|
---|
| 324 | and offers simple ways to access the received RDS information.
|
---|
| 325 | </para>
|
---|
| 326 | <indexterm zone="v4l-utils rds-ctl">
|
---|
| 327 | <primary sortas="b-rds-ctl">rds-ctl</primary>
|
---|
| 328 | </indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
| 331 |
|
---|
| 332 | <varlistentry id="v4l2-compliance">
|
---|
| 333 | <term><command>v4l2-compliance</command></term>
|
---|
| 334 | <listitem>
|
---|
| 335 | <para>
|
---|
| 336 | is a compliance test tool.
|
---|
| 337 | </para>
|
---|
| 338 | <indexterm zone="v4l-utils v4l2-compliance">
|
---|
| 339 | <primary sortas="b-v4l2-compliance">v4l2-compliance</primary>
|
---|
| 340 | </indexterm>
|
---|
| 341 | </listitem>
|
---|
| 342 | </varlistentry>
|
---|
| 343 |
|
---|
| 344 | <varlistentry id="v4l2-ctl">
|
---|
| 345 | <term><command>v4l2-ctl</command></term>
|
---|
| 346 | <listitem>
|
---|
| 347 | <para>
|
---|
| 348 | is a tool to control v4l2 controls from the cmdline.
|
---|
| 349 | </para>
|
---|
| 350 | <indexterm zone="v4l-utils v4l2-ctl">
|
---|
| 351 | <primary sortas="b-v4l2-ctl">v4l2-ctl</primary>
|
---|
| 352 | </indexterm>
|
---|
| 353 | </listitem>
|
---|
| 354 | </varlistentry>
|
---|
| 355 |
|
---|
| 356 | <varlistentry id="v4l2-dbg">
|
---|
| 357 | <term><command>v4l2-dbg</command></term>
|
---|
| 358 | <listitem>
|
---|
| 359 | <para>
|
---|
| 360 | is a tool to directly get and set registers of v4l2 devices.
|
---|
| 361 | </para>
|
---|
| 362 | <indexterm zone="v4l-utils v4l2-dbg">
|
---|
| 363 | <primary sortas="b-v4l2-dbg">v4l2-dbg</primary>
|
---|
| 364 | </indexterm>
|
---|
| 365 | </listitem>
|
---|
| 366 | </varlistentry>
|
---|
| 367 |
|
---|
| 368 | <varlistentry id="v4l2-sysfs-path">
|
---|
| 369 | <term><command>v4l2-sysfs-path</command></term>
|
---|
| 370 | <listitem>
|
---|
| 371 | <para>
|
---|
| 372 | checks the media devices installed on a machine and the
|
---|
| 373 | corresponding device nodes.
|
---|
| 374 | </para>
|
---|
| 375 | <indexterm zone="v4l-utils v4l2-sysfs-path">
|
---|
| 376 | <primary sortas="b-v4l2-sysfs-path">v4l2-sysfs-path</primary>
|
---|
| 377 | </indexterm>
|
---|
| 378 | </listitem>
|
---|
| 379 | </varlistentry>
|
---|
| 380 |
|
---|
[ac38e9dc] | 381 | </variablelist>
|
---|
| 382 |
|
---|
| 383 | </sect2>
|
---|
| 384 |
|
---|
| 385 | </sect1>
|
---|