Before building DVBStreamer you will need the latest version of the following packages:
- sqlite3 (3.3.x)
Hardware wise DVBStreamer requires a card or USB stick that can supply the full transport stream. Most, if not all, budget PCI cards can do this and the majority of USB2 sticks can also, USB 1 sticks unfortunately cannot.
Now download and extract the latest source from the sourceforge download page
Once you've done that the next thing to do is run configure to setup the makefile, to do this enter the following at the command prompt (add any options you would normal add when building using configure)
When configure has finished and created all the make files its just a matter of running make to build the application
Once make has finished doing its thing the next step is installing DVBStreamer to you chosen location. You will probably want to do this step as root
Before you can actually start to use DVBStreamer you need to initialise it's database of service to do this you'll need a channels.conf file produces by the linuxtv.org utility scan. Go here if you need help with scan.
When you have a channels.conf file you need to initialise the database DVBStreamer will use.
To initialise the database for adapter 1 using a terrestrial (DVB-T) channels.conf file in the current directory use the following command
setupdvbstreamer -t channels.conf
For DVB-C use the -c swith, DVB-S use -s and for ATSC (>0.8) use -A. To create a database for a different adapter use -a <Adapter Number>.
To find out what services have been imported use the services command which will list all the available service
To quit out of dvbstreamer type quit
One point to note is that each dvb adapter has its own database, thus meaning that once dvbstreamer supports cable and satellite cards you could use dvbstreamer on 2 or more different cards with out problems
If you have 2 or more cards of the same type in your system you can link the first cards database to the second cards database by simply creating a hard link in the dvbstreamer directory in your home directory ~/.dvbstreamer
for example to use the same database for card 1 and 2 you would do the following
ln ~/.dvbstreamer/adapter1.db ~/.dvbstreamer/adapter2.db