Skip to content

V4l2 relayd

services.v4l2-relayd.instances

v4l2-relayd instances to be created.

Type: attribute set of (submodule)

Default

{ }

Example

{example = {cardLabel = "Example card";input.pipeline = "videotestsrc";};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.cardLabel

The name the camera will show up as.

Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.enable

Whether to enable this v4l2-relayd instance. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.extraPackages

Extra packages to add to {env}GST_PLUGIN_PATH for the instance.

Type: list of package

Default

[ ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.input.format

The video-format to read from input-stream.

Type: string

Default

"YUY2"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.input.framerate

The framerate to read from input-stream.

Type: positive integer, meaning >0

Default

30

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.input.height

The height to read from input-stream.

Type: positive integer, meaning >0

Default

720

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.input.pipeline

The gstreamer-pipeline to use for the input-stream.

Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.input.width

The width to read from input-stream.

Type: positive integer, meaning >0

Default

1280

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.name

The name of the instance.

Type: string

Default

"‹name›"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix

services.v4l2-relayd.instances.<name>.output.format

The video-format to write to output-stream.

Type: string

Default

"YUY2"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/video/v4l2-relayd.nix