C# Class TsRemux.PesFile

Afficher le fichier Open project: antiochus/tsremux Class Usage Examples

Protected Properties

Свойство Type Description
endPcr System.Int64
fileType TsFileType
fs System.IO.FileStream
lastPercent int
openWorker System.ComponentModel.BackgroundWorker
pcrDelegate PcrChanged
ptsDelegate PtsChanged
sis TsRemux.StreamInfo[]
startPcr System.Int64
tsior TsIo

Méthodes publiques

Méthode Description
Clear ( ) : void
CloseFile ( ) : void
GetNextPesPackets ( ) : TsRemux.PesPacket[]
GetStreamInfo ( ushort pid ) : StreamInfo
OpenFile ( string path, bool useAsync, BackgroundWorker openWorker ) : PesFile
Seek ( System.Int64 pcr ) : void
SetPcrDelegate ( PcrChanged pcr ) : void
SetPtsDelegate ( PtsChanged pts ) : void

Méthodes protégées

Méthode Description
GetInitialValues ( ) : void
PesFile ( BackgroundWorker openWorker ) : System
ReportProgress ( int percent ) : void

Private Methods

Méthode Description
GetFileType ( FileStream fs ) : TsFileType
ParseElementaryStreams ( ) : void
ParseStream ( StreamInfo si, byte payload ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

CloseFile() public méthode

public CloseFile ( ) : void
Résultat void

GetInitialValues() protected abstract méthode

protected abstract GetInitialValues ( ) : void
Résultat void

GetNextPesPackets() public abstract méthode

public abstract GetNextPesPackets ( ) : TsRemux.PesPacket[]
Résultat TsRemux.PesPacket[]

GetStreamInfo() public méthode

public GetStreamInfo ( ushort pid ) : StreamInfo
pid ushort
Résultat StreamInfo

OpenFile() public static méthode

public static OpenFile ( string path, bool useAsync, BackgroundWorker openWorker ) : PesFile
path string
useAsync bool
openWorker System.ComponentModel.BackgroundWorker
Résultat PesFile

PesFile() protected méthode

protected PesFile ( BackgroundWorker openWorker ) : System
openWorker System.ComponentModel.BackgroundWorker
Résultat System

ReportProgress() protected méthode

protected ReportProgress ( int percent ) : void
percent int
Résultat void

Seek() public abstract méthode

public abstract Seek ( System.Int64 pcr ) : void
pcr System.Int64
Résultat void

SetPcrDelegate() public méthode

public SetPcrDelegate ( PcrChanged pcr ) : void
pcr PcrChanged
Résultat void

SetPtsDelegate() public méthode

public SetPtsDelegate ( PtsChanged pts ) : void
pts PtsChanged
Résultat void

Property Details

endPcr protected_oe property

protected Int64,System endPcr
Résultat System.Int64

fileType protected_oe property

protected TsFileType fileType
Résultat TsFileType

fs protected_oe property

protected FileStream,System.IO fs
Résultat System.IO.FileStream

lastPercent protected_oe property

protected int lastPercent
Résultat int

openWorker protected_oe property

protected BackgroundWorker,System.ComponentModel openWorker
Résultat System.ComponentModel.BackgroundWorker

pcrDelegate protected_oe property

protected PcrChanged pcrDelegate
Résultat PcrChanged

ptsDelegate protected_oe property

protected PtsChanged ptsDelegate
Résultat PtsChanged

sis protected_oe property

protected StreamInfo[],TsRemux sis
Résultat TsRemux.StreamInfo[]

startPcr protected_oe property

protected Int64,System startPcr
Résultat System.Int64

tsior protected_oe property

protected TsIo,TsRemux tsior
Résultat TsIo