Chapter 6.  Stream a DVB channel (satellite or digital terrestial TV)

Table of Contents

Install the DVB drivers
Stream with VLS
Stream with VLC

Note

This is possible under GNU/Linux only.

Install the DVB drivers

If you want to be able to stream from a DVB card (a satellite card or a digital terrestial TV card), you need to install the DVB drivers:

  • if you use a Linux 2.6.x kernel, you just need to compile the right modules;

  • if you are using a Linux 2.4.x kernel, you must download the latest release of the DVB drivers from the DVB drivers download page of the LinuxTV Project.

Uncompress the tarball and follow the instructions written in the INSTALL file to compile and install the drivers.

Stream with VLS

Put a .dvbrc file containing the DVB channels (satellite or digital terrestial TV channels) you want to stream in your home directory (some are provided in the libdvb tarball for the satellite channels).

Run VLS with the following command line :

% vls -vv -d udp:192.168.0.42 dvb:"EUROSPORT" --ttl 12

where:

  • "EUROSPORT" is the channel you want to stream as written in your ~/.dvbrc file ,

  • 192.168.0.42 is either :

    • the IP address of the machine you want to unicast to;

    • or the DNS name the machine you want to unicast to;

    • or a multicast IP address.

  • 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11 routers).

Stream with VLC

Note

For this, you must use the SVN version of VLC and compile it with ./configure --enable-dvb This feature should still be considered as experimental.

% vlc -vvv --program 8211 dvb:12597000:0:3:27500000 --sout udp:192.168.0.12 --ttl 12

where:

  • 8211 is the PID of the DVB channel you would like to stream, expressed as a decimal number;

  • 12597000 is the frequency of the transponder you want to stream from in Hz;

  • 0 is the polarization (0 for vertical, 1 for horizontal);

  • 3 is the FEC (3 for 3/4, 9 for auto);

  • 27500000 is the transponder symbolrate in Hz;

  • 192.168.0.12 is either:

    • the IP address of the machine you want to unicast to;

    • or the DNS name the machine you want to unicast to;

    • or the multicast IP address.

  • 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11 routers).