Skip to content

Docker image based on Alpine with Nginx compiled from source with the nginx-rtmp-module for live streaming.

License

Notifications You must be signed in to change notification settings

maquinas07/alpine-nginx-rtmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpine-nginx-rtmp

Dockerfile with minimal install of NGINX and nginx-rtmp-module built on Alpine Linux.

  • NGINX - 1.19.3 Latest release
  • nginx-rtmp-module - 1.2.1 Latest release

Docker Pulls Build Status

Usage

  • Pull docker image and run
docker pull maquinas07/alpine-nginx-rtmp
docker run -p 1935:1935 --rm maquinas07/alpine-nginx-rtmp

For OBS streaming

  • Service: Custom...
  • Server: rtmp://localhost:1935/stream
  • Stream Key: whatever (can be empty)

How to watch the stream

For low latency reproduction you can use FFplay:

ffplay -fflags nobuffer rtmp://localhost:1935/stream/whatever

If the Stream Key is empty then just delete the last path of the URL (I.E. rtmp://localhost:1935/stream)

VLC can also stream RTMP, just add the URL as network media.

For transcoding using ffmpeg

Check out alfg/docker-nginx-rtmp