Hi Darksiders, Thought this may be of use to anyone using DVB Cards under linux.
This will allow you to stream almost live dvb-t to other computers on your lan or save to a file.
Notes
2 computers needed Client and Server (Server Containing DVB card)
On Server
CODE
sudo apt-get install dvb-utils
sudo apt-get install dvbstream
sudo apt-get install mjpegtools
sudo apt-get install sqlite3
mkdir ~/.tzap
sudo apt-get install dvbstream
sudo apt-get install mjpegtools
sudo apt-get install sqlite3
mkdir ~/.tzap
Check for local transmitter
CODE
ls /usr/share/doc/dvb-utils/examples/scan/dvb-t/
Then scan for channels
CODE
dvbscan /usr/share/doc/dvb-utils/examples/scan/dvb-t/your_transmitter > ~/.tzap/channels.conf
And copy output file to our mplayer and xine user directories
CODE
cp ~/.tzap/channels.conf ~/.mplayer/channels.conf
cp ~/.tzap/channels.conf ~/.xine/channels.conf
cp ~/.tzap/channels.conf ~/.xine/channels.conf
TESTING
On Client
Run Netcat on our client, listening on port 42000 and pipe the output to mplayer.
CODE
nc -u -l -p 43000 | mplayer -cache 8000 -autosync 30 -
Replace 43000 with your chosen port number.
On Server
In one terminal
CODE
tzap "Channel 4"
In another terminal
Replacing 43000 and 10.0.90.20 with the ip address and port number of your client.
CODE
dvbstream -f -ps 2830 2829 -o | nc -u 10.0.90.20 43000
mplayer cache will now fill and begin playing on the client.
Streaming
CODE
wget http://downloads.sourceforge.net/dvbstreamer/dvbstreamer-0.8.tar.bz2?modtime=1184193578&big_mirror=0
CODE
tar xvjf dvbstreamer-0.8.tar.bz2
cd dvbstreamer-0.8
./configure
make
sudo make install; ldconfig
cd dvbstreamer-0.8
./configure
make
sudo make install; ldconfig
Setup
This sets up the channel configuration for dvbstreamer using our channels.conf from earlier.
CODE
setupdvbstreamer -t ~/.mplayer/channels.conf
Streaming
This starts dvbstreamer and streams to output to specified IP Address and Port Number over UDP.
CODE
dvbstreamer -o udp://10.0.90.20:43000
Recording
This starts dvbstreamer and saves the output to specified file.
CODE
dvbstreamer -o file://path to file
You will then be presented with a command prompt interface for dvbstreamer
CODE
dvbstreamer> help
(Lists Commands)CODE
dvbstreamer> lslcn
(Lists Channels)CODE
dvbstreamer>select Channel 4
(Tunes to Channel 4 and streams or saves to selected file or ip address)Change channels
On Client
CTRL + C or ESC to stop mplayer
On Server
CODE
dvbstreamer>More4
On Client
CODE
nc -l -u -p 43000 | mplayer -cache 8000 -autosync 30 -
Add a keyboard shortcut on the client for the above command.
Kick back with drinks and snack foods