Nvv4l2decoder does not work with rtsp streaming

Hi,

I am working on a streaming use-case on Jetson Nano board.
I am using VLC player as RTSP server and Jetson Nano board as client.
I have connected Nano board and windows laptop with ethernet cable (its a back to back connection).

I am running following pipeline on Nano board.

gst-launch-1.0 rtspsrc location=rtsp://192.168.225.163:8554/test latency=500 ! rtph264depay ! h264parse ! queue ! nvv4l2decoder enable-max-performance=1 ! nvoverlaysink

The above pipeline does not throw an errors but its not showing output display.

But, if I use the omxh264dec element then the above pipeline works fine and i could able to see the display on monitor.

Why the above RTSP streaming pipeline does not work with nvv4l2decoder element ?

Please help me to solve the issue.

Thanks,
Damoder

Hi,
If you use JP4.4, you may remove h264parse and try again. Or upgrade to JP4.4.1.

May be same issue as this:

1 Like

Hi,

Thanks for your reply.

The streaming pipeline works fine after removing h264parse element.
Now, the working pipeline is:
gst-launch-1.0 rtspsrc location=rtsp://192.168.225.163:8554/test latency=500 ! rtph264depay ! queue ! nvv4l2decoder enable-max-performance=1 ! nvoverlaysink

But, the file based decoding pipeline does not work if we remove the h264parse element.

Below pipeline does not work without h264parse element:
gst-launch-1.0 filesrc location=AIR_1080p30_nv12.h264 ! nvv4l2decoder ! nvoverlaysink

It throws “Caught SIGSEGV” error on terminal.

Below pipeline works with h264parse element.
gst-launch-1.0 filesrc location=AIR_1080p30_nv12.h264 ! h264parse ! nvv4l2decoder ! nvoverlaysink

Could you please explain the reason why h264parse is not required for streaming pipeline and why it is required for file-based decoding pipeline ?

Thanks again for your quick response.

Best Regards,
Damoder

Hi ,
It is an issue in JP4.4. We have fixed int in JP4.4.1. Please upgrade to P4.4.1 and try again.