[Live-devel] MPEG1or2DemuxedElementaryStream use

Ross Finlayson finlayson at live555.com
Wed Sep 19 17:52:57 PDT 2012


> Now what I would like to produce is a de-muxed audio/video streams instead of a single MPEG2-TS stream (this stream has PCR, DTS and PTS included). Can I use the MPEG1or2DemuxedElementaryStream method to do that or MPEG1or2Demux should be used?

Neither.

Unfortunately our software doesn't include a demultiplexor for MPEG Transport Stream.  (The "MPEG1or2Demux" etc. classes are used for demultiplexing MPEG *Program* Streams, which are completely different.)

If your goal is to stream audio and/or video across the Internet, then you should not be thinking of doing this by multiplexing the audio/video into a Transport Stream, transmitting the Transport Stream, and then demultiplexing the received Transport Stream at the receiver.  A MPEG Transport Stream is a very ill-suited format for datagram streaming.  Instead, you should by transmitting audio and/or video as separate RTP streams, without any Transport Stream encapsulation.


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120919/deb75531/attachment.html>


More information about the live-devel mailing list