BasePyFuncPlugin
- class savant.base.pyfunc.BasePyFuncPlugin(**kwargs)
Base class for a PyFunc implementation to be used in a
pyfunc
gstreamer element.PyFunc implementations are defined in and instantiated by a
PyFunc
structure.- on_start()
Do on plugin start.
- on_stop()
Do on plugin stop.
- on_event(event)
Do on event.
- abstract process_buffer(buffer)
Process gstreamer buffer. Throws an exception if fatal error has occurred.
- Parameters:
buffer (Buffer) – Gstreamer buffer.