NvDsSourceExt#

NVIDIA DeepStream source and input related components.

  • UUID: a632d022-3425-4848-9074-e6483ef74366

  • Version: 1.6.0

  • Author: NVIDIA

  • License: Proprietary

Components#

nvidia::deepstream::NvDsSourceInfoLoader#

Load source information from a YAML file. Other components can call methods of this component to read data from the file.

  • Component ID: c68a0fa2-68f9-437c-b828-fb91b2a25376

  • Base Type: nvidia::gxf::Component

  • Defined in: nvdssource/source_info_loader.hpp

Parameters#

source-info-file

YAML file containing source information

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FILE

nvidia::deepstream::NvDsStartSrAction#

Start smart record. This is a connector component. This component must be linked to another component which triggers the action and NvDsSingleSrcInput component which performs the action.

  • Component ID: 77383657-3462-3e80-995d-b625fc75fdb7

  • Base Type: nvidia::deepstream::INvDsAction

  • Defined in: nvdssource/nvdssource_signals.hpp

nvidia::deepstream::NvDsStopSrAction#

Stop smart record. This is a connector component. This component must be linked to another component which triggers the action and NvDsSingleSrcInput component which performs the action.

  • Component ID: ecd8c288-f4b3-3394-9adc-0abb88bf02fe

  • Base Type: nvidia::deepstream::INvDsAction

  • Defined in: nvdssource/nvdssource_signals.hpp

nvidia::deepstream::NvDsSrDoneSignal#

Callback indicating recording finished along with information on the recorded file. This is a connector component. This component must be linked to NvDsSingleSrcInput which emits the signal and another component which will handle the signal callback.

  • Component ID: 81ff2b7c-3614-342e-94f9-904ba5d46ee5

  • Base Type: nvidia::deepstream::INvDsSignal

  • Defined in: nvdssource/nvdssource_signals.hpp

nvidia::deepstream::NvDsSingleSrcInput#

Nvidia DeepStreamSDK NvUriSrc Bin. Refer to nvurisrcbin plugin

  • Component ID: b4e59610-37c9-36fb-bfe0-7bc41e87c006

  • Base Type: nvidia::deepstream::INvDsElement

Parameters#

audio-out-%u

