[Live-devel] Demultiplex TS

Ross Finlayson finlayson at live555.com
Mon Oct 23 15:55:02 PDT 2006


>I am trying to demultiplex a TS into its ES sources.  I have opened the TS
>file as ByteStreamFileSource and applied MPEG2TransportStreamFramer.  So
>next I want to use MPEG1or2Demux to demultiplex this stream.

No, you can't do this, because "MPEG1or2Demux" is only for 
demultiplexing MPEG *Program* Streams.

>  But
>MPEG1or2Demux does not have a TS parser, so this cannot work, right?   I
>should create a TransportStreamParser from StreamParser and add this friend
>to MPEG1or2Demux?

No, you would need to write new classes, completely separate from 
"MPEG1or2Demux" and "MPEG1or2DemuxedElementaryStream".

-- 

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


More information about the live-devel mailing list