C# Class HCS_Encoder.Outputs.SmoothStream.Multiplexing.MpegTS_Demux.PES

Class to handle 2nd level packetised elementary streams (ITU-T Rec H.222.0 (2000 E) -- page 31..33)
ファイルを表示 Open project: i-e-b/HLS---Smooth-Encoder

Public Properties

Property Type Description
DTS long
FrameData byte[]
HasEsRate bool
HeaderLength int
HighPriority bool
PTS long
ScrambleControl int
StreamId int

Public Methods

Method Description
PES ( byte RawPayload ) : System

Digest a PES payload into structured table. Does not handle split-payloads -- agregate payloads before calling

Private Methods

Method Description
DecodeElementaryStream ( BitSplitter bs ) : void
ReadDTS_PTS ( BitSplitter bs ) : void

Decode the bizzare PTS+DTS format

ReadExtendedHeader ( BitSplitter bs ) : void
ReadFlags ( BitSplitter bs ) : void

Reads the long list of flags in the default PES header.

ReadPTS ( BitSplitter bs ) : void

Decode the bizzare PTS format

ReadSpecialForm ( BitSplitter bs ) : void
SpecialStream ( int StreamId ) : bool

If true, the stream uses the alternate PES header form. If false, the stream uses the default PES header form.

Method Details

PES() public method

Digest a PES payload into structured table. Does not handle split-payloads -- agregate payloads before calling
public PES ( byte RawPayload ) : System
RawPayload byte
return System

Property Details

DTS public_oe property

public long DTS
return long

FrameData public_oe property

public byte[] FrameData
return byte[]

HasEsRate public_oe property

public bool HasEsRate
return bool

HeaderLength public_oe property

public int HeaderLength
return int

HighPriority public_oe property

public bool HighPriority
return bool

PTS public_oe property

public long PTS
return long

ScrambleControl public_oe property

public int ScrambleControl
return int

StreamId public_oe property

public int StreamId
return int