[Live-devel] stream for dvb

Peter Maersk-Moller peter at maersk-moller.net
Sun Oct 17 23:44:56 PDT 2004


Hi

Ross Finlayson wrote:
> I suggest starting with the existing test programs 
> "testMPEG2TransportStreamer" (for multicast streaming) and 
> "testOnDemandRTSPServer" for unicast streaming.  If your input stream 
> (from your DVB card) is accessible as a file (which it probably will be 
> if you're running a sensible operating system like Unix), then you can 
> simply replace the file name string "test.ts" with the name of your 
> input device.

Reading a mpeg-2 stream from a DVB card is a little bit more complicated
and usually requires making a few ioctls to a few devices before you
can get a mpeg-2 stream by using read(). That said, dvbstream lets
you do all that and it outputs either as a ts or a ps and it can
output to either a file or stdout or to an IP address (multicast
if you like) as (ts or ps) multiplexed in RTP in UDP. dumrtp lets
you read the stream on another machine and outputs to stdout.
The rest is up to your imagination.

--PMM




More information about the live-devel mailing list