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