Pipeline

Inheritance diagram of Pipeline

Pipeline inheritance diagram

class savant.config.schema.Pipeline(source='???', elements=<factory>, sink=<factory>)

Pipeline configuration template. Validates entries in a module config file under pipeline. For example,

pipeline:
    source:
        element: uridecodebin
        properties:
            uri: file:///data/test.mp4
    elements:
    # user-defined pipeline elements or element groups
        - element: nvinfer@detector
        - group:
            init_condition:
              expr: expression
              value: value
            elements:
              - element: nvinfer@detector
    sink:
        - element: console_sink
source: SourceElement = '???'

The source element of a pipeline.

elements: List[Any]

Main Pipeline contents. Can include PipelineElement or ElementGroup nodes.

sink: List[SinkElement]

Sink elements of a pipeline.