Why the recorded inference video is not playable when we kill Deepstream reference app process?

Hi hope you all doing good.

i have created root cronjob on jetson that will execute Deepstream reference app.

sudo deepstream-app -c   source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt

It start application on each reboot but when i kill that process the saved inference video give me error while when i run this command in terminal and close by the help of q keyword.


it saved inference video and playable

How to solve this problem as we do not pass the ===> q <=== keyword to the background process but killing the process make a problem in saving the video.

that are not playable

How to tackle this problem please any help would be appreciated.

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)

Just from your description, the root cause is you haven’t caught the kill signal and sent EOS message to the pipeline after you killed the app. If you are using our latest version DeepStream6.2, you can refer to the source code: _intr_setup (); in deepstream_app_main.c.

I just kill the background process in ctrl + c manner by generated -SIGINT signal.

sudo kill -SIGINT  $(pgrep deepstream-app)

and recorded video is no more corrupt yeah done

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