Class VideoFrameSource
Video file frame source class provide frame event to get all video frames.
Inheritance
VideoFrameSource
Assembly: VisioForge.Core.dll
public class VideoFrameSource : IDisposable
Properties
Declaration
public long FramesProcessed { get; }
Property Value
Declaration
public long FramesReceived { get; }
Property Value
Declaration
public int FramesToSkip { get; set; }
Property Value
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
Declaration
protected ~VideoFrameSource()
Declaration
public Task StartAsync(string filename, VideoFormatX format, Size? resizeTo)
Parameters
Returns
Declaration
public Task StartAsync(Uri uri, VideoFormatX format, Size? resizeTo)
Parameters
Returns
Declaration
public Task StartAsync(IVideoView videoView, VideoCaptureDeviceSourceSettings sourceSettings, VideoFormatX frameFormat, Size? resizeTo)
Parameters
Returns
Declaration
Returns
Events
Declaration
public event EventHandler<VideoFrameX> OnNewFrame
Event Type
Declaration
public event EventHandler<EventArgs> OnStop
Event Type
Implements