Table of Contents

Class DemuxerSourceSettings

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

Demuxer source settings.

public class DemuxerSourceSettings : IMediaPlayerBaseSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoSourceSettings, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Properties

Filename

Gets the file name.

public string Filename { get; }

Property Value

string

RenderAudio

The render audio.

public bool RenderAudio { get; }

Property Value

bool

RenderSubtitle

The render subtitle.

public bool RenderSubtitle { get; }

Property Value

bool

RenderVideo

The render video.

public bool RenderVideo { get; }

Property Value

bool

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

filename string

The filename.

renderVideo bool

if set to true [render video].

renderAudio bool

if set to true [render audio].

renderSubtitle bool

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.