Integrate RTMP with deepstream

How to integrate RTMP server with deepstream using python?

• Hardware Platform (Jetson)
• DeepStream Version: 5.1
• JetPack Version: 4.5.1

This is c language. I am using python in deepstream (deepstream-test1-rtsp-out). So Is there a way to add rtmpsink instead of rtspsink to the pipeline?

Python GStreamer Tutorial (

It has nothing to do with deepstream. Please google what you want.

How is that?!!! I am using deepstream not anything else. I need help to modify deepstream-test1-rtsp-out to use RTMP server?

Please study gstreamer and gstreamer-python if you want to develop your own pipeline.