add RTMP example
authorgregor herrmann <gregor@toastfreeware.priv.at>
Wed, 28 Apr 2021 17:51:46 +0000 (19:51 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Wed, 28 Apr 2021 17:52:10 +0000 (19:52 +0200)
protocols.md

index 8f76a50fe4c19e2a7de9050c9aa2f2a5c69d6f88..ae5f0f218e3840e338e11ddd4e701829fb06969b 100644 (file)
   in the streaming section and "start streaming". Although RTMP is used for sending to the RTSP server, the RTSP
   protocol can be used to receive the stream.
 
+### Send to RTSP server via RTMP
+
+* https://forums.developer.nvidia.com/t/how-to-publish-x264-encode-data-to-rtmpsink-in-gstreamer/64288/5
+
+    gst-launch-1.0 -v videotestsrc ! x264enc ! 'video/x-h264,stream-format=(string)avc' ! flvmux ! rtmpsink  location=rtmp://sirius:1935/gregoa
+
 ## Receiving stream via RTSP
 
     ffplay -i rtsp://localhost:554/abc