Handle to an nvidia::deepstream::NvDsDynamicOutput component. Supported formats - audio(S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsDynamicOutput


cudadec-memtype

Set to specify memory type for CUDA decoder buffers.

Valid values:

0: memtype_device

1: memtype_pinned

2: memtype_unified

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


dec-skip-frames

Type of frames to skip during decoding.

Valid values:

0: decode_all

1: decode_non_ref

2: decode_key

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


drop-frame-interval

Interval to drop the frames,ex: value of 5 means every 5th frame will be given by decoder, rest all dropped.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


file-loop

Loop file sources after EOS. Src type must be source-type-uri and uri starting with 'file:/'.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


gpu-id

Set GPU Device ID.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


latency

Jitterbuffer size in milliseconds; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 100


num-extra-surfaces

Number of surfaces in addition to minimum decode surfaces given by the decoder.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 1


rtsp-reconnect-interval

Timeout in seconds to wait since last data was received from an RTSP source before forcing a reconnection. 0 = disable timeout.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


select-rtp-protocol

Transport Protocol to use for RTP.

Valid values:

0: rtp-multi

4: rtp-tcp

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


smart-rec-cache

Size of cache in seconds, applies to both audio and video cache

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


smart-rec-container

Container format of recorded video. MP4 and MKV containers are supported. Sources must be of type source-type-rtsp.

Valid values:

0: smart-rec-mp4

1: smart-rec-mkv

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


smart-rec-default-duration

In case a Stop event is not generated. This parameter will ensure the recording is stopped after a predefined default duration.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 20


smart-rec-dir-path

Path of directory to save the recorded file.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FILE


smart-rec-file-prefix

By default, Smart_Record is the prefix. For unique file names every source must be provided with a unique prefix.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING

  • Default: Smart_Record


smart-rec-mode

Smart record mode

Valid values:

0: smart-rec-mode-av

1: smart-rec-mode-video

2: smart-rec-mode-audio

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


smart-rec-video-cache

Size of video cache in seconds. DEPRECATED: Use ‘smart-rec-cache’ instead

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


smart-record

Enable Smart Record and choose the type of events to respond to. Sources must be of type source-type-rtsp.

Valid values:

0: smart-rec-disable

1: smart-rec-cloud

2: smart-rec-multi

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


source-id

Unique ID for the input source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: -1


sr-done-signal

Handle to a NvDsSrDoneSignal component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSrDoneSignal


start-sr-action

Handle to a NvDsStartSrAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsStartSrAction


stop-sr-action

Handle to a NvDsStopSrAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsStopSrAction


type

Set the type of source. Use source-type-rtsp to use smart record features.

Valid values:

0: auto

1: uri

2: rtsp

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


udp-buffer-size

UDP Buffer Size in bytes; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


uri

URI of the file or rtsp source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


video-out-%u

Handle to an nvidia::deepstream::NvDsDynamicOutput component. Supported formats - video(I420, NV12, P010_10LE, BGRx, RGBA, GRAY8).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsDynamicOutput

nvidia::deepstream::NvDsSourceManipulationAction#

Signals the NvDsMultiSrcInput component to add or remove a source. This is a connector component. This component must be linked to another component which triggers the action and ‘NvDsMultiSrcInput’ component which performs the action.

  • Component ID: e9147d15-9c4f-4cc5-982d-08449ec594d1

  • Base Type: nvidia::deepstream::INvDsAction

  • Defined in: nvdssource/nvdssource_signals.hpp

nvidia::deepstream::NvDsMultiSourceSmartRecordAction#

Signals the NvDsMultiSrcInput component to start / stop smart recording on a particular source. This functionality is based on DeepStream Smart Record https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Smart_video.html

  • Component ID: ab36e218-340e-47b6-b876-d8a17480aabb

  • Base Type: nvidia::deepstream::INvDsAction

  • Defined in: nvdssource/nvdssource_signals.hpp

nvidia::deepstream::NvDsMultiSrcInput#

Multi-input source component. Takes a list of URIs as a parameter and creates multiple sources. A GstSrc pad is created for each source. Supports runtime addition and removal of sources. Supports DeepStream Smart Record DeepStream Smart Record https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Smart_video.html.

  • Component ID: 8a59cfd7-1c69-4a80-9e41-2b9820029a98

  • Base Type: nvidia::deepstream::INvDsElement

Parameters#

audio-%u-out

Handle to an nvidia::deepstream::NvDsMultiOutput component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiOutput


cudadec-memtype

Set to specify memory type for CUDA decoder buffers.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


dec-skip-frames

Type of frames to skip during decoding.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


drop-frame-interval

Interval to drop the frames,ex: value of 5 means every 5th frame will be given by decoder, rest all dropped.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


file-loop

Loop file sources after EOS. Src type must be source-type-uri and uri starting with file:/.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL


gpu-id

Set GPU Device ID.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


latency

Jitterbuffer size in milliseconds; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


num-extra-surfaces

Number of surfaces in addition to minimum decode surfaces given by the decoder.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


peer-pad-id-same-as-source-id

Force the downstream element’s request pad index to be same as the source-id of the source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


rtsp-reconnect-interval

Timeout in seconds to wait since last data was received from an RTSP source before forcing a reconnection. 0=disable timeout.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


select-rtp-protocol

Transport Protocol to use for RTP

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-cache

Size of cache in seconds, applies to both audio and video cache

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


smart-rec-container

Container format of recorded video. MP4 and MKV containers are supported. Sources must be of type source-type-rtsp.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-default-duration

In case a Stop event is not generated. This parameter will ensure the recording is stopped after a predefined default duration.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


smart-rec-dir-path

Path of directory to save the recorded file.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FILE


smart-rec-file-prefix

By default, Smart_Record is the prefix. For unique file names every source must be provided with a unique prefix.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


smart-rec-mode

Smart record mode

Valid values:

0: smart-rec-mode-av

1: smart-rec-mode-video

2: smart-rec-mode-audio

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-status

Boolean indicating if SR is currently.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL


smart-rec-video-cache

Size of video cache in seconds. DEPRECATED: Use ‘smart-rec-cache’ instead.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


smart-record

Enable Smart Record and choose the type of events to respond to. Sources must be of type source-type-rtsp.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-record-action

Handle to an nvidia::deepstream::NvDsMultiSourceSmartRecordAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiSourceSmartRecordAction


smart-record-done-signal

Handle to an nvidia::deepstream::NvDsSrDoneSignal component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSrDoneSignal


source-id-list

Semi-colon separated list of unique IDs for the input source. Should have 1-to-1 mapping with uri-list.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


source-info-loader

Handle to an nvidia::deepstream::NvDsSourceInfoLoader component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSourceInfoLoader


source-manip-action

Handle to an nvidia::deepstream::NvDsSourceManipulationAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSourceManipulationAction


type

Set the type of source. Use source-type-rtsp to use smart record features.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


udp-buffer-size

UDP Buffer Size in bytes; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


uri-list

Semi-colon separated list of URIs, Overrides the uri parameter of GstDsNvUriSrcBin.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


video-%u-out

Handle to an nvidia::deepstream::NvDsMultiOutput component

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiOutput

nvidia::deepstream::NvDsMultiSrcWarpedInput#

Extends GstDsNvMultiUriSrcBin component to add dewarper after the decoder.

  • Component ID: 2e6da3fa-46fc-47b3-83fc-9310edc3c4ed

  • Base Type: nvidia::deepstream::NvDsMultiSrcInput

Parameters#

audio-%u-out

Handle to an nvidia::deepstream::NvDsMultiOutput component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiOutput


cudadec-memtype

Set to specify memory type for CUDA decoder buffers.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


dec-skip-frames

Type of frames to skip during decoding.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


dewarper-config-file

Dewarper Config File.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FILE


drop-frame-interval

Interval to drop the frames,ex: value of 5 means every 5th frame will be given by decoder, rest all dropped.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


file-loop

Loop file sources after EOS. Src type must be source-type-uri and uri starting with file:/.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL


gpu-id

Set GPU Device ID.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


interpolation-method

Set interpolation method for the dewarper.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


latency

Jitterbuffer size in milliseconds; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


num-batch-buffers

Number of Surfaces per output Buffer.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


num-extra-surfaces

Number of surfaces in addition to minimum decode surfaces given by the decoder.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


num-output-buffers

Number of Output Buffers of the dewarper.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


peer-pad-id-same-as-source-id

Force the downstream element’s request pad index to be same as the source-id of the source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


rtsp-reconnect-interval

Timeout in seconds to wait since last data was received from an RTSP source before forcing a reconnection. 0=disable timeout.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


select-rtp-protocol

Transport Protocol to use for RTP

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-cache

Size of cache in seconds, applies to both audio and video cache.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


smart-rec-container

Container format of recorded video. MP4 and MKV containers are supported. Sources must be of type source-type-rtsp.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-default-duration

In case a Stop event is not generated. This parameter will ensure the recording is stopped after a predefined default duration.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


smart-rec-dir-path

Path of directory to save the recorded file.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FILE


smart-rec-file-prefix

By default, Smart_Record is the prefix. For unique file names every source must be provided with a unique prefix.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


smart-rec-mode

Smart record mode

Valid values:

0: smart-rec-mode-av

1: smart-rec-mode-video

2: smart-rec-mode-audio

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-status

Boolean indicating if SR is currently.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL


smart-rec-video-cache

Size of video cache in seconds. DEPRECATED: Use ‘smart-rec-cache’ instead.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


smart-record

Enable Smart Record and choose the type of events to respond to. Sources must be of type source-type-rtsp.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-record-action

Handle to an nvidia::deepstream::NvDsMultiSourceSmartRecordAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiSourceSmartRecordAction


smart-record-done-signal

Handle to a nvidia::deepstream::NvDsSrDoneSignal component

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSrDoneSignal


source-id-list

Semi-colon separated list of unique IDs for the input source. Should have 1-to-1 mapping with uri-list.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


source-info-loader

Handle to an nvidia::deepstream::NvDsSourceInfoLoader component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSourceInfoLoader


source-manip-action

Handle to an nvidia::deepstream::NvDsSourceManipulationAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSourceManipulationAction


type

Set the type of source. Use source-type-rtsp to use smart record features.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


udp-buffer-size

UDP Buffer Size in bytes; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


uri-list

Semi-colon separated list of URIs. Overrides the uri parameter of GstDsNvUriSrcBin.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


video-%u-out

Handle to an nvidia::deepstream::NvDsMultiOutput component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiOutput

nvidia::deepstream::NvDsRecordAction#

Signal the NvDsMultiSrcInputWithRecord component to start/stop recording. This is a connector component. This component must be linked to another component which triggers the action and NvDsMultiSrcInputWithRecord component which performs the action.

  • Component ID: fd0851c0-405e-4198-94b1-46ceb0006f54

  • Base Type: nvidia::deepstream::INvDsAction

  • Defined in: nvdssource/nvdssource_signals.hpp

nvidia::deepstream::NvDsMultiSrcInputWithRecord#

Multi source bin with custom record functionality.

  • Component ID: a8231113-4517-40e7-9de3-87b551f8cc5b

  • Base Type: nvidia::deepstream::NvDsMultiSrcInput

Parameters#

audio-%u-out

Handle to an nvidia::deepstream::NvDsMultiOutput component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiOutput


cudadec-memtype

Set to specify memory type for CUDA decoder buffers.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


dec-skip-frames

Type of frames to skip during decoding.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


drop-frame-interval

Interval to drop the frames,ex: value of 5 means every 5th frame will be given by decoder, rest all dropped.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


file-loop

Loop file sources after EOS. Src type must be source-type-uri and uri starting with file:/.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL


gpu-id

Set GPU Device ID.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


latency

Jitterbuffer size in milliseconds; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


num-extra-surfaces

Number of surfaces in addition to minimum decode surfaces given by the decoder.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


peer-pad-id-same-as-source-id

Force the downstream element’s request pad index to be same as the source-id of the source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


pre-event-rec-time

Pre-event record time.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


record-action

Handle to a NvDsRecordAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsRecordAction


record-mode

Record Mode. 0 = no recording, 1 = video, 2 = snapshot.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


rtsp-reconnect-interval

Timeout in seconds to wait since last data was received from an RTSP source before forcing a reconnection. 0=disable timeout.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


select-rtp-protocol

Transport Protocol to use for RTP.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-cache

Size of cache in seconds, applies to both audio and video cache

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


smart-rec-container

Container format of recorded video. MP4 and MKV containers are supported. Sources must be of type source-type-rtsp.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-default-duration

In case a Stop event is not generated. This parameter will ensure the recording is stopped after a predefined default duration.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


smart-rec-dir-path

Path of directory to save the recorded file.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FILE


smart-rec-file-prefix

By default, Smart_Record is the prefix. For unique file names every source must be provided with a unique prefix.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


smart-rec-mode

Smart record mode

Valid values:

0: smart-rec-mode-av

1: smart-rec-mode-video

2: smart-rec-mode-audio

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


smart-rec-status

Boolean indicating if SR is currently.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL


smart-rec-video-cache

Size of video cache in seconds. DEPRECATED: Use ‘smart-rec-cache’ instead.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


smart-record

Enable Smart Record and choose the type of events to respond to. Sources must be of type source-type-rtsp.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


source-id-list

Semi-colon separated list of unique IDs for the input source. Should have 1-to-1 mapping with uri-list.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


source-info-loader

Handle to an nvidia::deepstream::NvDsSourceInfoLoader component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSourceInfoLoader


source-manip-action

Handle to an nvidia::deepstream::NvDsSourceManipulationAction component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsSourceManipulationAction


type

Set the type of source. Use source-type-rtsp to use smart record features.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64


udp-buffer-size

UDP Buffer Size in bytes; applicable only for RTSP streams.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64


uri-list

Semi-colon separated list of URIs. Overrides the uri parameter of GstDsNvUriSrcBin.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING


video-%u-out

Handle to an nvidia::deepstream::NvDsMultiOutput component.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsMultiOutput

nvidia::deepstream::NvDsCameraSrcInput#

Nvidia DeepStreamSDK NvCameraSrc Bin.

  • Component ID: 3ab02c2f-b2ef-3a55-85e1-f7aebb552393

  • Base Type: nvidia::deepstream::INvDsElement

Parameters#

framerate

Frame rate to request from the source

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 30


gpu-id

Set GPU Device ID for operation.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


height

Frame height to request from the source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 480


nvbuf-memory-type

Type of NvBufSurface Memory to be allocated for output buffers.

Valid values:

0: nvbuf-mem-default

1: nvbuf-mem-cuda-pinned

2: nvbuf-mem-cuda-device

3: nvbuf-mem-cuda-unified

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


sensor-id

Set the id of camera sensor to use.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


source-id

Unique ID for the input source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: -1


type

Type of interface to use.

Valid values:

0: v4l2

1: nvargus

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


v4l2-device

V4L2 capture device.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING

  • Default: /dev/video0


video-out

Handle to an nvidia::deepstream::NvDsStaticOutput component. Supported formats - video(I420, NV12, P010_10LE, BGRx, RGBA, GRAY8).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsStaticOutput


width

Frame width to request from the source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 640

nvidia::deepstream::VideoTestSrc#

Creates a test video stream. Refer to nvvideotestsrc plugin

  • Component ID: b99f0737-f4d6-3cb1-b994-952f7cab140a

  • Base Type: nvidia::deepstream::INvDsElement

Parameters#

animation-mode

For pattern=ball, which counter defines the position of the ball.

Valid values:

0: frames

1: wall-time

2: running-time

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


background-color

Background color to use (big-endian ARGB).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 4278190080


blocksize

Size in bytes to read per buffer (-1 = default).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 4096


do-timestamp

Apply current stream time to buffers.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


flip

For pattern=ball, invert colors every second.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


foreground-color

Foreground color to use (big-endian ARGB).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 4294967295


horizontal-speed

Scroll image number of pixels per frame (positive is scroll to the left).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


is-live

Act as a live source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


k0

Zoneplate zero order phase, for generating plain fields or phase offsets.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


kt

Zoneplate 1st order t phase, for generating phase rotation as a function of time.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


kt2

Zoneplate 2nd order t phase, t*t/256 cycles per picture.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


kx

Zoneplate 1st order x phase, for generating constant horizontal frequencies.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


kx2

Zoneplate 2nd order x phase, normalized to kx2/256 cycles per horizontal pixel at width/2 from origin.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


kxt

Zoneplate x*t product phase, normalized to kxy/256 cycles per vertical pixel at width/2 from origin.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


kxy

Zoneplate x*y product phase.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


ky

Zoneplate 1st order y phase, for generating constant vertical frequencies.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


ky2

Zoneplate 2nd order y phase, normalized to ky2/256 cycles per vertical pixel at height/2 from origin.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


kyt

Zoneplate y*t product phase.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


motion

For pattern=ball, determines the motion of the ball.

Valid values:

0: wavy

1: sweep

2: hsweep

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


num-buffers

Number of buffers to output before sending EOS (-1 = unlimited).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: -1


pattern

Type of test pattern to generate.

Valid values:

0: smpte

1: snow

2: black

3: white

4: red

5: green

6: blue

7: checkers-1

8: checkers-2

9: checkers-4

10: checkers-8

11: circular

12: blink

13: smpte75

14: zone-plate

15: gamut

16: chroma-zone-plate

17: solid-color

18: ball

19: smpte100

20: bar

21: pinwheel

22: spokes

23: gradient

24: colors

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


timestamp-offset

An offset added to timestamps set on buffers (in ns).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


typefind

Run typefind before negotiating (deprecated, non-functional).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


video-out

Handle to an nvidia::deepstream::NvDsStaticOutput component. Supported formats - video(I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40, bayer).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsStaticOutput


xoffset

Zoneplate 2nd order products x offset.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


yoffset

Zoneplate 2nd order products y offset.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0

nvidia::deepstream::AudioTestSrc#

Creates audio test signals of given frequency and volume.

  • Component ID: b8992fc1-c964-3c56-8441-df6dfd8dbc64

  • Base Type: nvidia::deepstream::INvDsElement

Parameters#

apply-tick-ramp

Apply ramp to tick samples.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


audio-out

Handle to an nvidia::deepstream::NvDsStaticOutput component. Supported formats - audio(S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE, S8, U8).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsStaticOutput


blocksize

Size in bytes to read per buffer (-1 = default).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 4294967295


can-activate-pull

Can activate in pull mode.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


can-activate-push

Can activate in push mode.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: True


do-timestamp

Apply current stream time to buffers.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


freq

Frequency of test signal. The sample rate needs to be at least 4 times higher.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FLOAT64

  • Default: 440.0


is-live

Act as a live source.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


marker-tick-period

Make every Nth tick a marker tick (= a tick with different volume). Only used if wave = ticks. 0 = no marker ticks.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


marker-tick-volume

Volume of marker ticks. Only used if wave = ticks and marker-tick-period is set to a nonzero value.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FLOAT64

  • Default: 1.0


num-buffers

Number of buffers to output before sending EOS (-1 = unlimited).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: -1


samplesperbuffer

Number of samples in each outgoing buffer.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 1024


sine-periods-per-tick

Number of sine wave periods in one tick. Only used if wave = ticks.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 10


tick-interval

Distance between start of current and start of next tick, in nanoseconds.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 1000000000


timestamp-offset

An offset added to timestamps set on buffers (in ns).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0


typefind

Run typefind before negotiating (deprecated, non-functional).

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


volume

Volume of test signal.

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_FLOAT64

  • Default: 0.8


wave

Oscillator waveform.

Valid values:

0: sine

1: square

2: saw

3: triangle

4: silence

5: white-noise

6: pink-noise

7: sine-table

8: ticks

9: gaussian-noise

10: red-noise

11: blue-noise

12: violet-noise

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 0

nvidia::deepstream::AlsaAudioInput#

Read from a sound card via ALSA

  • Component ID: ee5f60b1-85a2-3d5b-bf3e-a1ce8b66dde9

  • Base Type: nvidia::deepstream::INvDsElement

Parameters#

audio-out

Handle to a nvidia::deepstream::NvDsStaticOutput component. Supported formats - audio(S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE)

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_HANDLE

  • Handle Type: nvidia::deepstream::NvDsStaticOutput


blocksize

Size in bytes to read per buffer (-1 = default)

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_UINT64

  • Default: 0


buffer-time

Size of audio buffer in microseconds. This is the maximum amount of data that is buffered in the device and the maximum latency that the source reports. This value might be ignored by the element if necessary; see “actual-buffer-time”

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 200000


device

ALSA device, as defined in an asound configuration file

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_STRING

  • Default: default


do-timestamp

Apply current stream time to buffers

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False


latency-time

The minimum amount of data to read in each iteration in microseconds. This is the minimum latency that the source reports. This value might be ignored by the element if necessary; see “actual-latency-time”

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 10000


num-buffers

Number of buffers to output before sending EOS (-1 = unlimited)

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: -1


provide-clock

Provide a clock to be used as the global pipeline clock

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: True


slave-method

Algorithm used to match the rate of the masterclock

Valid values:

0: resample

1: re-timestamp

2: skew

3: none

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_INT64

  • Default: 2


typefind

Run typefind before negotiating (deprecated, non-functional)

  • Flags: GXF_PARAMETER_FLAGS_OPTIONAL

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: False