https://github.com/axelspringer/live
:movie_camera: I'll be back! A container to live stream via RTMP in HSL and MPEG-DASH.
https://github.com/axelspringer/live
docker hsl nginx rtmp streaming
Last synced: 5 months ago
JSON representation
:movie_camera: I'll be back! A container to live stream via RTMP in HSL and MPEG-DASH.
- Host: GitHub
- URL: https://github.com/axelspringer/live
- Owner: axelspringer
- License: mit
- Created: 2017-09-15T09:32:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-20T10:44:43.000Z (about 8 years ago)
- Last Synced: 2025-03-31T23:51:10.723Z (6 months ago)
- Topics: docker, hsl, nginx, rtmp, streaming
- Language: Nginx
- Homepage:
- Size: 28.3 KB
- Stars: 7
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/pixelmilk/live/) [](https://hub.docker.com/r/pixelmilk/live/)
# nginx live
[Nginx](http://nginx.org) + [Nginx-RTMP](https://github.com/arut/nginx-rtmp-module)
# use
[](https://imagelayers.io/?images=pixelmilk/live:1.3.5)
You can run the Nginx by executing the following command.
> it is highly advised to run the container on the host net for performance
```
docker run --rm --network host --cap-add SYS_ADMIN -d pixelmilk/live:1.3.5-0.0.2
```There is an amazing example, which many seem to use, the [Big Bunny](https://peach.blender.org/download/) to test your setup. E.g.
```
ffmpeg -loglevel verbose -re -i ~/big_buck_bunny_720p_h264.mov -vcodec libx264 \
-vprofile baseline -acodec libmp3lame -ar 44100 -ac 1 \
-f flv rtmp://localhost:1935/feed/live
```So there is the `feed` endpoint at port `1935` which is an `RTMP` target. By default [http://localhost/hls](http://localhost/hls) and [http://localhost/dash](http://localhost/hls) provide you with multiple streams for HLS and MPEG-Dash.
The mount path for feeds is `/var/media`.
# build
```
./build.sh
```# push
```
./push.sh
```# License
[MIT](/LICENSE)