C# Class MediaPortal.Player.BaseTSReaderPlayer

Inheritance: IPlayer, ITSReaderCallback, ITSReaderCallbackAudioChange
Show file Open project: MediaPortal/MediaPortal-1

Public Properties

Property Type Description
AVC1 System.Guid
LATMAAC System.Guid
filterCodec FilterCodec
filterConfig TVFilterConfig

Protected Properties

Property Type Description
AudioCodecName string
CoreCCFilter bool
CoreCCPresent bool
CoreParserCodec string
PostProcessFilterAudio object>.Dictionary
PostProcessFilterVideo object>.Dictionary
VideoChange bool
_CodecSupportsFastSeeking bool
_aspectX int
_aspectY int
_audioSelector MediaPortal.Player.AudioSelector
_basicAudio IBasicAudio
_basicVideo IBasicVideo2
_curAudioStream int
_currentFile string
_currentPos double
_duration double
_dvbSubRenderer MediaPortal.Player.Subtitles.SubtitleRenderer
_endOfFileDetected bool
_fileSource IBaseFilter
_geometry Geometry.Type
_graphBuilder IGraphBuilder
_height int
_interfaceTSReader IBaseFilter
_ireader ITSReader
_isFullscreen bool
_isLive bool
_isRadio bool
_isStarted bool
_isWindowVisible bool
_lastFrameCounter int
_lastPosition double
_line21DecoderAnalog IAMLine21Decoder
_line21DecoderDigital IAMLine21Decoder
_mediaCtrl IMediaControl
_mediaEvt IMediaEventEx
_mediaSeeking IMediaSeeking
_mediaType g_Player.MediaType
_positionX int
_positionY int
_rotEntry DsROTEntry
_speed int
_speedRate long
_startingUp bool
_state PlayState
_streamPos double
_subSelector SubtitleSelector
_updateNeeded bool
_updateTimer DateTime
_usingFastSeeking bool
_videoFormat VideoStreamFormat
_videoHeight int
_videoWidth int
_videoWin IVideoWindow
_volume int
_volumeBeforeSeeking int
_width int
audioFilter string
audioRendererFilter string
iChangedMediaTypes int
iSpeed int
lockObj object
videoFilter string

Private Properties

Property Type Description
DumpMpeg2DemuxerMappings int
GetFullLanguageName string
MovieEnded void
OnGraphNotify void
OnMessage void
SetupDemuxerPin int
UpdateDuration void

Public Methods

Method Description
AudioLanguage ( int iStream ) : string

Implements the AudioLanguage member which interfaces the TsReader filter to get the IAMStreamSelect interface for getting info about a stream

AudioType ( int iStream ) : string

Property to get the type of an audio stream

BaseTSReaderPlayer ( ) : System
BaseTSReaderPlayer ( g_Player type ) : System
ContinueGraph ( ) : void
Dispose ( ) : void
DoGraphRebuild ( ) : void
GetFilterCodec ( ) : FilterCodec
GetVideoFormat ( ) : VideoStreamFormat
OnBitRateChanged ( int bitrate ) : int
OnMediaTypeChanged ( int mediaType ) : int
OnRequestAudioChange ( ) : int
OnVideoFormatChanged ( int streamType, int width, int height, int aspectRatioX, int aspectRatioY, int bitrate, int isInterlaced ) : int
Pause ( ) : void
PauseGraph ( ) : void
Play ( string strFile ) : bool
Process ( ) : void
SeekAbsolute ( double dTimeInSecs ) : void
SeekAsolutePercentage ( int iPercentage ) : void
SeekRelative ( double dTime ) : void
SeekRelativePercentage ( int iPercentage ) : void
SetVideoWindow ( ) : void
Stop ( ) : void
Stop ( bool keepExclsuiveModeOn ) : void
WndProc ( Message &m ) : void

Protected Methods

Method Description
AudioRendererAdd ( ) : void
CleanupCC ( ) : void
CloseInterfaces ( ) : void
CoreCCParserCheck ( ) : void
DoFFRW ( ) : void
EnableCC ( ) : void
EnableCC2 ( ) : void
ExclusiveMode ( bool onOff ) : void
GetFilterConfiguration ( ) : TVFilterConfig

Gets the filter configuration object from the user configuration

GetInterfaces ( string filename ) : bool

create the used COM components and get the interfaces.

MPAudioSwitcherAdd ( ) : void
MatchFilters ( string format ) : string
OnInitialized ( ) : void
OnProcess ( ) : void
PostProcessAddAudio ( ) : void
PostProcessAddVideo ( ) : void
ReleaseCC ( ) : void
ReleaseCC2 ( ) : void
SetSourceDestRectangles ( Rectangle rSource, Rectangle rDest ) : void
SetVideoPosition ( Rectangle rDest ) : void
SyncAudioRenderer ( ) : void
UpdateCurrentPosition ( ) : void
UpdateFilters ( string selection ) : void

Private Methods

Method Description
DumpMpeg2DemuxerMappings ( IBaseFilter filter ) : int
GetFullLanguageName ( string language ) : string
MovieEnded ( ) : void
OnGraphNotify ( ) : void
OnMessage ( GUIMessage message ) : void

