# Multiple streammux call back fails

**URL:** <https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502>\
**Category:** DeepStream SDK\
**Created:** [October 5, 2023, 9:25am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502 "2023-10-05T09:25:36Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 5, 2023, 9:25am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/1 "2023-10-05T09:25:36Z")

</div>

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**  
**• DeepStream Version**  
**• JetPack Version (valid for Jetson only)**  
**• TensorRT Version**  
**• NVIDIA GPU Driver Version (valid for GPU only)**  
**• Issue Type( questions, new requirements, 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,

I am using deepstream 6.1.1 to create my custom pipeline, with reference to the deepstream-parallel-inference., and everything works fine.  
Now when i am using the deepstream-6.3 version docker image.  
The model loads but the second demux after the tee, does not gets called by the pad  
-probe call back which was not a problem with the older version of deepstream i.e 6.1.1

 ![img1](https://global.discourse-cdn.com/nvidia/original/4X/f/4/6/f46d1b0c1a74843523359b6080cc1cc443cb0559.png)

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [October 6, 2023, 3:10pm UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/3 "2023-10-06T15:10:04Z")

</div>

why do you need the second demux? plesae refer to the pipeline in the sample [deepstream\_parallel\_inference\_app](https://github.com/NVIDIA-AI-IOT/deepstream_parallel_inference_app).

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 9, 2023, 11:24am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/4 "2023-10-09T11:24:17Z")

</div>

> [@fanzh](#):
>
> why do you need the second demux?

What is the issue in having the second demux? I need it for my custom use case.

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 9, 2023, 12:24pm UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/5 "2023-10-09T12:24:56Z")

</div>

My Point is that, with the above pipeline my code is working absolutely fine.  
I need to know why something that is working fine, on 6.1.1 is not working on 6.3?? Can we just look into the actual issue?  
@fanzh can i get a reply soon, I have been stuck with this for days!

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [October 10, 2023, 6:42am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/6 "2023-10-10T06:42:13Z")

</div>

1. is the pad-probe call back sink probe or src probe? is the second demux element called “Streammux-Demuxer” ?
2. can you simplify the code to narrow down this issue? for example, can it work after removing nvinfer and tracker? you and add more probe function to check which element did not receive data.

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 10, 2023, 7:26am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/7 "2023-10-10T07:26:19Z")

</div>

> [@fanzh](#):
>
> is the pad-probe call back sink probe or src probe?

sink!

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 10, 2023, 7:27am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/8 "2023-10-10T07:27:09Z")

</div>

> [@fanzh](#):
>
> s the second demux element called “Streammux-Demuxer”

yes it is “streammux-Demuxer”

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 10, 2023, 7:30am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/9 "2023-10-10T07:30:15Z")

</div>

> [@fanzh](#):
>
> can you simplify the code to narrow down this issue? for example, can it work after removing nvinfer and tracker? you and add more probe function to check which element did not receive data.

The second parallel streammux after the first demux does not get called in the 6.2/6.3 deepstream version.  
Which works fine in the 6.1.1 version

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 12, 2023, 5:46am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/10 "2023-10-12T05:46:47Z")

</div>

@fanzh, waiting for your reply!

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [October 12, 2023, 6:20am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/11 "2023-10-12T06:20:18Z")

</div>

> [@fanzh](#):
>
> can you simplify the code to narrow down this issue? for example, can it work after removing nvinfer and tracker? you and add more probe function to check which element did not receive data.

1. do you have some new findings after debugging?

> [@rishika.rao](#):
>
> Which works fine in the 6.1.1 version

could you provide a simplified code to reproduce this issue?

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 12, 2023, 6:35am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/12 "2023-10-12T06:35:07Z")

</div>

> [@fanzh](#):
>
> can you simplify the code to narrow down this issue? for example, can it work after removing nvinfer and tracker?

All the models get loaded from all the parallel-streammux.

I removed the nvinfer, and tracker from one of the streammux, and still the same .

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 12, 2023, 6:36am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/13 "2023-10-12T06:36:31Z")

</div>

> [@fanzh](#):
>
> you and add more probe function to check which element did not receive data.

Right, the first parallel streammux works, but all the other streammux in paralllel does not get called.

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [October 16, 2023, 2:23am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/14 "2023-10-16T02:23:37Z")

</div>

> [@rishika.rao](#):
>
> I removed the nvinfer, and tracker from one of the streammux, and still the same.

did you try increasing nvstreammux’ buffer-pool-size? could you provide a simplified code to reproduce this issue?

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 26, 2023, 10:28am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/15 "2023-10-26T10:28:36Z")

</div>

> [@fanzh](#):
>
> nvstreammux’ buffer-pool-size

@fanzh  
Well, I am using “New Streammux”!

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 26, 2023, 10:30am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/16 "2023-10-26T10:30:25Z")

</div>

> [@fanzh](#):
>
> could you provide a simplified code to reproduce this issue?

@fanzh  
I can share my code Privately!  
You can tell me how, you want the code to be shared with you.

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [October 26, 2023, 2:52pm UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/17 "2023-10-26T14:52:33Z")

</div>

you can use forum email. please click forum avatar-\> email.

---

<div class="post-metadata">

**Author:** ![rishika.rao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rishika.rao](https://forums.developer.nvidia.com/u/rishika.rao)\
**Post date:** [October 30, 2023, 6:56am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/18 "2023-10-30T06:56:10Z")

</div>

@fanzh, I have done can you please check?

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [October 30, 2023, 9:35am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/19 "2023-10-30T09:35:25Z")

</div>

OK, I will check.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [November 13, 2023, 9:35am UTC](https://forums.developer.nvidia.com/t/multiple-streammux-call-back-fails/268502/20 "2023-11-13T09:35:32Z")

</div>

Closed on November 13, 2023, 9:35am UTC

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