mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
v4l-utils: several tweaks to the page
- Change the formatting for the meson command to be standard with other pages in the book - Fix the commands for installing the contrib files (no sdlcam since we don't have SDL_Image in the book, remove $DESTDIR, etc) - Add command explanations for the two contrib utilities - Remove extraneous spaces in between commands
This commit is contained in:
parent
d5ffede8db
commit
372c4ce3d7
@ -122,9 +122,11 @@
|
||||
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build &&
|
||||
meson setup --prefix=/usr -Ddoxygen-doc=disabled \
|
||||
-Dgconv=disabled --buildtype=release ..
|
||||
|
||||
meson setup --prefix=/usr \
|
||||
-Ddoxygen-doc=disabled \
|
||||
-Dgconv=disabled \
|
||||
--buildtype=release .. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
|
||||
@ -136,15 +138,15 @@ ninja</userinput></screen>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you also wish to install the contrib programs, add:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>for prog in sdlcam v4l2gl v4l2grab
|
||||
<screen role="root"><userinput>for prog in v4l2gl v4l2grab
|
||||
do
|
||||
cp -v contrib/test/$prog $DESTDIR/usr/bin/.
|
||||
cp -v contrib/test/$prog /usr/bin
|
||||
done</userinput></screen>
|
||||
|
||||
|
||||
@ -190,7 +192,9 @@ done</userinput></screen>
|
||||
rds-ctl,
|
||||
v4l2-compliance,
|
||||
v4l2-ctl,
|
||||
v4l2-dbg, and
|
||||
v4l2-dbg,
|
||||
v4l2gl,
|
||||
v4l2grab, and
|
||||
v4l2-sysfs-path
|
||||
</seg>
|
||||
<seg>
|
||||
@ -404,6 +408,32 @@ done</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="v4l2gl">
|
||||
<term><command>v4l2gl</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
captures images using libv4l and stores them as PPM files
|
||||
</para>
|
||||
<indexterm zone="v4l-utils v4l2gl">
|
||||
<primary sortas="b-v4l2gl">v4l2gl</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="v4l2grab">
|
||||
<term><command>v4l2grab</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
captures images using libv4l and stores them as PPM files, while
|
||||
also allowing for additonal options such as setting the amount of
|
||||
frames captured and saving the file as a RAW file
|
||||
</para>
|
||||
<indexterm zone="v4l-utils v4l2grab">
|
||||
<primary sortas="b-v4l2grab">v4l2grab</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="v4l2-sysfs-path">
|
||||
<term><command>v4l2-sysfs-path</command></term>
|
||||
<listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user