%general-entities; ]> $Date$ DVB-Apps-&dvb-apps-version; dvb-apps Introduction to DVB-Apps The DVB-Apps package contains a collection of command line utilities for controlling and using a digital television card/chip installed (possibly through a USB port) on your computer. These are useful for scanning to make an index of the available channels, tuning the chip to a chosen station or recording the channel to a file on your computer so you can watch it at a later date. &lfs71_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &dvb-apps-md5sum; Download size: &dvb-apps-size; Estimated disk space required: &dvb-apps-buildsize; Estimated build time: &dvb-apps-time; User Notes: Kernel Configuration There are many TV chips available so it is not possible to give guidance on the kernel config for all of them. lspci from and Goggle are your friends. One possible gotcha is that some pci cards (such as the Hauppauge Nova T 500) present themselves to the motherboard as a USB controller and the TV chip on the card communicates with the motherboard via this USB interface. General setup ---> [*] Prompt for development and/or incomplete code/drivers Device Drivers ---> Generic Driver Options ---> [*] Userspace firmware loading support [*] Include in-kernel firmware blobs in kernel binary (list of) External firmware blobs to build into the kernel binary (/lib/firmware) Firmware blobs root directory [*] I2C support ---> [*] I2C device interface I2C Algorithms ---> [*] I2C bit-banging interfaces [*] Multimedia support ---> [*] Video For Linux [*] DVB for Linux [*] DVB Network Support [*] Video capture adapters ---> [*] V4L USB devices ---> (as required depending on your hardware) [*] V4L PCI(e) devices ---> (as required depending on your hardware) [*] DVB/ATSC adapters ---> (as required depending on your hardware) Select the appropriate sub-options that appear when the above options are selected and recompile your kernel. dvb-apps Installation of DVB-Apps Install DVB-Apps by running the following commands: sed -i 's/ $(lib_name).a//' Make.rules && sed -i 's/\.a/.so/g' test/*/Makefile && make This package does not come with a test suite. Now, as the root user: make install Command Explanations sed -i 's/ $(lib_name).a//' Make.rules and sed -i 's/\.a/.so/g' test/*/Makefile: These seds disable compiling the static libraries. Configuring DVB-Apps Config Files ~/.tzap/channels.conf and /etc/channels.conf. ~/.tzap/channels.conf /etc/channels.conf Configuration Information For a user to be able to use the device files in /dev the simplest solution is to make the user part of the video group. As the root user: usermod -a -G video <USERNAME> Create a channels.conf file listing the channels available from your local transmitter. If it's a terrestrial transmitter there should be a file with its details in /usr/share/dvb/dvb-t. If it's a satellite the file should be in /usr/share/dvb/dvb-s. scan /usr/share/dvb/dvb-t/uk-WinterHill > channels.conf && mkdir -p ~/.tzap && cp channels.conf ~/.tzap If that went Ok and you saw some familiar TV channels listed in your terminal, as the root user copy it to a system wide location: cp channels.conf /etc/channels.conf Using DVB-Apps To record a channel to a file: gnutv -out file bbc1.mpeg "BBC ONE" If you give it ten seconds or so to buffer you can then start to watch the file with a video player such as xine or mplayer. The advantage of watching TV via a file in this way is that it allows you to pause playback and rewind if you want, plus you can watch the file again later. Contents Installed Programs Installed Libraries Installed Directories atsc_epg, av7110_loadkeys, azap, czap, dib3000-watch, dst_test, dvbdate, dvbnet, dvbscan, dvbtraffic, femon, gnutv, gotox, lsdvb, scan, szap, tzap and zap, libdvbapi.so, libdvbcfg.so, libdvben50221.so, libdvbsec.so and libesg.so, libucsi.so /usr/include/libdvbapi, /usr/include/libdvbcfg, /usr/include/libdvben50221, /usr/include/libdvbsec, /usr/include/libesg, /usr/include/libucsi and /usr/share/dvb Short Descriptions atsc_epg prints out the next three hours worth of programs on a given frequency (for ATSC only) atsc_epg av7110_loadkeys is a utiltity to load IR remote keymaps into an av7110 based card av7110_loadkeys azap is a tuning utility for ATSC azap czap is a tuning utilities for DVB-C (cable) czap dib3000-watch is a tool to monitor DIB3000 demodulators dib3000-watch dst_test is a utility for DST based cards dst_test dvbdate is a utility that can read date time information from the currently tuned multiplex dvbdate dvbnet is a utility to control digital data network interfaces, a DVB network interface manager (IP over DVB) for streaming programs from one computer to another over a network. dvbnet dvbscan is another frequency scanning tool used to generate channel lists dvbscan dvbtraffic is a utility to monitor traffic on a digital device and perform PID analysis of currently tuned multiplex dvbtraffic femon is a frontend monitor, it monitors the tuning status on a digital TV device femon gnutv is a utility to tune and stream your TV gnutv gotox is a utility for calculating the position of satellites gotox lsdvb is a simple utility to list PCI/PCIe DVB devices lsdvb scan is a utility to generate channel lists scan szap is a tool to tune a satellite DVB receiver szap tzap is a tool to tune a terrestrial DVB receiver tzap zap just tunes a digital device (and is really intended for developers) zap libdvbapi.so is an interface library for digital TV devices libdvbapi.so libdvbcfg.so contains functions that parse/create digital TV channel configuration files libdvbcfg.so libdvben50221.so contains functions that implement the CENELEC (European Committee for Electrotechnical Standardization) EN 50221 CAM stack libdvben50221.so libdvbsec.so is a library for Satellite Equipment Control operations libdvbsec.so libesg.so contains functions for an Electronic Service Guide parser libesg.so libucsi.so is a Fast MPEG2 Transport Stream SI table parsing library libucsi.so