selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
rtmp-hls-server logo

Self-host rtmp-hls-server

nvenc.cuda11.1

RTMP, HLS and DASH streaming server in a single Docker image

Open SourceMIT
docker run -d -p 1935:1935 -p 8080:8080 alqutami/rtmp-hls
Updated5 years ago
LanguageShell
Setup difficultyEasy
Stars
446
Ports
1935 (RTMP ingest and playback (rtmp://<server ip>:1935/live/<stream_key>)), 8080 (HTTP serving of HLS/DASH streams, stats page and web players)
Docker
alqutami/rtmp-hls

What is rtmp-hls-server?

A ready-made Docker image that turns Nginx, with the nginx-rtmp-module compiled in, into a live video streaming server handling RTMP, HLS and DASH out of the box. FFmpeg is bundled so streams can be transcoded and delivered adaptively — HLS runs with five variants by default — while alternative Nginx configuration files let you run RTMP-only or skip transcoding entirely. Ingest works by pointing an encoder at the RTMP endpoint on port 1935 using any stream key you choose, and playback happens over HTTP on port 8080: HLS manifests, DASH manifests, a stats page listing current streams, and bundled browser players built on video.js and hls.js are all served from there. Deployment is a single docker run opening ports 1935 and 8080; you can mount your own nginx.conf or a directory of edited player files into the container, and Debian or Alpine base images are offered. It is MIT-licensed and meant for pushing your own live streams rather than as a general media library server. Note that the pinned components are old (Nginx 1.17.5, nginx-rtmp-module 1.2.1, FFmpeg 4.2.1) and the repository has not been updated since mid-2023.

Should you self-host rtmp-hls-server?

rtmp-hls-server scores 42/100 on selfhost.directory (how scoring works) and ranks #46 of 54 in Media Streaming. It has 446 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Shell.

Its closest alternative on selfhost.directory is Invidious (81/100, 25 799 stars). It scores higher overall, so compare the two before you pick. See rtmp-hls-server vs Invidious side by side.

rtmp-hls-server README

How to install rtmp-hls-server

Install rtmp-hls-server with Docker

docker run -d -p 1935:1935 -p 8080:8080 alqutami/rtmp-hls

An Alpine-based image is available via the tag alqutami/rtmp-hls:latest-alpine.

More in Video Streaming

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…