[Live-devel] Receiving & re-transmitting MPEG2TS stream?

Ross Finlayson finlayson at live555.com
Mon Mar 19 02:41:55 PDT 2007


>I'm working on an application where I need to receive an mpeg2-ts / 
>RTP stream then strip off the RTP header to get back just the 
>mpeg2-ts then I need to demux the TS file to get back the ES and 
>manipulate the stream and finally serve the stream using normal RTSP 
>(meaning the audio & video in separated RTP streams).
>
>I've been looking through the live555 code and I can see how easy it 
>would be for me to create an MPEG2-TS from ES or PS.  I can see how 
>to stream out MPEG PS or ES via RTP.  I don't see a way to convert 
>from a TS to a PS, nor do I see a "source" for mpeg2-ts over RTP.  I 
>can see that I can receive a simple RTP source & I can see that I 
>could receive MPEG1/2 video or audio via RTP but I don't see a 
>source for MPEG2-TS.

MPEG2-TS RTP streams are received using "SimpleRTPSource".  (See 
"liveMedia/MediaSession.cpp", line 721)

However, our libraries currently do not contain a mechanism for 
demultiplexing Elementary Streams from a Transport Stream.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list