Class VLASFPlayer.TVLASFPlayer
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 34: | Line 34: | ||
== Description == | == Description == | ||
− | + | <span style="color:red"><b>Requires DirectShow 8.1 or higher.</b></span> | |
− | + | <span style="color:red"><b>If you don't want to use DirectShow use the | |
− | [[Class VLAVIPlayer.TVLAVIPlayer|TVLAVIPlayer]] component instead.</ | + | [[Class VLAVIPlayer.TVLAVIPlayer|TVLAVIPlayer]] component instead.</b></span> |
− | + | <span style="color:red"><b>This component also requires Windows Media | |
− | Encoder. Please visit:</ | + | Encoder. Please visit:</b></span> |
− | [[http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx]] | + | [[http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx]]<span style="color:red"><b>to obtain a copy of Windows Media Encoder.</b></span> |
This DirectShow component can be used to play ASF and WMV | This DirectShow component can be used to play ASF and WMV | ||
Line 48: | Line 48: | ||
To play an Video file, place the component on a form, set the | To play an Video file, place the component on a form, set the | ||
− | FileName with the name of an existing Video file, set the | + | [[Property VLASFPlayer.TVLASFPlayer.FileName|FileName]] with the name of an existing Video file, set the |
component Enabled property to True, and connect the OutputPut | component Enabled property to True, and connect the OutputPut | ||
pin to the InputPin of an [[Class VLImageDisplay.TVLImageDisplay|TVLImageDisplay]]. | pin to the InputPin of an [[Class VLImageDisplay.TVLImageDisplay|TVLImageDisplay]]. | ||
+ | |||
+ | |||
+ | |||
+ | <b>Diagram:</b> | ||
+ | |||
+ | [[Image:VLASFPlayer_Preview.png]] | ||
== Properties == | == Properties == | ||
+ | |||
+ | === Published === | ||
+ | *[[Property VLASFPlayer.TVLASFPlayer.FileName|FileName]] | ||
=== Public === | === Public === | ||
Line 70: | Line 79: | ||
=== Published === | === Published === | ||
− | |||
*[[Property MLASFPlayer.TMLASFBasicPlayer.FileName|FileName]] | *[[Property MLASFPlayer.TMLASFBasicPlayer.FileName|FileName]] | ||
+ | *[[Property MLASFPlayer.TMLASFBasicPlayer.Enabled|Enabled]] | ||
*[[Property MLASFPlayer.TMLASFBasicPlayer.Credentials|Credentials]] | *[[Property MLASFPlayer.TMLASFBasicPlayer.Credentials|Credentials]] | ||
*[[Property MLASFPlayer.TMLASFBasicPlayer.Timeout|Timeout]] | *[[Property MLASFPlayer.TMLASFBasicPlayer.Timeout|Timeout]] | ||
*[[Property MLASFPlayer.TMLASFBasicPlayer.Paused|Paused]] | *[[Property MLASFPlayer.TMLASFBasicPlayer.Paused|Paused]] | ||
+ | *[[Property MLASFPlayer.TMLASFBasicPlayer.Loop|Loop]] | ||
*[[Property MLASFPlayer.TMLASFBasicPlayer.PlaybackSpeed|PlaybackSpeed]] | *[[Property MLASFPlayer.TMLASFBasicPlayer.PlaybackSpeed|PlaybackSpeed]] | ||
*[[Property MLASFPlayer.TMLASFBasicPlayer.ClockSource|ClockSource]] | *[[Property MLASFPlayer.TMLASFBasicPlayer.ClockSource|ClockSource]] | ||
Line 98: | Line 108: | ||
== Pins == | == Pins == | ||
− | |||
− | |||
− | |||
*[[Pin MLASFPlayer.TMLASFBasicPlayer.ClockPin|ClockPin]] | *[[Pin MLASFPlayer.TMLASFBasicPlayer.ClockPin|ClockPin]] | ||
*[[Pin MLASFPlayer.TMLASFBasicPlayer.ProgressPin|ProgressPin]] | *[[Pin MLASFPlayer.TMLASFBasicPlayer.ProgressPin|ProgressPin]] | ||
Line 106: | Line 113: | ||
== Events == | == Events == | ||
*[[Event MLASFPlayer.TMLASFBasicPlayer.OnPlayerStatus|OnPlayerStatus]] | *[[Event MLASFPlayer.TMLASFBasicPlayer.OnPlayerStatus|OnPlayerStatus]] | ||
+ | *[[Event MLASFPlayer.TMLASFBasicPlayer.OnProgress|OnProgress]] | ||
+ | *[[Event MLASFPlayer.TMLASFBasicPlayer.OnStop|OnStop]] | ||
== From [[Class MLWMFBaseComponent.TMLWMFBaseComponent|TMLWMFBaseComponent]] == | == From [[Class MLWMFBaseComponent.TMLWMFBaseComponent|TMLWMFBaseComponent]] == |
Revision as of 20:28, 10 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()