SetupDemuxerPin ( IPin pin, int pid, int elementaryStream, bool unmapOtherPins ) : int
UpdateDuration ( ) : void

Method Details

AudioLanguage() public method

Implements the AudioLanguage member which interfaces the TsReader filter to get the IAMStreamSelect interface for getting info about a stream
public AudioLanguage ( int iStream ) : string
iStream int
return string

AudioRendererAdd() protected method

protected AudioRendererAdd ( ) : void
return void

AudioType() public method

Property to get the type of an audio stream
public AudioType ( int iStream ) : string
iStream int
return string

BaseTSReaderPlayer() public method

public BaseTSReaderPlayer ( ) : System
return System

BaseTSReaderPlayer() public method

public BaseTSReaderPlayer ( g_Player type ) : System
type g_Player
return System

CleanupCC() protected method

protected CleanupCC ( ) : void
return void

CloseInterfaces() protected method

protected CloseInterfaces ( ) : void
return void

ContinueGraph() public method

public ContinueGraph ( ) : void
return void

CoreCCParserCheck() protected method

protected CoreCCParserCheck ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DoFFRW() protected method

protected DoFFRW ( ) : void
return void

DoGraphRebuild() public method

public DoGraphRebuild ( ) : void
return void

EnableCC() protected method

protected EnableCC ( ) : void
return void

EnableCC2() protected method

protected EnableCC2 ( ) : void
return void

ExclusiveMode() protected method

protected ExclusiveMode ( bool onOff ) : void
onOff bool
return void

GetFilterCodec() public method

public GetFilterCodec ( ) : FilterCodec
return FilterCodec

GetFilterConfiguration() protected method

Gets the filter configuration object from the user configuration
protected GetFilterConfiguration ( ) : TVFilterConfig
return TVFilterConfig

GetInterfaces() protected method

create the used COM components and get the interfaces.
protected GetInterfaces ( string filename ) : bool
filename string
return bool

GetVideoFormat() public method

public GetVideoFormat ( ) : VideoStreamFormat
return VideoStreamFormat

MPAudioSwitcherAdd() protected method

protected MPAudioSwitcherAdd ( ) : void
return void

MatchFilters() protected method

protected MatchFilters ( string format ) : string
format string
return string

OnBitRateChanged() public method

public OnBitRateChanged ( int bitrate ) : int
bitrate int
return int

OnInitialized() protected method

protected OnInitialized ( ) : void
return void

OnMediaTypeChanged() public method

public OnMediaTypeChanged ( int mediaType ) : int
mediaType int
return int

OnProcess() protected method

protected OnProcess ( ) : void
return void

OnRequestAudioChange() public method

public OnRequestAudioChange ( ) : int
return int

OnVideoFormatChanged() public method

public OnVideoFormatChanged ( int streamType, int width, int height, int aspectRatioX, int aspectRatioY, int bitrate, int isInterlaced ) : int
streamType int
width int
height int
aspectRatioX int
aspectRatioY int
bitrate int
isInterlaced int
return int

Pause() public method

public Pause ( ) : void
return void

PauseGraph() public method

public PauseGraph ( ) : void
return void

Play() public method

public Play ( string strFile ) : bool
strFile string
return bool

PostProcessAddAudio() protected method

protected PostProcessAddAudio ( ) : void
return void

PostProcessAddVideo() protected method

protected PostProcessAddVideo ( ) : void
return void

Process() public method

public Process ( ) : void
return void

ReleaseCC() protected method

protected ReleaseCC ( ) : void
return void

ReleaseCC2() protected method

protected ReleaseCC2 ( ) : void
return void

SeekAbsolute() public method

public SeekAbsolute ( double dTimeInSecs ) : void
dTimeInSecs double
return void

SeekAsolutePercentage() public method

public SeekAsolutePercentage ( int iPercentage ) : void
iPercentage int
return void

SeekRelative() public method

public SeekRelative ( double dTime ) : void
dTime double
return void

SeekRelativePercentage() public method

public SeekRelativePercentage ( int iPercentage ) : void
iPercentage int
return void

SetSourceDestRectangles() protected method

protected SetSourceDestRectangles ( Rectangle rSource, Rectangle rDest ) : void
rSource System.Drawing.Rectangle
rDest System.Drawing.Rectangle
return void

SetVideoPosition() protected method

protected SetVideoPosition ( Rectangle rDest ) : void
rDest System.Drawing.Rectangle
return void

SetVideoWindow() public method

public SetVideoWindow ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

public Stop ( bool keepExclsuiveModeOn ) : void
keepExclsuiveModeOn bool
return void

SyncAudioRenderer() protected method

protected SyncAudioRenderer ( ) : void
return void

UpdateCurrentPosition() protected method

protected UpdateCurrentPosition ( ) : void
return void

UpdateFilters() protected method

protected UpdateFilters ( string selection ) : void
selection string
return void

WndProc() public method

public WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void

Property Details

AVC1 public property

