C# Class MediaPortal.Player.VideoPlayerVMR7

Inheritance: IPlayer
Show file Open project: MediaPortal/MediaPortal-1

Protected Properties

Property Type Description
AudioExternal bool
AudioOnly bool
AutoRenderingCheck bool
FStreams FilterStreams
FileSync bool
GetInterface bool
MediatypeAudio bool
MediatypeSubtitle bool
MediatypeVideo bool
SourceFilesyncFind bool
Splitter IBaseFilter
VideoChange bool
_AudioExtFilter IBaseFilter
_AudioExtSplitterFilter IBaseFilter
_AudioSourceFilter IBaseFilter
_FFDShowAudio IBaseFilter
_IGraphRebuildDelegate IGraphRebuildDelegate
_audioSwitcher IBaseFilter
_interfaceSourceFilter IBaseFilter
_mediaType g_Player.MediaType
_rotEntry DsROTEntry
_updateNeeded bool
aacCodec bool
aacCodecLav bool
basicAudio IBasicAudio
basicVideo IBasicVideo2
chapters double[]
chaptersname string[]
firstinit bool
graphBuilder IGraphBuilder
h264Codec bool
hevcCodec bool
iChangedMediaTypes int
m_ar Geometry.Type
m_aspectX int
m_aspectY int
m_bFullScreen bool
m_bRateSupport bool
m_bStarted bool
m_bVisible bool
m_dCurrentPos double
m_dDuration double
m_iHeight int
m_iPositionX int
m_iPositionY int
m_iVideoHeight int
m_iVideoWidth int
m_iVolume int
m_iWidth int
m_lastFrameCounter int
m_speedRate long
m_state PlayState
m_strCurrentFile string
m_volumeBeforeSeeking int
mediaCtrl IMediaControl
mediaEvt IMediaEventEx
mediaPos IMediaPosition
mediaSeek IMediaSeeking
streamLAVSelection bool
updateTimer System.DateTime
vc1Codec bool
vc1ICodec bool
videoWin IVideoWindow
xvidCodec bool

Public Methods

Method Description
AnalyseStreams ( ) : bool
AnalyseStreamsChapters ( ) : void
AudioLanguage ( int iStream ) : string

Property to get the language from stream name

AudioType ( int iStream ) : string

Property to get the type of an audio stream

Dispose ( ) : void
EditionLanguage ( int iStream ) : string

Property to get the language for an edition stream

EditionType ( int iStream ) : string
EnableStream ( int Id, AMStreamSelectEnableFlags dwFlags, string Filter ) : bool
Pause ( ) : void
Play ( string strFile ) : bool
PlayStream ( string strFile, string streamName ) : bool
Process ( ) : void
SeekAbsolute ( double dTime ) : void
SeekAsolutePercentage ( int iPercentage ) : void
SeekRelative ( double dTime ) : void
SeekRelativePercentage ( int iPercentage ) : void
SetVideoWindow ( ) : void
Stop ( ) : void
SubtitleLanguage ( int iStream ) : string

Property to get/set the name for a subtitle stream

SubtitleName ( int iStream ) : string
VideoName ( int iStream ) : string

Property to get the language for an edition stream

VideoPlayerVMR7 ( ) : System
VideoPlayerVMR7 ( g_Player type ) : System
VideoType ( int iStream ) : string
WndProc ( Message &m ) : void

Protected Methods

Method Description
CloseInterfaces ( ) : void

do cleanup and release DirectShow.

DoFFRW ( ) : void
DoGraphRebuild ( ) : void
GetInterfaces ( ) : bool

create the used COM components and get the interfaces.

OnInitialized ( ) : void
OnProcess ( ) : void
SelectAudioLanguage ( ) : void
SelectSubtitles ( ) : void
SetSourceDestRectangles ( Rectangle rSource, Rectangle rDest ) : void
SetVideoPosition ( Rectangle rDest ) : void

Private Methods

Method Description
LCIDCheck ( int LCID ) : string
MovieEnded ( bool bManualStop ) : void
OnGraphNotify ( ) : void
TrySpeed ( double rate, int speed ) : void

Method Details

AnalyseStreams() public method

public AnalyseStreams ( ) : bool
return bool

AnalyseStreamsChapters() public method

public AnalyseStreamsChapters ( ) : void
return void

AudioLanguage() public method

Property to get the language from stream name
public AudioLanguage ( int iStream ) : string
iStream int
return string

AudioType() public method

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

CloseInterfaces() protected abstract method

do cleanup and release DirectShow.
protected abstract CloseInterfaces ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DoFFRW() protected method

protected DoFFRW ( ) : void
return void

DoGraphRebuild() protected abstract method

protected abstract DoGraphRebuild ( ) : void
return void

EditionLanguage() public method

Property to get the language for an edition stream
public EditionLanguage ( int iStream ) : string
iStream int
return string

EditionType() public method

public EditionType ( int iStream ) : string
iStream int
return string

EnableStream() public method

public EnableStream ( int Id, AMStreamSelectEnableFlags dwFlags, string Filter ) : bool
Id int
dwFlags AMStreamSelectEnableFlags
Filter string
return bool

GetInterfaces() protected abstract method

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

OnInitialized() protected method

protected OnInitialized ( ) : void
return void

OnProcess() protected method

protected OnProcess ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

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

PlayStream() public method

public PlayStream ( string strFile, string streamName ) : bool
strFile string
streamName string
return bool

Process() public method

public Process ( ) : void
return void

SeekAbsolute() public method

public SeekAbsolute ( double dTime ) : void
dTime 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

