Table of Contents

Class ImageVideoSourceSettings

Namespace
VisioForge.Core.Types.X.Sources
Assembly
VisioForge.Core.dll

Image video source settings.

public class ImageVideoSourceSettings : IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Constructors

ImageVideoSourceSettings(string)

Initializes a new instance of the VisioForge.Core.Types.X.Sources.ImageVideoSourceSettings class.

public ImageVideoSourceSettings(string filename)

Parameters

filename string

The file name.

Properties

AnimationInfiniteLoop

Gets or sets a value indicating whether the animation should loop infinitely.

public bool AnimationInfiniteLoop { get; set; }

Property Value

bool

AverageFrameRate

Gets the frame rate the source declares for this image: the GIF's average rate (frames over the loop length) for an animated GIF, VisioForge.Core.Types.X.Sources.ImageVideoSourceSettings.FrameRate for a still image.

public VideoFrameRate AverageFrameRate { get; }

Property Value

VideoFrameRate

Filename

Gets or sets the filename.

public string Filename { get; set; }

Property Value

string

Format

Gets the image format.

public SKEncodedImageFormat Format { get; }

Property Value

SKEncodedImageFormat

FrameRate

Gets or sets the frame rate of a still image. A GIF played by AnimatedGIFSourceBlock, or an animated GIF in ImageVideoSourceBlock, plays at the GIF's own frame delays and declares the GIF's average rate (frames over the loop length) instead.

public VideoFrameRate FrameRate { get; set; }

Property Value

VideoFrameRate

Height

Gets the height.

public int Height { get; }

Property Value

int

IsAnimated

Is the image animated?

public bool IsAnimated { get; }

Property Value

bool

IsLive

True for live stream, false for a stream with seeking support.

public bool IsLive { get; set; }

Property Value

bool

NumBuffers

Gets or sets the number of buffers to output before sending Stop call (-1 = unlimited).

public int NumBuffers { get; set; }

Property Value

int

Width

Gets the width.

public int Width { get; }

Property Value

int

Methods

CreateBlock()

Creates the block.

public MediaBlock CreateBlock()

Returns

MediaBlock

MediaBlock.