Skip to navigation

Gst-nvds3dmixer

View as Markdown

The Gst-nvds3dmixer plugin is a customizable plugin which provides a custom library interface to load component ds3d::datamixer.

nvds3dmixer mix buffers from N input pads into one output pad.

The Plugin is fully configured through YAML format content or file.

Gst-nvds3dmixer

Gst-nvds3dmixer properties Specifications

Gst-nvds3dmixer Properties.

PropertiesDescriptionRelease
config-contentyaml config contentDS 7.0
config-fileyaml config file pathDS 7.0

Custom library Interfaces

The plugin parse the config file or content and set SinkCaps and SrcCaps. load a custom ds3d::datamixer from custom_lib_path. Create this datamixer by custom_create_function.

Supported DS3D Data mixers

SLData mixerData mixer custom library
1DS3D Data mixer. Mix buffers from N input pads into one output pad.libnvds_3d_multisensor_mixer.so

Custom low level library: libnvds_3d_multisensor_mixer.so

Custom low level library: libnvds_3d_multisensor_mixer.so

Mix buffers from N input pads into one output pad.

Inputs and Outputs

  • Inputs (support N input pads)

    • ds3d/datamap
  • Control parameters

    • config-file
    • config-content
  • Output

    • ds3d/datamap
  • sink_caps

  • src_caps

  • Example Inputs X 2 and Output

Input at sink_0Input at sink_1Output
GstBuffer with ds3d/datamapGstBuffer with ds3d/datamapGstBuffer with ds3d/datamap
{kVideoBridge2dData:value1}, {kVideoBridge2dData:value2}, …{kLidarXYZI:value1}, {kLidarXYZI:value2}, …{kVideoBridge2dData+0:value1}, {kVideoBridge2dData+0:value2}, {kLidarXYZI+1:value1}, {kLidarXYZI+1:value2}, …

Configuration file

Example:

name: multisensor_mixer
type: ds3d::datamixer
in_caps: ds3d/datamap
out_caps: ds3d/datamap
custom_lib_path: libnvds_3d_multisensor_mixer.so
custom_create_function: createMultiSensorMixer
config_body:
#timeout in milliseconds;
timeout: 50
#force_sync == true will force mixer to wait for buffers from ALL inputs
force_sync: true

Video mixer configuration options

config-keyDescriptionExample value
timeoutTimeout dictates the regular time interval in which mixer algorithm will run. This configuration is in ms. This configuration can dictate the frame-rate at which mixer will produce mixed output datamap buffers.Default: 33 ms
force_syncMixer will wait for ALL inputs to produce output. If true, the output framerate of mixer will be = slower of all the inputs. One may use this if all inputs are of equal frame-rate.Default: false
output_object2d_keyThe key name to use when generating datamap output. This key name will be used to save NvDsObjectMeta from NvDsBatchMeta as an array of ds3d::Object2DBbox.DS3D::Object2DBboxKey