[linux-dvb] How to receive an MPEG2-TS stream from network
dubost at crans.ens-cachan.fr
Fri Mar 3 17:14:36 CET 2006
Pedro Aguilar wrote:
> I'm working on the development of a STB which supports DVB and at the
> moment I can receive an MPEG2-TS from the tuner and send it to the demux
> using the different types of filters.
> I need to add functionality by receiving an MPEG2-TS from the network
> (eth0) and then passing the stream to the demux.
> I have read in the unfinished doc that the DVB has a network API but
> it's not clear how to use it. I've tried to add a DVB network interface
> with the ioctl NET_ADD_IF but it says: ERROR: ioctl NET_ADD_IF fdnet
> failed (Bad address)
> I have also read that instead of receiving an input from the frontend0
> (tuner), a dummy frontend can be declared and can receive the streaming
> that can be passed to the demux as if it was the 'real' frontend.
> Does anyone that have some experience receiving a network stream could
> give some ideas of how could I implement it?
> Thanks in advance.
How you stream is sent over the network ?
If it's in raw UDP you have juste to make a scoket and read it
More information about the linux-dvb