Video streaming issue due to not enough CPU power

i am using jetson nano to do realtime object detection and now facing some issues in video streaming from IP camera.

I need to save videos during the realtime detection therefore I need to run both video streaming, video writing and AI detection at the same time.

Currently, video streaming and video writing are done by OpenCV, however, due to limited CPU power(all 4 cores are 100% when doing both tasks together) on jetson nano, doing both together cause latency in video streaming.

how could I shift the load from CPU to GPU? is deepstream tackling this issues?

*I am using python.

Thanks.

Hi,
Please install DeepStream SDK and try deepstream-app. We have default config file in

deepstream_sdk_v4.0.2_jetson\samples\configs\deepstream-app

You can configure source to RTSP source:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%2520Development%2520Guide%2Fdeepstream_app_config.3.2.html%23wwpID0E0QB0HA
And sink to encode + filesave
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%2520Development%2520Guide%2Fdeepstream_app_config.3.2.html%23wwpID0ENHA
deepstream-app is in C code. For python code, please refer to
https://github.com/NVIDIA-AI-IOT/deepstream_python_apps