The VideoPlayer object, accessible through the control's VideoPlayer property, is internally implemented as a COM interface called IVideoPlayer and gives access to playback of video clips through DirectShow.
For details about video clips rendering refer to the How to play video files through DirectShow tutorial.
The VideoPlayer object is implemented through the following methods:
Methods
AttachToVideoMixer
AudioDelayGet
AudioDelaySet
AudioMultiStreamCheck
AudioMultiStreamGetCount
AudioMultiStreamGetName
AudioMultiStreamSelect
AudioRendererDsDeviceGetCount
AudioRendererDsDeviceGetDesc
AudioRendererDsDeviceSet
AudioRendererModeGet
AudioRendererModeSet
AudioTrackExtract
AudioTrackExtractAbort
AudioTrackFree
AudioTrackGetMemoryPtr
AudioTrackGetMemorySize
AudioTrackGetTempFilePathname
AudioTrackGetTempFileSize
Close
CodecAudioDescGet
CodecVideoDescGet
DetachFromVideoMixer
Forward
FrameGrabberInit
FrameGrabberExit
FrameGrabberExecToFile
FrameGrabberExecToMemory
FrameGrabberResultsGetAvailableType
FrameGrabberResultsGetPixelColor
FrameGrabberResultsGetBitmap
FrameGrabberResultsGetBitmapsCount
FrameGrabberResultsGetFilePathname
FrameGrabberResultsGetFilesCount
FramesNumberGet
FramesAverageRateGet
GetDuration
GetNativeSize
GetPosition
IsAudioStreamAvailable
IsDirectShowAvail
IsSeekable
IsVideoStreamAvailable
Load
LoadForEAX
LoadForTempoChange
LoadFromMemory
LoadFromMemoryForEAX
LoadFromMemoryForTempoChange
LoadFromMemorySync
LoadFromMemorySyncForEAX
LoadFromMemorySyncForTempoChange
LoadSync
LoadSyncForEAX
LoadSyncForTempoChange
Pause
Play
PlayRange
Resume
Rewind
Seek
SeekToNextFrame
SeekToPreviousFrame
Stop
VideoStreamKeepAspectRatio
VideoStreamSendToActiveMovieWin
VideoWIndowAdd
VideoWindowGetHWND
VideoWindowMove
VideoWindowShow
Examples of use of the VideoPlayer object in Visual Basic 6 and Visual C++ 6 can be found inside the following samples installed with the product's setup package:
- AsioVideoPlayer
- VideoMixer
- VideoPlayerSimple
- VideoPlayerMultipleOutout
- VideoWaveform
|