[linux-dvb] How to receive an MPEG2-TS stream from network

Pedro Aguilar pedro.aguilar at visionee.com
Fri Mar 3 18:07:12 CET 2006


Hi,

The stream is sent in RTP.
The app takes the RTP stream from eth0, then parses it and the payload
(the MPEG2-TS) is available for sending it to another device or copy it
to a buffer and here's where the confusion relies because I would like
to know how could I pass the MPEG2-TS stream to the demux.

Do I have to pass through a fake frontend dummy device? If this is the
case where can I get info for doing it?

Thanks!

Regards,

Pedro


On Fri, 2006-03-03 at 17:14 +0100, DUBOST Brice wrote:
> Pedro Aguilar wrote:
> > Hi,
> > 
> > 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.
> > 
> > Pedro.
> > 
> > 
> 
> Hello
> 
> How you stream is sent over the network ?
> 
> If it's in raw UDP you have juste to make a scoket and read it
> 
> Regards
> 




More information about the linux-dvb mailing list