From b2b81f6c643a66ed814fe0722f3140db71fbf385 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Wed, 28 Apr 2021 19:51:46 +0200 Subject: [PATCH] add RTMP example --- protocols.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5