NvStreamMux (New) adaptive-batching and NvTracker

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
GPU
• DeepStream Version
6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
8
• NVIDIA GPU Driver Version (valid for GPU only)
510.06
• Issue Type( questions, new requirements, bugs)
bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hi,

When using the new NvStreamMux with adaptive-batching=1 together with NvTracker, the pipeline will fail with below error when a new src is added to the pipeline and starts pushing buffers:

gstnvtracker: NvBufSurfTransform failed with error -3 while converting buffergstnvtracker: Failed to convert input batch.
[ERROR push 315] push failed [-5]

The tracker works fine when all sources are connected at the beginning, but fails when they are added dynamically while playing. I guess this has to do with the tracker context being created at stream start and not updating dynamically?

Test pipeline:

gst-launch-1.0 uridecodebin uri=“file:///test.mp4” ! nvvideoconvert! “video/x-raw(memory:NVMM), format=NV12” ! m.sink_0 nvstreammux name=m adaptive-batching=1 ! nvinfer config-file-path=“config.txt” ! nvtracker ll-lib-file="/opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so" ! fakesink

Wait 5 seconds and then add another source to m.sink_1 and the NvTracker will blow up.

Any suggestions as to how this can be fixxed…?

/M

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Can you sharing your code which can reproduce the failure?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.