Capture Members

DirectX.Capture

DirectX.Capture Class Library

Capture Members

Public Instance Constructors

Capture Constructor Create a new Capture object. videoDevice and audioDevice can be null if you do not wish to capture both audio and video. However at least one must be a valid device. Use the Filters class to list available devices.

Public Instance Properties

AudioCaps The capabilities of the audio device.
AudioChannels Get or set the number of channels in the waveform-audio data.
AudioCompressor The audio compression filter.
AudioDevice The audio capture device filter. Read-only. To use a different device, dispose of the current Capture instance and create a new instance with the desired device.
AudioSampleSize Get or set the number of bits recorded per sample.
AudioSamplingRate Get or set the number of audio samples taken per second.
AudioSource The current audio source. Use Capture.AudioSources to list available sources. Set to null to disable all sources (mute).
AudioSources Collection of available audio sources/physical connectors on the current audio device.
Capturing Is the class currently capturing. Read-only.
Cued Has the class been cued to begin capturing. Read-only.
Filename Name of file to capture to. Initially set to a valid temporary file.
FrameRate Gets and sets the frame rate used to capture video.
FrameSize Gets and sets the frame size used to capture video.
PreviewWindow The control that will host the preview window.
PropertyPages Available property pages.
Stopped Is the class currently stopped. Read-only.
Tuner The TV Tuner or null if the current video device does not have a TV Tuner.
VideoCaps The capabilities of the video device.
VideoCompressor The video compression filter. When this property is changed the internal filter graph is rebuilt. This means that some properties will be reset. Set this property as early as possible to avoid losing changes. This property cannot be changed while capturing.
VideoDevice The video capture device filter. Read-only. To use a different device, dispose of the current Capture instance and create a new instance with the desired device.
VideoSource The current video source. Use Capture.VideoSources to list available sources. Set to null to disable all sources (mute).
VideoSources Collection of available video sources/physical connectors on the current video device.

Public Instance Methods

Cue Prepare for capturing. Use this method when capturing must begin as quickly as possible.
Dispose Calls Stop, releases all references. If a capture is in progress it will be stopped, but the CaptureComplete event will NOT fire.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Start Begin capturing.
Stop Stop the current capture capture. If there is no current capture, this method will succeed.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

CaptureComplete Fired when a capture is completed (manually or automatically).

See Also

Capture Class | DirectX.Capture Namespace