public Guid,System AVC1
return System.Guid

AudioCodecName protected property

protected string AudioCodecName
return string

CoreCCFilter protected property

protected bool CoreCCFilter
return bool

CoreCCPresent protected property

protected bool CoreCCPresent
return bool

CoreParserCodec protected property

protected string CoreParserCodec
return string

LATMAAC public property

public Guid,System LATMAAC
return System.Guid

PostProcessFilterAudio protected property

protected Dictionary PostProcessFilterAudio
return object>.Dictionary

PostProcessFilterVideo protected property

protected Dictionary PostProcessFilterVideo
return object>.Dictionary

VideoChange protected property

protected bool VideoChange
return bool

_CodecSupportsFastSeeking protected property

protected bool _CodecSupportsFastSeeking
return bool

_aspectX protected property

protected int _aspectX
return int

_aspectY protected property

protected int _aspectY
return int

_audioSelector protected property

protected AudioSelector,MediaPortal.Player _audioSelector
return MediaPortal.Player.AudioSelector

_basicAudio protected property

audio interface used to control volume.
protected IBasicAudio _basicAudio
return IBasicAudio

_basicVideo protected property

interface to get information and control video.
protected IBasicVideo2 _basicVideo
return IBasicVideo2

_curAudioStream protected property

protected int _curAudioStream
return int

_currentFile protected property

protected string _currentFile
return string

_currentPos protected property

protected double _currentPos
return double

_duration protected property

protected double _duration
return double

_dvbSubRenderer protected property

protected SubtitleRenderer,MediaPortal.Player.Subtitles _dvbSubRenderer
return MediaPortal.Player.Subtitles.SubtitleRenderer

_endOfFileDetected protected property

protected bool _endOfFileDetected
return bool

_fileSource protected property

protected IBaseFilter _fileSource
return IBaseFilter

_geometry protected property

protected Geometry.Type _geometry
return Geometry.Type

_graphBuilder protected property

protected IGraphBuilder _graphBuilder
return IGraphBuilder

_height protected property

protected int _height
return int

_interfaceTSReader protected property

protected IBaseFilter _interfaceTSReader
return IBaseFilter

_ireader protected property

protected ITSReader _ireader
return ITSReader

_isFullscreen protected property

protected bool _isFullscreen
return bool

_isLive protected property

protected bool _isLive
return bool

_isRadio protected static property

protected static bool _isRadio
return bool

_isStarted protected property

protected bool _isStarted
return bool

_isWindowVisible protected property

protected bool _isWindowVisible
return bool

_lastFrameCounter protected property

protected int _lastFrameCounter
return int

_lastPosition protected property

protected double _lastPosition
return double

_line21DecoderAnalog protected property

protected IAMLine21Decoder _line21DecoderAnalog
return IAMLine21Decoder

_line21DecoderDigital protected property

protected IAMLine21Decoder _line21DecoderDigital
return IAMLine21Decoder

_mediaCtrl protected property

control interface.
protected IMediaControl _mediaCtrl
return IMediaControl

_mediaEvt protected property

graph event interface.
protected IMediaEventEx _mediaEvt
return IMediaEventEx

_mediaSeeking protected property

protected IMediaSeeking _mediaSeeking
return IMediaSeeking

_mediaType protected property

protected g_Player.MediaType _mediaType
return g_Player.MediaType

_positionX protected property

protected int _positionX
return int

_positionY protected property

protected int _positionY
return int

_rotEntry protected property

protected DsROTEntry _rotEntry
return DsROTEntry

_speed protected property

protected int _speed
return int

_speedRate protected property

protected long _speedRate
return long

_startingUp protected property

protected bool _startingUp
return bool

_state protected property

protected PlayState _state
return PlayState

_streamPos protected property

protected double _streamPos
return double

_subSelector protected property

protected SubtitleSelector _subSelector
return SubtitleSelector

_updateNeeded protected property

protected bool _updateNeeded
return bool

_updateTimer protected property

protected DateTime _updateTimer
return DateTime

_usingFastSeeking protected property

protected bool _usingFastSeeking
return bool

_videoFormat protected static property

protected static VideoStreamFormat _videoFormat
return VideoStreamFormat

_videoHeight protected property

protected int _videoHeight
return int

_videoWidth protected property

protected int _videoWidth
return int

_videoWin protected property

video preview window interface.
protected IVideoWindow _videoWin
return IVideoWindow

_volume protected property

protected int _volume
return int

_volumeBeforeSeeking protected property

protected int _volumeBeforeSeeking
return int

_width protected property

protected int _width
return int

audioFilter protected property

protected string audioFilter
return string

audioRendererFilter protected property

protected string audioRendererFilter
return string

filterCodec public property

public FilterCodec filterCodec
return FilterCodec

filterConfig public property

public TVFilterConfig filterConfig
return TVFilterConfig

iChangedMediaTypes protected property

protected int iChangedMediaTypes
return int

iSpeed protected property

protected int iSpeed
return int

lockObj protected property

protected object lockObj
return object

videoFilter protected property

protected string videoFilter
return string