Expose a mp4 video as a rtsp stream - GitHub: https://github.com/fpaupier/mp42rtsp
124
Video streams can be exposed in several forms of protocol.
One of them is rtsp for Real Time Streaming Protocol.
This project makes it easy to generate a rstp stream out of an mp4 video.
git clone [email protected]:fpaupier/mp42rtsp.git
video/ dir.video
āāā input.mp4
cp .env.example .env
vim .env # Edit the values of RTSP_PORT and INPUT_VIDEO
docker-compose up -d
Your stream is now available at rtsp://YOUR-HOST-IP:RTSP_PORT/streamer.mpeg4 You can test it with your favorite stream player!
(Your public ip is available by doing curl ifconfig.io)
ffplay utils (bundled with ffmpeg)ffplay "rtsp://YOUR-HOST-IP:RTSP_PORT/streamer.mpeg4"
Content type
Image
Digest
Size
156.9 MB
Last updated
over 4 years ago
docker pull popszer/ffserver:1.0.0