Docker image with nginx + rtmp module
882
Docker image with nginx + rtmp module
RTMP live application is the only app created by default
docker pull jcenzano/docker-nginx-rtmpmakeYou can test the rtmp server included in this image doing the following:
docker run --rm -itd -p 1935:1935 jcenzano/docker-nginx-rtmp#Streams 30s of live test stream to rtmp://localhost:1935/live/test
ffmpeg -f lavfi -re \
-i testsrc=duration=30:size=1280x720:rate=30 \
-f lavfi -re -i sine=frequency=1000:duration=30:sample_rate=44100 \
-pix_fmt yuv420p -c:v libx264 -b:v 3000k -g 30 -keyint_min 240 -profile:v baseline -preset veryfast -c:a libfdk_aac -b:a 96k \
-f flv rtmp://localhost:1935/live/test
ffmpeg -i rtmp://localhost:1935/live/test -codec copy -f flv test.flv
Note: If you have problems installing ffmpeg locally you can use this ffmpeg containerized: jcenzano/ffmpeg
Content type
Image
Digest
Size
167.5 MB
Last updated
about 9 years ago
docker pull jcenzano/docker-nginx-rtmp