Class LVCVideoInput
Live Video Compositor video input. Implements the LVCInput.
Implements
Inherited Members
Namespace: VisioForge.Core.LiveVideoCompositorV2
Assembly: VisioForge.Core.dll
Syntax
public class LVCVideoInput : LVCInput, IDisposable
Constructors
LVCVideoInput(string, LiveVideoCompositor, MediaBlock, VideoFrameInfoX, Rect, bool, MediaBlock)
Initializes a new instance of the LVCVideoInput class.
Declaration
public LVCVideoInput(string name, LiveVideoCompositor compositor, MediaBlock mainBlock, VideoFrameInfoX info, Rect rect, bool autostart, MediaBlock processingBlock = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
| LiveVideoCompositor | compositor | The compositor. |
| MediaBlock | mainBlock | The main block. |
| VideoFrameInfoX | info | The video frame info (width, height and frame rate are required). |
| Rect | rect | The rectangle. |
| bool | autostart | if set to |
| MediaBlock | processingBlock | The processing block (optional). |
LVCVideoInput(string, MediaBlock, VideoFrameInfoX, Rect, bool, MediaBlock)
Initializes a new instance of the LVCVideoInput class.
Declaration
public LVCVideoInput(string name, MediaBlock mainBlock, VideoFrameInfoX info, Rect rect, bool autostart, MediaBlock processingBlock = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
| MediaBlock | mainBlock | The main block. |
| VideoFrameInfoX | info | The video frame info (width, height and frame rate are required). |
| Rect | rect | The rectangle. |
| bool | autostart | if set to |
| MediaBlock | processingBlock | The processing block (optional). |
Properties
Info
The video information.
Declaration
public VideoFrameInfoX Info { get; }
Property Value
| Type | Description |
|---|---|
| VideoFrameInfoX |
Rectangle
Gets or sets the rectangle. This property is ignored if the playback is started. Use the Input_VideoStream_Update method to update the rectangle during the playback.
Declaration
public Rect Rectangle { get; set; }
Property Value
| Type | Description |
|---|---|
| Rect | The rectangle. |
ZOrder
Gets or sets the z-order.
Declaration
public uint ZOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The z-order. |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |