How to put video frames efficiently into the memory of Jetson Nano?

Hi,
For optimal performance we would suggest use jetson_multimedia_api, but it is low-leve and you would need to implement RTSP delaying to extract h264 stream and then feed into hardware decoder. The other solution is to use gstreamer and you can run like:

$ gst-launch-1.0 rtspsrc ! rtph264depay ! h264parse ! nvv4l2decoder ! nvoverlaysink

If you can run above command and see video preview, you can then try to construct the pipeline:

gst-launch-1.0 rtspsrc ! rtph264depay ! h264parse ! nvv4l2decoder ! appsink

And get NvBuffer in appsink for further processing. Here is a sample app:
How to run RTP Camera in deepstream on Nano - #29 by DaneLLL

1 Like