Stopping deepstream pipeline properly

I have modified deepstream_imagedata-multistream.py to save the output video using file sink. When I try to stop the pipeline using CTRL+C the saved video will be corrupted. Is there any way to stop the deepstream pipeline properly using CTRL+C/ any other method. Please provide a code example

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)

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

• 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)

please refer to function _intr_setup of deepstream_app_main.c in DeepStream SDK, you might capture and process SIGINT message.

Can you provide a python example?

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

Currently there is no this kind of sample in deepstream_python_apps.

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