How to receive interrupts with deepsteam running

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) :Jetson
• DeepStream Version :6.0.1
• JetPack Version (valid for Jetson only) :4.6.1
• TensorRT Version:8.2.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs):question
• 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’m looking for a new project,
I am trying to implement deepstream-imagedata-multistream to input two rtsp video streams, infer the input data, and output to the screen.

Is there any way to receive messages from my application while it is inputting streamed video, inferring and outputting to the screen?

For example, if we use deepstream-imagedata-multistream, when we receive a message from our own app, we can use the
For example, if you are using deepstream-imagedata-multistream, when you receive a message from another app, you can save the image data in the rtsp source to a file.

If you want to use a program to receive or send messages, please refer deepstream-test4 about the usage of nvmsgbroker.

Thanks for the answer.
My explanation was insufficient.

In the sample deepstream-test4 that you gave me, the msgbroker sends a message every 30 frames I send a message with msgbroker every 30 frames.

I would like to change it so that it does not send a message every 30 frames, but sends a message when it receives some kind of interrupt from another program.

I want to change it so that it sends a message when it receives some interrupt from another program instead of sending a message every 30 frames.

More simply, how can I receive interrupts (e.g. messages) from other programs while the sample is running?

You can use the IPC API provided by the operating system, such as socket/pipe/message queue.

This problem has nothing to do with deepstream

Hi
Thank you.
Since it is deepstream, I was wondering if I needed some special way to do this.
I’ll try it the way you taught me.

There is nothing special to note about this.tks.

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