Hi,
You may refer to this post:
And for launching RTSP server through test-launch, you should not need username and password. The uri should be
rtsp://127.0.0.1:8554/test
You may try uridecodebin in gst-launch command:
$ gst-launch-1.0 uridecodebin uri=rtsp://127.0.0.1:8554/test ! nvoverlaysink