Class VideoContent
Provides a base class for all video objects.
public class VideoContent : ContentItem, IDisposable
- Inheritance
-
VideoContent
- Implements
- Inherited Members
Constructors
VideoContent(string)
Initializes a new copy of the VideoContent class for the specified video file.
public VideoContent(string filename)
Parameters
filename
stringThe file name of the video to import.
Properties
BitsPerSecond
Gets the bit rate for this video.
public int BitsPerSecond { get; }
Property Value
Duration
Gets the duration of this video.
public TimeSpan Duration { get; }
Property Value
Filename
Gets or sets the file name for this video.
[ContentSerializer]
public string Filename { get; set; }
Property Value
FramesPerSecond
Gets the frame rate for this video.
public float FramesPerSecond { get; }
Property Value
Height
Gets the height of this video.
public int Height { get; }
Property Value
VideoSoundtrackType
Gets or sets the type of soundtrack accompanying the video.
[ContentSerializer]
public VideoSoundtrackType VideoSoundtrackType { get; set; }
Property Value
Width
Gets the width of this video.
public int Width { get; }
Property Value
Methods
Dispose()
Immediately releases the unmanaged resources used by this object.
public void Dispose()
Dispose(bool)
Immediately releases the unmanaged resources used by this object.
protected virtual void Dispose(bool disposing)
Parameters
disposing
booltrue to release both managed and unmanaged resources; false to release only unmanaged resources.
~VideoContent()
protected ~VideoContent()