source: multimedia/videoutils/dvb-apps.xml@ 0007bb7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0007bb7 was 0007bb7, checked in by Andrew Benton <andy@…>, 12 years ago

Added DVB Apps 2012-06-10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10292 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 18.0 KB
Line 
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
7 <!-- Place this in the general.ent file
8 <!ENTITY dvb-apps-version "">
9 -->
10
11 <!ENTITY dvb-apps-download-http
12 "http://www.linuxfromscratch.org/~andy/dvb-apps-2012-06-10.tar.xz">
13 <!ENTITY dvb-apps-download-ftp " ">
14 <!ENTITY dvb-apps-md5sum "6102338db203f9808b433d513e648f8e">
15 <!ENTITY dvb-apps-size "368 MB">
16 <!ENTITY dvb-apps-buildsize "17 MB">
17 <!ENTITY dvb-apps-time "0.1 SBU">
18]>
19
20<sect1 id="dvb-apps" xreflabel="dvb-apps-&dvb-apps-version;">
21 <?dbhtml filename="dvb-apps.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>DVB-Apps-&dvb-apps-version;</title>
29
30 <indexterm zone="dvb-apps">
31 <primary sortas="a-dvb-apps">dvb-apps</primary>
32 </indexterm>
33
34 <!--Required section-->
35 <sect2 role="package">
36 <title>Introduction to DVB-Apps</title>
37
38 <para>
39 The <application>DVB-Apps</application> package contains a collection of
40 command line utilities for controlling and using a digital television
41 card/chip installed (possibly through a USB port) on your computer. These
42 are useful for scanning to make an index of the available channels, tuning
43 the chip to a chosen station or recording the channel to a file on your
44 computer so you can watch it at a later date.
45 </para>
46
47 &lfs71_checked;
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>
53 Download (HTTP): <ulink url="&dvb-apps-download-http;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download (FTP): <ulink url="&dvb-apps-download-ftp;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download MD5 sum: &dvb-apps-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download size: &dvb-apps-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &dvb-apps-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &dvb-apps-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/dvb-apps"/>
85 </para>
86 </sect2>
87
88 <sect2 role="kernel" id="dvb-apps-kernel">
89 <title>Kernel Configuration</title>
90
91 <para>
92 There are many TV chips available so it is not possible to give guidance
93 on the kernel config for all of them. <command>lspci</command> from
94 <xref linkend="pciutils"/> and Goggle are your friends. One possible
95 gotcha is that some pci cards (such as the <ulink
96 url="http://www.amazon.co.uk/Hauppauge-WinTV-Nova-digital-tuner/dp/B000I1RHWA">
97 Hauppauge Nova T 500</ulink>) present themselves to the motherboard as a
98 USB controller and the TV chip on the card communicates with the
99 motherboard via this USB interface.
100 </para>
101
102<screen>General setup ---&gt;
103 [*] Prompt for development and/or incomplete code/drivers
104Device Drivers ---&gt;
105 Generic Driver Options ---&gt;
106 [*] Userspace firmware loading support
107 [*] Include in-kernel firmware blobs in kernel binary
108 (list of) External firmware blobs to build into the kernel binary
109 (/lib/firmware) Firmware blobs root directory
110 [*] I2C support ---&gt;
111 [*] I2C device interface
112 I2C Algorithms ---&gt;
113 [*] I2C bit-banging interfaces
114 [*] Multimedia support ---&gt;
115 [*] Video For Linux
116 [*] DVB for Linux
117 [*] DVB Network Support
118 [*] Video capture adapters ---&gt;
119 [*] V4L USB devices ---&gt;
120 (as required depending on your hardware)
121 [*] V4L PCI(e) devices ---&gt;
122 (as required depending on your hardware)
123 [*] DVB/ATSC adapters ---&gt;
124 (as required depending on your hardware)</screen>
125
126 <para>
127 Select the appropriate sub-options that appear when the above options are
128 selected and recompile your kernel.
129 </para>
130
131 <indexterm zone="dvb-apps dvb-apps-kernel">
132 <primary sortas="d-dvb-apps">dvb-apps</primary>
133 </indexterm>
134 </sect2>
135
136 <sect2 role="installation">
137 <title>Installation of DVB-Apps</title>
138
139 <para>
140 Install <application>DVB-Apps</application> by running the following
141 commands:
142 </para>
143
144<screen><userinput>sed -i 's/ $(lib_name).a//' Make.rules &amp;&amp;
145sed -i 's/\.a/.so/g' test/*/Makefile &amp;&amp;
146make</userinput></screen>
147
148 <para>
149 This package does not come with a test suite.
150 </para>
151
152 <para>
153 Now, as the <systemitem class="username">root</systemitem> user:
154 </para>
155
156<screen role="root"><userinput>make install</userinput></screen>
157 </sect2>
158
159 <sect2 role="commands">
160 <title>Command Explanations</title>
161
162 <para>
163 <command>sed -i 's/ $(lib_name).a//' Make.rules</command> and
164 <command>sed -i 's/\.a/.so/g' test/*/Makefile</command>: These seds
165 disable compiling the static libraries.
166 </para>
167 </sect2>
168
169 <sect2 role="configuration">
170 <title>Configuring DVB-Apps</title>
171
172 <sect3 id="dvb-apps-config">
173 <title>Config Files</title>
174 <para>
175 <filename>~/.tzap/channels.conf</filename> and
176 <filename>/etc/channels.conf</filename>.
177 </para>
178
179 <indexterm zone="dvb-apps dvb-apps-config">
180 <primary sortas="e-home.tzap-channels.conf">~/.tzap/channels.conf</primary>
181 </indexterm>
182
183 <indexterm zone="dvb-apps dvb-apps-config">
184 <primary
185 sortas="e-etc-channels.conf">/etc/channels.conf</primary>
186 </indexterm>
187 </sect3>
188
189 <sect3><title>Configuration Information</title>
190
191 <para>
192 For a user to be able to use the device files in /dev the simplest
193 solution is to make the user part of the video group. As the
194 <systemitem class="username">root</systemitem> user:
195 </para>
196
197<screen role="root"><userinput>usermod -a -G video &lt;USERNAME&gt; </userinput></screen>
198
199 <para>
200 Create a channels.conf file listing the channels available from your
201 local transmitter. If it's a terrestrial transmitter there should be a
202 file with its details in /usr/share/dvb/dvb-t. If it's a satellite the
203 file should be in /usr/share/dvb/dvb-s.
204 </para>
205
206<screen><userinput>scan /usr/share/dvb/dvb-t/uk-WinterHill > channels.conf &amp;&amp;
207mkdir -p ~/.tzap &amp;&amp;
208cp channels.conf ~/.tzap</userinput></screen>
209
210 <para>
211 If that went Ok and you saw some familiar TV channels listed in your
212 terminal, as the <systemitem class="username">root</systemitem> user
213 copy it to a system wide location:
214 </para>
215
216<screen role="root"><userinput>cp channels.conf /etc/channels.conf</userinput></screen>
217 </sect3>
218 </sect2>
219
220 <sect2 role="using">
221 <title>Using DVB-Apps</title>
222
223 <para>
224 To record a channel to a file:
225 </para>
226
227<screen><userinput>gnutv -out file bbc1.mpeg "BBC ONE"</userinput></screen>
228
229 <para>
230 If you give it ten seconds or so to buffer you can then start to watch the
231 file with a video player such as <command>xine</command> or
232 <command>mplayer</command>. The advantage of watching TV via a file in
233 this way is that it allows you to pause playback and rewind if you want,
234 plus you can watch the file again later.
235 </para>
236 </sect2>
237
238 <sect2 role="content">
239 <title>Contents</title>
240
241 <segmentedlist>
242 <segtitle>Installed Programs</segtitle>
243 <segtitle>Installed Libraries</segtitle>
244 <segtitle>Installed Directories</segtitle>
245
246 <seglistitem>
247 <seg>
248 atsc_epg,
249 av7110_loadkeys,
250 azap,
251 czap,
252 dib3000-watch,
253 dst_test,
254 dvbdate,
255 dvbnet,
256 dvbscan,
257 dvbtraffic,
258 femon,
259 gnutv,
260 gotox,
261 lsdvb,
262 scan,
263 szap,
264 tzap and
265 zap,
266 </seg>
267 <seg>
268 libdvbapi.so,
269 libdvbcfg.so,
270 libdvben50221.so,
271 libdvbsec.so and
272 libesg.so,
273 libucsi.so
274 </seg>
275 <seg>
276 /usr/include/libdvbapi,
277 /usr/include/libdvbcfg,
278 /usr/include/libdvben50221,
279 /usr/include/libdvbsec,
280 /usr/include/libesg,
281 /usr/include/libucsi and
282 /usr/share/dvb
283 </seg>
284 </seglistitem>
285 </segmentedlist>
286
287 <variablelist>
288 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
289 <?dbfo list-presentation="list"?>
290 <?dbhtml list-presentation="table"?>
291
292 <varlistentry id="atsc_epg">
293 <term><command>atsc_epg</command></term>
294 <listitem>
295 <para>
296 prints out the next three hours worth of programs on a given
297 frequency (for ATSC only)
298 </para>
299 <indexterm zone="dvb-apps atsc_epg">
300 <primary sortas="b-atsc_epg">atsc_epg</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="av7110_loadkeys">
306 <term><command>av7110_loadkeys</command></term>
307 <listitem>
308 <para>
309 is a utiltity to load IR remote keymaps into an av7110 based card
310 </para>
311 <indexterm zone="dvb-apps av7110_loadkeys">
312 <primary sortas="b-av7110_loadkeys">av7110_loadkeys</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="azap">
318 <term><command>azap</command></term>
319 <listitem>
320 <para>
321 is a tuning utility for ATSC
322 </para>
323 <indexterm zone="dvb-apps azap">
324 <primary sortas="b-azap">azap</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="czap">
330 <term><command>czap</command></term>
331 <listitem>
332 <para>
333 is a tuning utilities for DVB-C (cable)
334 </para>
335 <indexterm zone="dvb-apps czap">
336 <primary sortas="b-czap">czap</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="dib3000-watch">
342 <term><command>dib3000-watch</command></term>
343 <listitem>
344 <para>
345 is a tool to monitor DIB3000 demodulators
346 </para>
347 <indexterm zone="dvb-apps dib3000-watch">
348 <primary sortas="b-dib3000-watch">dib3000-watch</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="dst_test">
354 <term><command>dst_test</command></term>
355 <listitem>
356 <para>
357 is a utility for DST based cards
358 </para>
359 <indexterm zone="dvb-apps dst_test">
360 <primary sortas="b-dst_test">dst_test</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="dvbdate">
366 <term><command>dvbdate</command></term>
367 <listitem>
368 <para>
369 is a utility that can read date time information from the currently
370 tuned multiplex
371 </para>
372 <indexterm zone="dvb-apps dvbdate">
373 <primary sortas="b-dvbdate">dvbdate</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
377
378 <varlistentry id="dvbnet">
379 <term><command>dvbnet</command></term>
380 <listitem>
381 <para>
382 is a utility to control digital data network interfaces, a DVB
383 network interface manager (IP over DVB) for streaming programs from
384 one computer to another over a network.
385 </para>
386 <indexterm zone="dvb-apps dvbnet">
387 <primary sortas="b-dvbnet">dvbnet</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="dvbscan">
393 <term><command>dvbscan</command></term>
394 <listitem>
395 <para>
396 is another frequency scanning tool used to generate channel lists
397 </para>
398 <indexterm zone="dvb-apps dvbscan">
399 <primary sortas="b-dvbscan">dvbscan</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="dvbtraffic">
405 <term><command>dvbtraffic</command></term>
406 <listitem>
407 <para>
408 is a utility to monitor traffic on a digital device and perform PID
409 analysis of currently tuned multiplex
410 </para>
411 <indexterm zone="dvb-apps dvbtraffic">
412 <primary sortas="b-dvbtraffic">dvbtraffic</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 <varlistentry id="femon">
418 <term><command>femon</command></term>
419 <listitem>
420 <para>
421 is a frontend monitor, it monitors the tuning status on a digital TV
422 device
423 </para>
424 <indexterm zone="dvb-apps femon">
425 <primary sortas="b-femon">femon</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
430 <varlistentry id="gnutv">
431 <term><command>gnutv</command></term>
432 <listitem>
433 <para>
434 is a utility to tune and stream your TV
435 </para>
436 <indexterm zone="dvb-apps gnutv">
437 <primary sortas="b-gnutv">gnutv</primary>
438 </indexterm>
439 </listitem>
440 </varlistentry>
441
442 <varlistentry id="gotox">
443 <term><command>gotox</command></term>
444 <listitem>
445 <para>
446 is a utility for calculating the position of satellites
447 </para>
448 <indexterm zone="dvb-apps gotox">
449 <primary sortas="b-gotox">gotox</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="lsdvb">
455 <term><command>lsdvb</command></term>
456 <listitem>
457 <para>
458 is a simple utility to list PCI/PCIe DVB devices
459 </para>
460 <indexterm zone="dvb-apps lsdvb">
461 <primary sortas="b-lsdvb">lsdvb</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
465
466 <varlistentry id="scan">
467 <term><command>scan</command></term>
468 <listitem>
469 <para>
470 is a utility to generate channel lists
471 </para>
472 <indexterm zone="dvb-apps scan">
473 <primary sortas="b-scan">scan</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="szap">
479 <term><command>szap</command></term>
480 <listitem>
481 <para>
482 is a tool to tune a satellite DVB receiver
483 </para>
484 <indexterm zone="dvb-apps szap">
485 <primary sortas="b-szap">szap</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="tzap">
491 <term><command>tzap</command></term>
492 <listitem>
493 <para>
494 is a tool to tune a terrestrial DVB receiver
495 </para>
496 <indexterm zone="dvb-apps tzap">
497 <primary sortas="b-tzap">tzap</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="zap">
503 <term><command>zap</command></term>
504 <listitem>
505 <para>
506 just tunes a digital device (and is really intended for developers)
507 </para>
508 <indexterm zone="dvb-apps zap">
509 <primary sortas="b-zap">zap</primary>
510 </indexterm>
511 </listitem>
512 </varlistentry>
513
514 <varlistentry id="libdvbapi">
515 <term><filename class="libraryfile">libdvbapi.so</filename></term>
516 <listitem>
517 <para>
518 is an interface library for digital TV devices
519 </para>
520 <indexterm zone="dvb-apps libdvbapi">
521 <primary sortas="c-libdvbapi">libdvbapi.so</primary>
522 </indexterm>
523 </listitem>
524 </varlistentry>
525
526 <varlistentry id="libdvbcfg">
527 <term><filename class="libraryfile">libdvbcfg.so</filename></term>
528 <listitem>
529 <para>
530 contains functions that parse/create digital TV channel
531 configuration files
532 </para>
533 <indexterm zone="dvb-apps libdvbcfg">
534 <primary sortas="c-libdvbcfg">libdvbcfg.so</primary>
535 </indexterm>
536 </listitem>
537 </varlistentry>
538
539 <varlistentry id="libdvben50221">
540 <term><filename class="libraryfile">libdvben50221.so</filename></term>
541 <listitem>
542 <para>
543 contains functions that implement the CENELEC (European Committee
544 for Electrotechnical Standardization) EN 50221 CAM stack
545 </para>
546 <indexterm zone="dvb-apps libdvben50221">
547 <primary sortas="c-libdvben50221">libdvben50221.so</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="libdvbsec">
553 <term><filename class="libraryfile">libdvbsec.so</filename></term>
554 <listitem>
555 <para>
556 is a library for Satellite Equipment Control operations
557 </para>
558 <indexterm zone="dvb-apps libdvbsec">
559 <primary sortas="c-libdvbsec">libdvbsec.so</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="libesg">
565 <term><filename class="libraryfile">libesg.so</filename></term>
566 <listitem>
567 <para>
568 contains functions for an Electronic Service Guide parser
569 </para>
570 <indexterm zone="dvb-apps libesg">
571 <primary sortas="c-libesg">libesg.so</primary>
572 </indexterm>
573 </listitem>
574 </varlistentry>
575
576 <varlistentry id="libucsi">
577 <term><filename class="libraryfile">libucsi.so</filename></term>
578 <listitem>
579 <para>
580 is a Fast MPEG2 Transport Stream SI table parsing library
581 </para>
582 <indexterm zone="dvb-apps libucsi">
583 <primary sortas="c-libucsi">libucsi.so</primary>
584 </indexterm>
585 </listitem>
586 </varlistentry>
587 </variablelist>
588 </sect2>
589</sect1>
Note: See TracBrowser for help on using the repository browser.