X-Git-Url: https://git.toastfreeware.priv.at/toast/stream2beamer.git/blobdiff_plain/3a4448810c5ee5360befc23b8e27fa04bcc86015..e97741140341d1c98f6cb350d819a988c8b73bbd:/protocols.md?ds=sidebyside diff --git a/protocols.md b/protocols.md index 8f76a50..d5e462d 100644 --- a/protocols.md +++ b/protocols.md @@ -10,7 +10,8 @@ -async 1 -acodec libmp3lame \ -bsf:v h264_mp4toannexb \ -f rtsp -muxdelay 0.1 rtsp://localhost:5545/abc - gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! video/mpeg, mapping=/stream1 ! rtspclientsink location=rtsp://127.0.0.1:5545/abcd + gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! video/mpeg, mapping=/stream1 ! rtspclientsink location=rtsp://localhost:8554/abcd + gst-launch-1.0 videotestsrc ! vp8enc ! video/x-vp8 ! rtspclientsink location=rtsp://localhost:8554/abcd ### OBS (Open Broadcast Studio): * Use rtsp://localhost:8554/abc in the recording options with RTSP container format and "start recording" or @@ -18,6 +19,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