Class VLASFPlayer.TVLASFPlayer
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
Revision as of 23:52, 25 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VideoLabBasicPkg
Unit: VLASFPlayer
Inherits: TMLASFBasicPlayer
Contents |
Syntax
Delphi:
type TVLASFPlayer = class( TMLASFBasicPlayer )
C++ Builder:
class TVLASFPlayer : public TMLASFBasicPlayer
Visual C++ (MFC):
class CTVLASFPlayer : public CTMLASFBasicPlayer
C# (.NET):
public ref class TVLASFPlayer : Mitov.VideoLab.ASFBasicPlayer
Summary
Plays ASF and WMV Video Files.
Description
Requires DirectShow 8.1 or higher.
If you don't want to use DirectShow use the TVLAVIPlayer component instead.
This component also requires Windows Media Encoder. Please visit:
[[1]]to obtain a copy of Windows Media Encoder.
This DirectShow component can be used to play ASF and WMV Video files.
To play an Video file, place the component on a form, set the FileName with the name of an existing Video file, set the component Enabled property to True, and connect the OutputPut pin to the InputPin of an TVLImageDisplay.
Diagram:
Properties
Published
Public
- CurrentFrame - Current video frame recorded.
- FramesCount - Total number of frames.
- Height - Returns the Height of the video frame.
- Width - Returns the Width of the video frame.
- FramePeriod - Returns the period between the video frames.
Pins
- OutputPin - The Video Output Pin of the player.
- AudioOutputPin - The Audio Output Pin of the player.
From TMLASFBasicPlayer
Properties
Published
Public
Methods
Public
- function GetBufferingState(var APercentDone : Integer; var ATimeRemaining : Int64) : Boolean
- function Open() : Boolean
- procedure Close()
- procedure Pause()
- procedure Resume()
- procedure Start()
- procedure Stop()
- procedure Pump()
- procedure StopBuffering()