Class SeparateOutputBlock
Separate output block. You can set custom video and audio encoders blocks. You can start recording independentry from preview. Implements the MediaBlock. Implements the IMediaBlockInternals. Implements the IDisposable.
Inherited Members
Namespace: VisioForge.Core.MediaBlocks.Sinks
Assembly: VisioForge.Core.dll
Syntax
public class SeparateOutputBlock : MediaBlock, IMediaBlock, IDisposable, IMediaBlockInternals
Constructors
SeparateOutputBlock(MediaBlocksPipeline, SeparateOutput, BridgeVideoSourceSettings, BridgeAudioSourceSettings)
Initializes a new instance of the SeparateOutputBlock class.
Declaration
public SeparateOutputBlock(MediaBlocksPipeline pipeline, SeparateOutput settings, BridgeVideoSourceSettings bridgeVideoSourceSettings, BridgeAudioSourceSettings bridgeAudioSourceSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| MediaBlocksPipeline | pipeline | The pipeline. |
| SeparateOutput | settings | The settings. |
| BridgeVideoSourceSettings | bridgeVideoSourceSettings | The bridge video source settings. |
| BridgeAudioSourceSettings | bridgeAudioSourceSettings | The bridge audio source settings. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | _sink. |
| ArgumentException | Sink must support dynamic inputs interface (IMediaBlockDynamicInputs). |
Properties
Input
Gets the first 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
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
Type
Gets the type.
Declaration
public override MediaBlockType Type { get; }
Property Value
| Type | Description |
|---|---|
| MediaBlockType | The type. |
Overrides
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 the 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. |
GetFilenameOrURL()
Gets the filename or URL.
Declaration
public string GetFilenameOrURL()
Returns
| Type | Description |
|---|---|
| string | System.String. |
SetFilenameOrURL(string)
Sets the filename.
Declaration
public void SetFilenameOrURL(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | The filename. |