Class ImageVideoSourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Image video source settings.
public class ImageVideoSourceSettings : IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
ImageVideoSourceSettings(string)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.ImageVideoSourceSettings class.
public ImageVideoSourceSettings(string filename)Parameters
filenamestring-
The file name.
Properties
AnimationInfiniteLoop
Gets or sets a value indicating whether the animation should loop infinitely.
public bool AnimationInfiniteLoop { get; set; }Property Value
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
Filename
Gets or sets the filename.
public string Filename { get; set; }Property Value
Format
Gets the image format.
public SKEncodedImageFormat Format { get; }Property Value
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
Height
Gets the height.
public int Height { get; }Property Value
IsAnimated
Is the image animated?
public bool IsAnimated { get; }Property Value
IsLive
True for live stream, false for a stream with seeking support.
public bool IsLive { get; set; }Property Value
NumBuffers
Gets or sets the number of buffers to output before sending Stop call (-1 = unlimited).
public int NumBuffers { get; set; }Property Value
Width
Gets the width.
public int Width { get; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.