Streaming RaspPi cam v2 from Jetson Nano to VLC using gstreamer

First of, I would like to thank you for your time.
I have problem when streaming RaspPi cam from jetson nano to VLC Widow.
Both devices are connected to the same wifi.

On jetson nano I download gst-rtsp-server-master and extract it then I
sudo apt-get install libgstrtspserver-1.0 libgstreamer1.0-dev

I go into gst-rtsp-server-master and
gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)

then I run
./test-launch “videotestsrc ! omxh265enc ! rtph265pay name=pay0 pt=96”
it shown stream ready at rtsp://

On VLC window I open the stream on Network, then I put in rtsp:// which is Nano IP address.

And both VLC and Nano shown this error

any idea how to fix it. please help. I’m quite new to this so if you could show me step by step, it would be appreciated. My sincere gratitude. Sorry for my bad English.


I am not an expert with gst-rtsp-sever, but for me this commande is working :

./test-launch "videotestsrc ! nvvidconv ! nvv4l2h265enc ! h265parse ! video/x-h265, stream-format=byte-stream ! rtph265pay name=pay0 pt=96 "

You can read it on VLC with rtsp://JETSON_IP:8554/test

I hope it will help you