VisioForge (c) 2025

Search Results for

    Class VideoCaptureDeviceInfo

    Video capture device information.

    Inheritance
    object
    VideoCaptureDeviceInfo
    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 VideoCaptureDeviceInfo

    Constructors

    VideoCaptureDeviceInfo(string)

    Initializes a new instance of the VideoCaptureDeviceInfo class.

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

    Name.

    Properties

    AudioFormats

    Gets audio formats (if device have audio pin).

    Declaration
    public List<string> AudioFormats { get; }
    Property Value
    Type Description
    List<string>

    AudioOutput

    Gets a value indicating whether audio output pin present on video capture device.

    Declaration
    public bool AudioOutput { get; }
    Property Value
    Type Description
    bool

    CrossbarAvailable

    Gets a value indicating whether crossbar available for video capture device.

    Declaration
    public bool CrossbarAvailable { get; }
    Property Value
    Type Description
    bool

    DevicePath

    Gets device path.

    Declaration
    public string DevicePath { get; }
    Property Value
    Type Description
    string

    DeviceType

    Gets device type.

    Declaration
    public DeviceType DeviceType { get; }
    Property Value
    Type Description
    DeviceType

    DialogCaptureDisplay

    Gets a value indicating whether capture display dialog available.

    Declaration
    public bool DialogCaptureDisplay { get; }
    Property Value
    Type Description
    bool

    DialogCaptureFormat

    Gets a value indicating whether capture format dialog available.

    Declaration
    public bool DialogCaptureFormat { get; }
    Property Value
    Type Description
    bool

    DialogCaptureSource

    Gets a value indicating whether capture source dialog available.

    Declaration
    public bool DialogCaptureSource { get; }
    Property Value
    Type Description
    bool

    DialogCompressorAbout

    Gets a value indicating whether compressor about dialog available.

    Declaration
    public bool DialogCompressorAbout { get; }
    Property Value
    Type Description
    bool

    DialogCompressorConfig

    Gets a value indicating whether compressor config dialog available.

    Declaration
    public bool DialogCompressorConfig { get; }
    Property Value
    Type Description
    bool

    DialogDefault

    Gets a value indicating whether default dialog available.

    Declaration
    public bool DialogDefault { get; }
    Property Value
    Type Description
    bool

    Initiated

    Gets a value indicating whether device information is available.

    Declaration
    public bool Initiated { get; }
    Property Value
    Type Description
    bool

    Name

    Gets or sets device name.

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

    TVTuner

    Gets TV tuner name.

    Declaration
    public string TVTuner { get; }
    Property Value
    Type Description
    string

    VideoFormats

    Gets video formats.

    Declaration
    public List<VideoCaptureDeviceFormat> VideoFormats { get; }
    Property Value
    Type Description
    List<VideoCaptureDeviceFormat>

    VideoFormatsAllPins

    Gets video formats for all output pins.

    Declaration
    public List<Tuple<string, List<VideoCaptureDeviceFormat>>> VideoFormatsAllPins { get; }
    Property Value
    Type Description
    List<Tuple<string, List<VideoCaptureDeviceFormat>>>

    Methods

    CanStart()

    Check if device can start playback.

    Declaration
    public bool CanStart()
    Returns
    Type Description
    bool

    The bool.

    Fill(string, DeviceType, string, bool, bool, List<VideoCaptureDeviceFormat>, List<Tuple<string, List<VideoCaptureDeviceFormat>>>, List<string>)

    Fills properties.

    Declaration
    public void Fill(string devicePath, DeviceType deviceType, string tvTuner, bool audioOutput, bool crossbar, List<VideoCaptureDeviceFormat> videoFormats, List<Tuple<string, List<VideoCaptureDeviceFormat>>> videoFormatsAllPins, List<string> audioFormats)
    Parameters
    Type Name Description
    string devicePath

    Device path.

    DeviceType deviceType

    Device type.

    string tvTuner

    TV tuner name.

    bool audioOutput

    Audio output available.

    bool crossbar

    Crossbar available.

    List<VideoCaptureDeviceFormat> videoFormats

    Video formats.

    List<Tuple<string, List<VideoCaptureDeviceFormat>>> videoFormatsAllPins

    Video formats for all pins.

    List<string> audioFormats

    Audio formats.

    FillDialogs(bool, bool, bool, bool, bool, bool)

    Fills dialogs.

    Declaration
    public void FillDialogs(bool default_, bool captureDisplay, bool captureFormat, bool captureSource, bool compressorConfig, bool compressorAbout)
    Parameters
    Type Name Description
    bool default_

    Default dialog.

    bool captureDisplay

    Capture display dialog.

    bool captureFormat

    Capture format dialog.

    bool captureSource

    Capture source dialog.

    bool compressorConfig

    Compressor config dialog.

    bool compressorAbout

    Compressor about dialog.

    GetHDFormat()

    Gets the HD format.

    Declaration
    public Tuple<VideoCaptureDeviceFormat, VideoFrameRate> GetHDFormat()
    Returns
    Type Description
    Tuple<VideoCaptureDeviceFormat, VideoFrameRate>

    Tuple<VideoCaptureDeviceFormat, VideoFrameRate>.

    ToString()

    Class as a string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Returns string.

    Overrides
    object.ToString()

    Events

    OnCanStart

    Event called to check if device can start.

    Declaration
    public event EventHandler<OnDeviceCanStartEventArgs> OnCanStart
    Event Type
    Type Description
    EventHandler<OnDeviceCanStartEventArgs>

    OnInitiateRequired

    Event called if initiate required;

    Declaration
    public event EventHandler<EventArgs> OnInitiateRequired
    Event Type
    Type Description
    EventHandler<EventArgs>