Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Eyevinn/rtsp-hls-push
https://github.com/Eyevinn/rtsp-hls-push
service
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Eyevinn/rtsp-hls-push
- Owner: Eyevinn
- License: mit
- Created: 2021-12-17T13:21:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-25T09:00:38.000Z (over 2 years ago)
- Last Synced: 2024-04-15T02:17:19.508Z (7 months ago)
- Topics: service
- Language: JavaScript
- Size: 590 KB
- Stars: 9
- Watchers: 7
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Docker container that takes an RTSP video feed, transcode to HLS and push to AWS MediaPackage origin (optional).
Service based on [ffmpeg](https://ffmpeg.org) and the NPM library [@eyevinn/hls-pull-push](https://www.npmjs.com/package/@eyevinn/hls-pull-push)
![Diagram of RTSP HLS PUSH](./rtsp_hls_push.png)
## Usage
Assume a camera publishing a video feed to RTSP address `rtsp://:@10.0.0.10/stream1`.
```
docker run --rm -e RTSP=rtsp://:@10.0.0.10/stream1 \
-p 8000:8000 eyevinntechnology/rtsphls:
```Then you would have access to the HLS on `http://localhost:8000/master.m3u8`
### Push to AWS MediaPackage origin
If you wish to also push the HLS to an AWS MediaPackage origin start the container with the following options added:
```
docker run --rm -e RTSP=rtsp://:@10.0.0.10/stream1 \
-e MEDIAPACKAGE_URL= \
-e MEDIAPACKAGE_USERNAME= \
-e MEDIAPACKAGE_PASSWORD= \
-p 8000:8000 eyevinntechnology/rtsphls:
```# About Eyevinn Technology
Eyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor.
At Eyevinn, every software developer consultant has a dedicated budget reserved for open source development and contribution to the open source community. This give us room for innovation, team building and personal competence development. And also gives us as a company a way to contribute back to the open source community.
Want to know more about Eyevinn and how it is to work here. Contact us at [email protected]!