Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ZeStream/zestream-server
an open-sourced alternative to cloudinary [video streaming done ✅, image/audio under dev 🔨 ]
https://github.com/ZeStream/zestream-server
adaptive-video-streaming dash ffmpeg hls video-processing video-streaming
Last synced: 3 months ago
JSON representation
an open-sourced alternative to cloudinary [video streaming done ✅, image/audio under dev 🔨 ]
- Host: GitHub
- URL: https://github.com/ZeStream/zestream-server
- Owner: ZeStream
- License: gpl-3.0
- Created: 2022-12-24T05:48:06.000Z (almost 2 years ago)
- Default Branch: dev
- Last Pushed: 2024-02-02T22:05:08.000Z (9 months ago)
- Last Synced: 2024-04-16T06:07:07.484Z (7 months ago)
- Topics: adaptive-video-streaming, dash, ffmpeg, hls, video-processing, video-streaming
- Language: Go
- Homepage:
- Size: 147 KB
- Stars: 181
- Watchers: 1
- Forks: 41
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ZeStream Server
#### To support development of ZeStream, please [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/abskrj)
A media streaming service, which can stream on demand video, image (with tansformations) and audio and works as CDN.
## Getting Started
#### Deploying on Docker Container
```bash
# create .env file from .env-templatedocker compose up
```## Dev Setup
1. Install Golang v1.19 from [Go.dev](https://go.dev/doc/install)
2. Fork this repo, and clone the forked repo
3. `cd zestream-server`
4. `go get .`
5. `go run main.go`## Implementation
1. User calls API to prcoess the video.
2. The API controller queues the event in a message queue (Kafka) and calls the given webhook.
3. A ZeStream worker polls the event from queue which contains file url
4. Worker fetches the file to local disk
5. Another worker starts a FFmpeg thread to process the video
6. Output is stored in local disk
7. After FFmpeg finishes processing, another worker pushes the files to cloud storage
8. CDN is connected to storage for fetching the files.## How to contribute?
Check out [contribution guidelines](https://github.com/ZeStream/zestream-server/blob/main/CONTRIBUTING.md)