I am trying to re-stream RTSP stream from one network interface and push to different IP address and port on the other interface on jetson nano.
How can I achieve this without a need to encoding and decoding. The stream is H265 and I want to push it to other interface H265 too.
So far this example does not work :
./test-launch "rtspsrc location=<myRTSpstream> ! omxh265enc ! rtph265pay name=pay0 pt=9"
I set the new IP/PORT and port in source.
gst-launch-1.0 rtspsrc location=<newRTSPIP:Port> latency=0 ! decodebin ! nvvidconv ! video/x-raw, format=BGRx ! videoconvert ! nveglglessink
It is worth to mention I can stream the original RTSP with the same gst-lunch command but for new stream I get this error :
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Progress: (open) Opening Stream Progress: (connect) Connecting to rtsp://10.42.2.211:9090/test Progress: (open) Retrieving server options Progress: (open) Retrieving media info ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Unhandled error Additional debug info: gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Service Unavailable (503) ERROR: pipeline doesn't want to preroll. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...