Class VLDSVideoPlayer.TVLDSVideoPlayer
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(One intermediate revision by one user not shown) | |||
Line 28: | Line 28: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' DSVideoPlayer : [[Class MLDSPlayer.TMLDSPlayer|Mitov.VideoLab.DSPlayer]] |
</code> | </code> | ||
== Summary == | == Summary == |
Latest revision as of 00:30, 26 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: VLDSVideoPlayer
Inherits: TMLDSPlayer
Contents |
Syntax
Delphi:
type TVLDSVideoPlayer = class( TMLDSPlayer )
C++ Builder:
class TVLDSVideoPlayer : public TMLDSPlayer
Visual C++ (MFC):
class CTVLDSVideoPlayer : public CTMLDSPlayer
C# (.NET):
public ref class DSVideoPlayer : Mitov.VideoLab.DSPlayer
Summary
Plays Video files using DirectShow.
Description
Requires DirectShow 8.1 or higher.
If you don't want to use DirectShow use the TVLAVIPlayer component instead.
This DirectShow compionent can be used to play 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
- VideoPreview - Controls the video preview.
- AudioPreview - Enables Audio Preview.
- ExtractRawVideo - Specifies if the player should try to extract raw/uncompressed video.
- TimeStamps - Timestamp settings.
- FileName
Public
- AspectRatio - Returns information about the video aspect ratio.
- Interlacing - Returns information about the video interlacing.
- Height - The Height of the video frame.
- Width - The Width of the video frame.
- FramePeriod - Returns the period between the video frames.
- Capabilities - Returns the set of available capabilities.
- CanStepFrames - The number of frames the video can step forward at a time
- AudioFilterName - Returns the audio codec filter name.
- AudioCodecName - Returns the audio codec name.
- AudioCodec - The FourCC code of the audio codec used to encode the file.
- VideoFilterName - Returns the video codec filter name.
- VideoCodecName - Returns the video codec name.
- VideoCodec - The FourCC code of the video codec used to encode the file.
- DurationTime - The total time of the opened file.
- CurrentTime - Current time being played.
- CurrentFrame - Current frame being played.
- FramesCount - Total number of frames.
Methods
Public
- function FrameStep(Frames : Cardinal) : Boolean - Step number of frames. Parameters Frames : Number of frames to step forward.
Pins
- OutputPin - The Video Output Pin of the player.
- RawOutputPin - The Raw uncompressed Video Output Pin of the player.
- AudioOutputPin - The Audio Output Pin of the player.
Events
- OnReset - Occurs when the playback reaches the end of the video in Loop pmode.
From TMLDSPlayer
Properties
Published
- Graph
- Enabled
- Paused
- ClockSource
- PumpPriority
- Loop
- FileName
- RestartOnNewFile
- PlaybackRate
- PlaybackPrefill
- ExtractRawAudio
Public
Methods
Public
- function Open() : Boolean
- procedure Close()
- procedure Start()
- procedure Stop()
- procedure Pause()
- procedure Resume()
- procedure Pump()