Hook Specifications¶
VSView uses pluggy for its plugin system. Register your implementations using the markers defined here.
UI Hooks¶
Functions¶
vsview_register_tooldock
¶
vsview_register_tooldock() -> type[WidgetPluginBase[Any, Any]]
Register a tool dock widget.
Returns:
| Type | Description |
|---|---|
type[WidgetPluginBase[Any, Any]]
|
A WidgetPluginBase subclass defining a QDockWidget-based tool. |
vsview_register_toolpanel
¶
vsview_register_toolpanel() -> type[WidgetPluginBase[Any, Any]]
Register a tool panel widget.
Returns:
| Type | Description |
|---|---|
type[WidgetPluginBase[Any, Any]]
|
A WidgetPluginBase subclass defining a panel-based tool. |
Processing Hooks¶
Functions¶
vsview_get_video_processor
¶
vsview_get_video_processor() -> type[NodeProcessor[VideoNode]]
Retrieve a processor for the video streams.
Returns:
| Type | Description |
|---|---|
type[NodeProcessor[VideoNode]]
|
A NodeProcessor[VideoNode] subclass. |
type[NodeProcessor[VideoNode]]
|
The first registered plugin to return an object takes precedence. |
Source code in src/vsview/app/plugins/specs.py
vsview_get_audio_processor
¶
vsview_get_audio_processor() -> type[NodeProcessor[AudioNode]]
Retrieve a processor for the audio streams.
This hook allows for real-time processing of the raw audio stream before it reaches the output device.
Note
The input is the untouched audio node from the source. If downmixing to stereo is required, it is performed automatically on the node returned by this hook.
Returns:
| Type | Description |
|---|---|
type[NodeProcessor[AudioNode]]
|
A NodeProcessor[AudioNode] subclass. |
type[NodeProcessor[AudioNode]]
|
The first registered plugin to return an object takes precedence. |