Ben Francis ([EMAIL PROTECTED]) wrote:
Greetings
I've just ordered a DVD-t card (Hauppage Nova-t) from dabs and hope to run it under Debian GNU/Linux although I'm not sure where to start - I've dowloaded the linux drivers but not sure how to watch channels in X.
Once I do get it working has anyone ever managed to stream a TV channel over a 100Mbit local LAN i.e. my home network to make digital TV available to all the machines on the network? I appreciate this would be heavy on network traffic. The other machines currently run Windows XP, would they need to run Linux to recieve the stream? It would mean I could still use my computer while dad watches the football!
Any ideas? Has it been done?
A channel only uses 10mbit max, so your local lan shouldn't have any problems.
What I have found to be a problem is finding players that will listen to boradcasted MPEG2 streams. It seems to stem from the fact there are a lot of methods to do this (from dvbstream to videolan etc), and each seem to use different methods of sending the data. So I've yet to come across one that can both send the data mutlicast, and have a windows player and unix player access the stream.
If anyone does have a good combination setup, would love to hear about it too.
Andy.
In fact it is quite easy to do it. First, just make your app, that will read the data from the dvb cards, and then do the following: - packetize the data into 7 ts-packets (7*188=1316): the reason for this is to fit your packet into one MTU (the most usual size for MTU is 1500. This is very good in case packets are dropped on the net - after that, you may add a RTP header (12 bytes). This is optional, but may help you in the future in case you want to implement FEC or to track network congestions. - send the obtained packets on the net (i strongly suggest you to multicast if you use multicast-aware switches) - take vlc for windows, and just play it
That's it.
Of course you if you want more complicated things: FEC, web management, automatic playlist... you will have to spend more time on that.
I am watching DVB-s over LAN right now and it's working really fine. It's a little bit complicated but it can be setup easily.
- on the client machine, you need a simple tcpserver running that listens to a specific port, like http://steinsoft.net/index.php?site=Programming/Projects/Misc/tcpserver
The data the server gets has to be piped to a frontend app like xine or mplayer. This gets:
tcpserver --silent --port 2000 | xine stdin://
- this can be done via ssh: the server simply sends the raw mpg stream to the tcp-server running on the client machine. As "receiver" app, you can use dvbstream which can be used for dvb-s, -c or -t. Its output is piped again to netcat (nc) that finally sends the stream to the client where the actualy frontend app decodes and shows the desired channel.
dvbstream -f 11837 -p h -s 27500 -o 101 102 1 28106 | nc 10.0.0.1 2000
Work fine, though.. ;-)
See you, -André. -- http://www.steinsoft.net cout << "Happy Coding!" << endl;
-- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.