Class MPEGTSDemuxBlock
MPEG-TS demux block. Implements the MediaBlock. Implements the IMediaBlockInternals. Implements the IDisposable.
Inherited Members
Namespace: VisioForge.Core.MediaBlocks.Sources
Assembly: VisioForge.Core.dll
Syntax
public class MPEGTSDemuxBlock : MediaBlock, IMediaBlock, IDisposable, IMediaBlockInternals
Constructors
MPEGTSDemuxBlock(bool, bool, bool, bool)
Initializes a new instance of the MPEGTSDemuxBlock class.
Declaration
public MPEGTSDemuxBlock(bool renderVideo = true, bool renderAudio = true, bool renderSubtitle = false, bool renderMetadata = false)
Parameters
Type | Name | Description |
---|---|---|
bool | renderVideo | if set to |
bool | renderAudio | if set to |
bool | renderSubtitle | if set to |
bool | renderMetadata | if set to |
Properties
AudioOutput
Gets the audio output.
Declaration
public MediaBlockPad AudioOutput { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad | The audio output. |
Input
Gets the input.
Declaration
public override MediaBlockPad Input { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad | The input. |
Overrides
Inputs
Gets the inputs.
Declaration
public override MediaBlockPad[] Inputs { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad[] | The inputs. |
Overrides
MetadataOutput
Gets the meta output.
Declaration
public MediaBlockPad MetadataOutput { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad | The meta output. |
Output
Gets the output.
Declaration
public override MediaBlockPad Output { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad | The output. |
Overrides
Outputs
Gets the outputs.
Declaration
public override MediaBlockPad[] Outputs { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad[] | The outputs. |
Overrides
Settings
Gets the settings.
Declaration
public MPEGTSDemuxSettings Settings { get; }
Property Value
Type | Description |
---|---|
MPEGTSDemuxSettings | The settings. |
SubtitleOutput
Gets the subtitle output.
Declaration
public MediaBlockPad SubtitleOutput { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad | The subtitle output. |
Type
Gets the type.
Declaration
public override MediaBlockType Type { get; }
Property Value
Type | Description |
---|---|
MediaBlockType | The type. |
Overrides
VideoOutput
Gets the video output.
Declaration
public MediaBlockPad VideoOutput { get; }
Property Value
Type | Description |
---|---|
MediaBlockPad | The video output. |
Methods
Build()
Builds this instance.
Declaration
public override bool Build()
Returns
Type | Description |
---|---|
bool |
|
Overrides
CleanUp()
Cleans up.
Declaration
public void CleanUp()
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
Overrides
GetCore()
Gets core.
Declaration
public BaseElement GetCore()
Returns
Type | Description |
---|---|
BaseElement | VisioForge.Core.GStreamer.Base.BaseElement. |
GetElement()
Gets the element.
Declaration
public Element GetElement()
Returns
Type | Description |
---|---|
Element | Gst.Element. |
IsAvailable()
Determines whether this media block is available. Correct NuGet SDK redist should be included into your project.
Declaration
public static bool IsAvailable()
Returns
Type | Description |
---|---|
bool |
|