SelectAudioLanguage() protected method

protected SelectAudioLanguage ( ) : void
return void

SelectSubtitles() protected method

protected SelectSubtitles ( ) : void
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

SubtitleLanguage() public method

Property to get/set the name for a subtitle stream
public SubtitleLanguage ( int iStream ) : string
iStream int
return string

SubtitleName() public method

public SubtitleName ( int iStream ) : string
iStream int
return string

VideoName() public method

Property to get the language for an edition stream
public VideoName ( int iStream ) : string
iStream int
return string

VideoPlayerVMR7() public method

public VideoPlayerVMR7 ( ) : System
return System

VideoPlayerVMR7() public method

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

VideoType() public method

public VideoType ( int iStream ) : string
iStream int
return string

WndProc() public method

public WndProc ( Message &m ) : void
m Message
return void

Property Details

AudioExternal protected property

protected bool AudioExternal
return bool

AudioOnly protected property

protected bool AudioOnly
return bool

AutoRenderingCheck protected property

protected bool AutoRenderingCheck
return bool

FStreams protected property

protected FilterStreams FStreams
return FilterStreams

FileSync protected property

protected bool FileSync
return bool

GetInterface protected property

protected bool GetInterface
return bool

MediatypeAudio protected property

protected bool MediatypeAudio
return bool

MediatypeSubtitle protected property

protected bool MediatypeSubtitle
return bool

MediatypeVideo protected property

protected bool MediatypeVideo
return bool

SourceFilesyncFind protected property

protected bool SourceFilesyncFind
return bool

Splitter protected property

protected IBaseFilter Splitter
return IBaseFilter

VideoChange protected property

protected bool VideoChange
return bool

_AudioExtFilter protected property

protected IBaseFilter _AudioExtFilter
return IBaseFilter

_AudioExtSplitterFilter protected property

protected IBaseFilter _AudioExtSplitterFilter
return IBaseFilter

_AudioSourceFilter protected property

protected IBaseFilter _AudioSourceFilter
return IBaseFilter

_FFDShowAudio protected property

protected IBaseFilter _FFDShowAudio
return IBaseFilter

_IGraphRebuildDelegate protected property

protected IGraphRebuildDelegate _IGraphRebuildDelegate
return IGraphRebuildDelegate

_audioSwitcher protected property

protected IBaseFilter _audioSwitcher
return IBaseFilter

_interfaceSourceFilter protected property

protected IBaseFilter _interfaceSourceFilter
return IBaseFilter

_mediaType protected property

protected g_Player.MediaType _mediaType
return g_Player.MediaType

_rotEntry protected property

protected DsROTEntry _rotEntry
return DsROTEntry

_updateNeeded protected property

protected bool _updateNeeded
return bool

aacCodec protected property

protected bool aacCodec
return bool

aacCodecLav protected property

protected bool aacCodecLav
return bool

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

chapters protected property

protected double[] chapters
return double[]

chaptersname protected property

protected string[] chaptersname
return string[]

firstinit protected property

protected bool firstinit
return bool

graphBuilder protected property

protected IGraphBuilder graphBuilder
return IGraphBuilder

h264Codec protected property

protected bool h264Codec
return bool

hevcCodec protected property

protected bool hevcCodec
return bool

iChangedMediaTypes protected property

protected int iChangedMediaTypes
return int

m_ar protected property

protected Geometry.Type m_ar
return Geometry.Type

m_aspectX protected property

protected int m_aspectX
return int

m_aspectY protected property

protected int m_aspectY
return int

m_bFullScreen protected property

protected bool m_bFullScreen
return bool

m_bRateSupport protected property

protected bool m_bRateSupport
return bool

m_bStarted protected property

protected bool m_bStarted
return bool

m_bVisible protected property

protected bool m_bVisible
return bool

m_dCurrentPos protected property

protected double m_dCurrentPos
return double

m_dDuration protected property

protected double m_dDuration
return double

m_iHeight protected property

protected int m_iHeight
return int

m_iPositionX protected property

protected int m_iPositionX
return int

m_iPositionY protected property

protected int m_iPositionY
return int

m_iVideoHeight protected property

protected int m_iVideoHeight
return int

m_iVideoWidth protected property

protected int m_iVideoWidth
return int

m_iVolume protected property

protected int m_iVolume
return int

m_iWidth protected property

protected int m_iWidth
return int

m_lastFrameCounter protected property

protected int m_lastFrameCounter
return int

m_speedRate protected property

protected long m_speedRate
return long

m_state protected property

protected PlayState m_state
return PlayState

m_strCurrentFile protected property

protected string m_strCurrentFile
return string

m_volumeBeforeSeeking protected property

protected int m_volumeBeforeSeeking
return int

mediaCtrl protected property

control interface.
protected IMediaControl mediaCtrl
return IMediaControl

mediaEvt protected property

graph event interface.
protected IMediaEventEx mediaEvt
return IMediaEventEx

mediaPos protected property

seek interface to set position in stream.
protected IMediaPosition mediaPos
return IMediaPosition

mediaSeek protected property

seek interface for positioning in stream.
protected IMediaSeeking mediaSeek
return IMediaSeeking

streamLAVSelection protected property

protected bool streamLAVSelection
return bool

updateTimer protected property

protected DateTime,System updateTimer
return System.DateTime

vc1Codec protected property

protected bool vc1Codec
return bool

vc1ICodec protected property

protected bool vc1ICodec
return bool

videoWin protected property

video preview window interface.
protected IVideoWindow videoWin
return IVideoWindow

xvidCodec protected property

protected bool xvidCodec
return bool