How can I forward the RTSP output to AzureVM?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I am running a sample deepstream python app on JEtson Nano 4gb with jetpack 4.6 and Deepstream 6.0, which output rtsp on localhost, how can I forward it to public ip on my virtual machine(Azure), so the output of the detection app iss accesible via URL?

May be the local rtps server on your host is not needed, you can use rtspclientsink to post the stream to remote VM directly, there should be a rtsp server running on the remote VM.
An example of rtspclientsink as below:

gst-launch-1.0 uridecodebin uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4 ! nvvideoconvert ! nvv4l2h264enc ! rtspclientsink location=rtsp://remote-host-ip:8554/test

I am using it with python bindings

server = GstRtspServer.RTSPServer.new()
    server.props.service = "%d" % rtsp_port_num
    server.attach(None)
    factory = GstRtspServer.RTSPMediaFactory.new()
    factory.set_launch(f"( udpsrc name=pay0 port=%d buffer-size=524288 caps=\"application/x-rtp, media=video, clock-rate=90000, encoding-name=(string)%s, payload=96 \" ) rtspclientsink location=rtsp://remote-ip/")
    #factory.set_launch( "( udpsrc name=pay0 port=%d buffer-size=524288 caps=\"application/x-rtp, media=video, clock-rate=90000, encoding-name=(string)%s, payload=96 \" )" % (updsink_port_num, codec))
    factory.set_shared(True)
    server.get_mount_points().add_factory("/rgrt", factory)
    

is the above example right?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

You can use gst-launch-1.0 command to post your stream from your local server to your remote server. If the command pipeline works, you can adapt the python pipeline.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.