Class VideoFileSource
- Namespace
- VisioForge.Core.Types.X.VideoEdit
- Assembly
- VisioForge.Core.dll
Video file source used in Video Edit SDK.
public class VideoFileSourceInheritance
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
filenamestring-
File name.
startTimeTimeSpan?-
Start time.
stopTimeTimeSpan?-
Stop time.
streamNumberint-
Stream number.
ratedouble-
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
filenamestring-
File name.
segmentsFileSegment[]-
Segments list.
streamNumberint-
Stream number.
ratedouble-
Playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%. .
Properties
Effects
Gets the video effects.
public List<IVideoEditXVideoEffect> Effects { get; }Property Value
Filename
Gets or sets image file name.
public string Filename { get; set; }Property Value
LayerID
Gets or sets the layer identifier for composition.
public int LayerID { get; set; }Property Value
Rate
Gets or sets playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%.
public double Rate { get; set; }Property Value
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
Segments
Gets or sets segments list for the file.
public FileSegment[] Segments { get; set; }Property Value
StreamNumber
Gets or sets stream number.
public int StreamNumber { get; set; }