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).
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 ?