VisioForge (c) 2025

Search Results for

    Class VideoFrameSource

    Video file frame source class provide frame event to get all video frames.

    Inheritance
    object
    VideoFrameSource
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.MediaBlocks
    Assembly: VisioForge.Core.dll
    Syntax
    public class VideoFrameSource : IDisposable

    Properties

    FramesProcessed

    Declaration
    public long FramesProcessed { get; }
    Property Value
    Type Description
    long

    FramesReceived

    Declaration
    public long FramesReceived { get; }
    Property Value
    Type Description
    long

    FramesToSkip

    Declaration
    public int FramesToSkip { get; set; }
    Property Value
    Type Description
    int

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Dispose(bool)

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

    ~VideoFrameSource()

    Declaration
    protected ~VideoFrameSource()

    StartAsync(string, VideoFormatX, Size?)

    Declaration
    public Task StartAsync(string filename, VideoFormatX format, Size? resizeTo)
    Parameters
    Type Name Description
    string filename
    VideoFormatX format
    Size resizeTo
    Returns
    Type Description
    Task

    StartAsync(Uri, VideoFormatX, Size?)

    Declaration
    public Task StartAsync(Uri uri, VideoFormatX format, Size? resizeTo)
    Parameters
    Type Name Description
    Uri uri
    VideoFormatX format
    Size resizeTo
    Returns
    Type Description
    Task

    StartAsync(IVideoView, VideoCaptureDeviceSourceSettings, VideoFormatX, Size?)

    Declaration
    public Task StartAsync(IVideoView videoView, VideoCaptureDeviceSourceSettings sourceSettings, VideoFormatX frameFormat, Size? resizeTo)
    Parameters
    Type Name Description
    IVideoView videoView
    VideoCaptureDeviceSourceSettings sourceSettings
    VideoFormatX frameFormat
    Size resizeTo
    Returns
    Type Description
    Task

    StopAsync()

    Declaration
    public Task StopAsync()
    Returns
    Type Description
    Task

    Events

    OnNewFrame

    Declaration
    public event EventHandler<VideoFrameX> OnNewFrame
    Event Type
    Type Description
    EventHandler<VideoFrameX>

    OnStop

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

    Implements

    IDisposable