Skip to content
プロジェクト

ZeStream/zestream-server

GitHubで見る

概要

an open-sourced alternative to cloudinary

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
+1
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

ZeStream Server

To support development of ZeStream, please

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

# create .env file from .env-template

docker compose up

Dev Setup

  1. Install Golang v1.19 from Go.dev
  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

関連プロジェクトを探す

読み込み中…