s6.schema.gstreamerΒΆ
GStreamer capture config models used by the GST context generators.
- class s6.schema.gstreamer.LocalPipelineConfig(*, width: ConstrainedIntValue = 1280, height: ConstrainedIntValue = 960, fps: ConstrainedIntValue = 50, request_max: bool = False, source_element: str | None = None, do_timestamp: bool = True, decode_chain: str | None = None, output_format: ConstrainedStrValue = 'BGR', appsink_sync: bool = False, appsink_drop: bool = True, appsink_max_buffers: ConstrainedIntValue = 1, flip_stages: list[FlipStage] = None)
Bases:
BaseModelShared pipeline settings for direct local-camera capture.
- width: int
- height: int
- fps: int
- request_max: bool
- source_element: str | None
- do_timestamp: bool
- decode_chain: str | None
- output_format: str
- appsink_sync: bool
- appsink_drop: bool
- appsink_max_buffers: int
- flip_stages: list[FlipStage]
- class s6.schema.gstreamer.LocalCaptureSettings(*, startup_timeout_sec: ConstrainedFloatValue = 5.0, stale_frame_timeout_sec: ConstrainedFloatValue = 1.0, read_timeout_sec: ConstrainedFloatValue = 1.0, max_seq_skew: ConstrainedIntValue = 0, copy_frames: bool = True, stabilize_frames: ConstrainedIntValue = 3)
Bases:
BaseModelRuntime synchronization settings for local multi-camera capture.
- startup_timeout_sec: float
- stale_frame_timeout_sec: float
- read_timeout_sec: float
- max_seq_skew: int
- copy_frames: bool
- stabilize_frames: int
- class s6.schema.gstreamer.LocalVideoCaptureConfig(*, devices: list[LocalDeviceConfig], pipeline: LocalPipelineConfig = None, capture: LocalCaptureSettings = None)
Bases:
BaseModelConfig block for direct local-camera capture.
- devices: list[LocalDeviceConfig]
- pipeline: LocalPipelineConfig
- capture: LocalCaptureSettings
- property device_indices: list[int]
- to_client_config() LocalClientConfig
Convert the Sense Core local capture block into pygst client config.
- class s6.schema.gstreamer.VideoCaptureConfig(*, client: ClientConfig | None = None, local: LocalVideoCaptureConfig | None = None)
Bases:
BaseModelRoot capture block for gstreamer config.
- client: ClientConfig | None
- local: LocalVideoCaptureConfig | None
- class s6.schema.gstreamer.GstreamerConfig(*, capture: VideoCaptureConfig = None)
Bases:
BaseModelTop-level gstreamer config container.
- capture: VideoCaptureConfig