1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
rtsp-server-perl for Debian
---------------------------
Here is a complete example to restream NASA ISS livestream as a RTSP server
First you need a `streamlink` package to retrieve NASA stream and `ffmpeg`
to publish decoded frames to the RTSP server. Then you can use `vlc` to read
the resulting stream from your RTSP server.
# Install requirements
apt install streamlink ffmpeg vlc
# Re-stream NASA on local RTSP server (server port on 5545)
streamlink -O http://ustream.tv/channel/iss-hdev-payload original \
| ffmpeg -re -i pipe:0 -c copy -f rtsp rtsp://127.0.0.1:5545/nasa-earth
# Read the stream from local RTSP server (client port on 554)
vlc rtsp://127.0.0.1/nasa-earth
-- Adam Cecile <acecile@le-vert.net> Mon, 16 Dec 2019 10:58:33 +0100
|