Class DemuxerSourceSettings
Demuxer source settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class DemuxerSourceSettings : IMediaPlayerBaseSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoSourceSettings, IMediaBlockSettings
Properties
Filename
Gets the file name.
Declaration
public string Filename { get; }
Property Value
Type | Description |
---|---|
string |
RenderAudio
The render audio.
Declaration
public bool RenderAudio { get; }
Property Value
Type | Description |
---|---|
bool |
RenderSubtitle
The render subtitle.
Declaration
public bool RenderSubtitle { get; }
Property Value
Type | Description |
---|---|
bool |
RenderVideo
The render video.
Declaration
public bool RenderVideo { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
CreateAsync(string, bool, bool, bool)
Create as an asynchronous operation.
Declaration
public static Task<DemuxerSourceSettings> CreateAsync(string filename, bool renderVideo = true, bool renderAudio = true, bool renderSubtitle = false)
Parameters
Type | Name | Description |
---|---|---|
string | filename | The filename. |
bool | renderVideo | if set to |
bool | renderAudio | if set to |
bool | renderSubtitle | if set to |
Returns
Type | Description |
---|---|
Task<DemuxerSourceSettings> | A Task<DemuxerSourceSettings> representing the asynchronous operation. |
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
GetInfo()
Gets the file information.
Declaration
public MediaFileInfo GetInfo()
Returns
Type | Description |
---|---|
MediaFileInfo | MediaFileInfo. |
ReadInfoAsync()
Read information as an asynchronous operation.
Declaration
public Task<MediaFileInfo> ReadInfoAsync()
Returns
Type | Description |
---|---|
Task<MediaFileInfo> | A Task<MediaFileInfo> representing the asynchronous operation. |