Table of Contents

Class VideoFileSource

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

Video file source used in Video Edit SDK.

public class VideoFileSource

Inheritance

Inherited Members

Constructors

VideoFileSource(string, TimeSpan?, TimeSpan?, int, double)

Initializes a new instance of the VisioForge.Core.Types.X.VideoEdit.VideoFileSource class.

public VideoFileSource(string filename, TimeSpan? startTime = null, TimeSpan? stopTime = null, int streamNumber = 0, double rate = 1)

Parameters

filename string

File name.

startTime TimeSpan?

Start time.

stopTime TimeSpan?

Stop time.

streamNumber int

Stream number.

rate double

Playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%. .

VideoFileSource(string, FileSegment[], int, double)

Initializes a new instance of the VisioForge.Core.Types.X.VideoEdit.VideoFileSource class.

public VideoFileSource(string filename, FileSegment[] segments, int streamNumber = 0, double rate = 1)

Parameters

filename string

File name.

segments FileSegment[]

Segments list.

streamNumber int

Stream number.

rate double

Playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%. .

Properties

Effects

Gets the video effects.

public List<IVideoEditXVideoEffect> Effects { get; }

Property Value

List<IVideoEditXVideoEffect>

Filename

Gets or sets image file name.

public string Filename { get; set; }

Property Value

string

LayerID

Gets or sets the layer identifier for composition.

public int LayerID { get; set; }

Property Value

int

Rate

Gets or sets playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%.

public double Rate { get; set; }

Property Value

double

ResizeFileToAspectRatio

Gets or sets a value indicating whether file will be resized to value provided by aspect ratio tag. Disabled by default.

public bool ResizeFileToAspectRatio { get; set; }

Property Value

bool

Segments

Gets or sets segments list for the file.

public FileSegment[] Segments { get; set; }

Property Value

FileSegment[]

StreamNumber

Gets or sets stream number.

public int StreamNumber { get; set; }

Property Value

int