VisioForge (c) 2025

Search Results for

    Class LVCFileVideoAudioInput

    Live Video Compositor video/audio file input. Implements the LVCInput.

    Inheritance
    object
    LVCInput
    LVCFileVideoAudioInput
    Implements
    IDisposable
    Inherited Members
    LVCInput._processingBlock
    LVCInput._context
    LVCInput._mainBlock
    LVCInput._bridgeSinkBlock
    LVCInput.MediaType
    LVCInput.disposedValue
    LVCInput.Name
    LVCInput.UniqueName
    LVCInput.UniqueName2
    LVCInput.Pipeline
    LVCInput.ID
    LVCInput.AutoStart
    LVCInput.ResumeAsync()
    LVCInput.PauseAsync()
    LVCInput.StartAsync()
    LVCInput.StopAsync()
    LVCInput.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.LiveVideoCompositor
    Assembly: VisioForge.Core.dll
    Syntax
    public class LVCFileVideoAudioInput : LVCInput, IDisposable

    Constructors

    LVCFileVideoAudioInput(string, LiveVideoCompositor, MediaBlock, VideoFrameInfoX, AudioInfoX, Rect, bool, MediaBlock, MediaBlock, bool, bool?)

    Initializes a new instance of the LVCFileVideoAudioInput class.

    Declaration
    public LVCFileVideoAudioInput(string name, LiveVideoCompositor compositor, MediaBlock mainBlock, VideoFrameInfoX videoInfo, AudioInfoX audioInfo, Rect rect, bool autostart, MediaBlock processingVideoBlock = null, MediaBlock processingAudioBlock = null, bool live = true, bool? customSyncFlag = null)
    Parameters
    Type Name Description
    string name

    The name.

    LiveVideoCompositor compositor

    The compositor.

    MediaBlock mainBlock

    The main block.

    VideoFrameInfoX videoInfo

    The video frame info (width, height and frame rate are required).

    AudioInfoX audioInfo

    The audio info (format, channels and sample rate are required).

    Rect rect

    The rectangle.

    bool autostart

    if set to true autostart wtih a main pipeline.

    MediaBlock processingVideoBlock

    The processing video block.

    MediaBlock processingAudioBlock

    The processing audio block.

    bool live

    if set to true is live source.

    bool? customSyncFlag

    The custom sync flag.

    LVCFileVideoAudioInput(string, MediaBlock, VideoFrameInfoX, AudioInfoX, Rect, bool, MediaBlock, MediaBlock, bool, bool?)

    Initializes a new instance of the LVCFileVideoAudioInput class.

    Declaration
    public LVCFileVideoAudioInput(string name, MediaBlock mainBlock, VideoFrameInfoX videoInfo, AudioInfoX audioInfo, Rect rect, bool autostart, MediaBlock processingVideoBlock = null, MediaBlock processingAudioBlock = null, bool live = true, bool? customSyncFlag = null)
    Parameters
    Type Name Description
    string name

    The name.

    MediaBlock mainBlock

    The main block.

    VideoFrameInfoX videoInfo

    The video frame info (width, height and frame rate are required).

    AudioInfoX audioInfo

    The audio info (format, channels and sample rate are required).

    Rect rect

    The rectangle.

    bool autostart

    if set to true autostart wtih a main pipeline.

    MediaBlock processingVideoBlock

    The processing video block.

    MediaBlock processingAudioBlock

    The processing audio block.

    bool live

    if set to true is live source.

    bool? customSyncFlag

    The custom sync flag.

    Properties

    AudioID

    Gets the audio identifier.

    Declaration
    public int AudioID { get; }
    Property Value
    Type Description
    int

    The audio identifier.

    Rectangle

    Gets or sets the rectangle. This property is ignored if the playback is started. Use the Input_VideoStream_Update method to update the rectangle during the playback.

    Declaration
    public Rect Rectangle { get; set; }
    Property Value
    Type Description
    Rect

    The rectangle.

    VideoID

    Gets the video identifier.

    Declaration
    public int VideoID { get; }
    Property Value
    Type Description
    int

    The video identifier.

    Methods

    Build(int, string, int, string)

    Builds.

    Declaration
    public override void Build(int id, string uniqueName, int id2 = -1, string uniqueName2 = null)
    Parameters
    Type Name Description
    int id

    The identifier.

    string uniqueName

    The unique name 1.

    int id2

    The identifier 2.

    string uniqueName2

    The unique name 2.

    Overrides
    LVCInput.Build(int, string, int, string)

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    LVCInput.Dispose(bool)

    GetVideoInfo()

    Gets the video information.

    Declaration
    public VideoFrameInfoX GetVideoInfo()
    Returns
    Type Description
    VideoFrameInfoX

    VideoFrameInfoX.

    Implements

    IDisposable

    See Also

    LVCInput