Class VLDSCapture.TVLDSCapture
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: VLDSCapture
Inherits: TLPComponent
Contents |
Syntax
Delphi:
type TVLDSCapture = class( TLPComponent )
C++ Builder:
class TVLDSCapture : public TLPComponent
Visual C++ (MFC):
class CTVLDSCapture : public CTLPComponent
C# (.NET):
public ref class TVLDSCapture : Mitov.VideoLab.Component
Summary
Captures Video from device using DirectShow.
Description
Requires DirectShow 8.1 or higher.
If you don't want to use DirectShow use the TVLCapture component instead.
DirectShow based video capture component.
Use this component to capture video data from a capturing device such as TV Tuner or Camcorder.
To capture data from a device, place the component on a form, select the driver of the device to use for capturing, set the Enabled property of the component to True, and connect the output pin to an InputPin of a component capable of receiving video data, as example a TVLAVILogger, TVLImageDisplay or TVLDSImageDisplay.
Properties
Published
- Enabled - Enables/Disables the capture.
- VideoPreview - Controls the video preview.
- AudioPreview - Enables Audio Preview.
- VideoSize - Desired video frame size.
- FrameRate - Capture Frame Rate.
- VideoFormat - Desired capture video format - RGB or YUY2.
- AudioFormat - Specifies the desired audio capture format.
- TVTuner - TV Tuner settings.
- ClosedCaptions - Closed Caption settings.
- DVResolution - Specifies the desired DV resolution.
- VideoCaptureDevice - Desired video input device(s).
- AudioCaptureDevice - Desired audio input device(s).
- VideoSources - List of video capture sources.
- AudioSources - List of audio capture sources.
- Adjustment - Adjustments for the picture quality.
- CameraControl - Camera control settings.
- UseHardwareCompression - Specifies if the device should use hardware compression if available.
- Graph - The DirectShow Graph.
Public
- Height - Returns the Height of the video frame.
- Width - Returns the Width of the video frame.
- FramePeriod - Returns the period between the video frames.
- RunningAudioFormat - Returns information about the running audio format during the capture.
- AspectRatio - Returns information about the video aspect ratio.
- Interlacing - Returns information about the video interlacing.
- CurrentDVResolution - Returns the current DV resolution.
- CaptionsAvailable - Closed Captions available.
- DigitalVideo - Digital Video (DV) settings.
- VideoModes - List of supported video modes by the device.
- CrossbarDialogs - List of Crossbar dialogs.
- Opened - Returns True if the device is opened.
- AvailableVideoDialogs - Set of available video dialogs.
- AvailableAudioDialogs - Set of available audio dialogs.
Methods
Public
- function Open() : Boolean - Opens the device.
- procedure Close() - Closes the device.
- procedure Start() - Starts the capture.
- procedure Stop() - Stops the capture.
- function ShowVideoDialog(DialogType : TVLDSCaptureDialog) : Boolean - Shows a specified DirectShow video dialog.
- function ShowAudioDialog(DialogType : TALDSCaptureDialog) : Boolean - Shows a specified DirectShow audio dialog.
Pins
- OutputPin - The Video Output Pin of the component.
- CaptionOutputPin - The Closed Caption Video Output Pin.
- AudioOutputPin - The Audio Output Pin of the component.
- EnablePin - The enable pin of the component.
Events
- OnStop - Occurs when the capture is stopped.