VisioForge (c) 2025

Search Results for

    Class VideoCaptureSource

    VideoCaptureSource class.

    Inheritance
    object
    VideoCaptureSource
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: VisioForge.Core.Types.VideoCapture
    Assembly: VisioForge.Core.dll
    Syntax
    public class VideoCaptureSource

    Constructors

    VideoCaptureSource(string)

    Initializes a new instance of the VideoCaptureSource class.

    Declaration
    public VideoCaptureSource(string name)
    Parameters
    Type Name Description
    string name

    Name.

    VideoCaptureSource(VideoCaptureDeviceInfo)

    Initializes a new instance of the VideoCaptureSource class.

    Declaration
    public VideoCaptureSource(VideoCaptureDeviceInfo info)
    Parameters
    Type Name Description
    VideoCaptureDeviceInfo info

    The information.

    Properties

    CustomPinName

    Gets or sets the custom video pin name used for recording and preview. Use the VideoFormatsAllPins property of the VideoCaptureDeviceInfo to get pin names and available formats. The video capture device must be selected.

    Declaration
    public string CustomPinName { get; set; }
    Property Value
    Type Description
    string

    Format

    Gets or sets the video format for recording and preview. The video capture device must be selected.

    Declaration
    public string Format { get; set; }
    Property Value
    Type Description
    string

    Format_UseBest

    Gets or sets a value indicating whether best video capture format will be used.

    Declaration
    public bool Format_UseBest { get; set; }
    Property Value
    Type Description
    bool

    FrameRate

    Gets or sets the frame rate for the video capture device. The video capture device must be selected.

    Declaration
    public VideoFrameRate FrameRate { get; set; }
    Property Value
    Type Description
    VideoFrameRate

    InternalMPEGEncoder_Name

    Gets or sets the name of the internal MPEG encoder of the video capturing device.

    Declaration
    public string InternalMPEGEncoder_Name { get; set; }
    Property Value
    Type Description
    string

    IsAudioSource

    Gets or sets a value indicating whether video capture device will be used as audio source.

    Declaration
    public bool IsAudioSource { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    Capture audio from video capture device. Some old TV tuners do not support this feature and uses audio card for audio input.

    Name

    Gets or sets the video capture device name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Path

    Gets or sets the video capture device DirectShow path. Optional. Set this property if you have multiply devices with the same name. Use Video_CaptureDevice_GetDevicePath method to get device path for device.

    Declaration
    public string Path { get; set; }
    Property Value
    Type Description
    string

    UseClosedCaptions

    Gets or sets a value indicating whether closed captions will be used (if available).

    Declaration
    public bool UseClosedCaptions { get; set; }
    Property Value
    Type Description
    bool

    UseRAWSampleGrabber

    Gets or sets a value indicating whether video RAW sample grabber is enabled for video capture device. Use OnVideoFrameBufferRAW event to capture data.

    Declaration
    public bool UseRAWSampleGrabber { get; set; }
    Property Value
    Type Description
    bool

    Methods

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    object.ToString()