3 * [RFC2326:Real Time Streaming Protocol (RTSP)](https://www.ietf.org/rfc/rfc2326.txt): Also explains meaning of RTSP specific SDP fields like "a:control:streamid=0"
7 ffmpeg -f x11grab -framerate 25 -video_size 1680x1050 -i :0.0 \
8 -f pulse -ac 2 -i default \
9 -vcodec libx264 -preset ultrafast -tune zerolatency -crf 0 -g 25 \
10 -async 1 -acodec libmp3lame \
11 -bsf:v h264_mp4toannexb \
12 -f rtsp -muxdelay 0.1 rtsp://localhost:5545/abc
13 gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! video/mpeg, mapping=/stream1 ! rtspclientsink location=rtsp://127.0.0.1:5545/abcd
15 ### OBS (Open Broadcast Studio):
16 * Use rtsp://localhost:8554/abc in the recording options with RTSP container format and "start recording" or
17 * if using the [rtsp-simple-server](https://github.com/aler9/rtsp-simple-server), enter "rtmp://localhost/abc"
18 in the streaming section and "start streaming". Although RTMP is used for sending to the RTSP server, the RTSP
19 protocol can be used to receive the stream.
21 ## Receiving stream via RTSP
23 ffplay -i rtsp://localhost:554/abc
24 gst-launch-1.0 -v playbin uri=rtsp://127.0.0.1:554/abc
25 mpv --rtsp-transport=lavf rtsp://127.0.0.1:554/abc
26 mplayer rtsp://127.0.0.1:554/abc
27 vlc rtsp://127.0.0.1:554/abc # does not work
33 * Error handling SETUP: Can't call method "get_stream" on an undefined value at /usr/share/perl5/RTSP/Server/Client/Connection.pm line 100.
34 * RTSP/Server/Connection.pm:332, function get_mount
35 * https://github.com/aler9/rtsp-simple-server
36 * `make release-nodocker` (optionally after commenting out all unneeded
37 architectures in `Makefile`, and maybe also the call to tar. Cf. ./tmp
38 and ./release afterwards)
39 * Default port for both sources and clients: 8554