From: gregor herrmann Date: Wed, 28 Apr 2021 17:51:46 +0000 (+0200) Subject: add RTMP example X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/commitdiff_plain/b2b81f6c643a66ed814fe0722f3140db71fbf385 add RTMP example --- diff --git a/protocols.md b/protocols.md index 8f76a50..ae5f0f2 100644 --- a/protocols.md +++ b/protocols.md @@ -18,6 +18,12 @@ 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