mirror of
https://github.com/hsnks100/liveflow.git
synced 2025-09-26 20:21:12 +08:00
af318643aefae52ff49b5196d4568aea57b58126
Liveflow
Liveflow is a flexible and modular live streaming solution that supports various input and output formats. It is designed to handle real-time media streams efficiently, providing support for multiple input and output formats.
Features
- Modular Design: Each input and output module is independent, making it easy to extend and add new formats.
- Real-Time Processing: Optimized for handling real-time media streams.
- FFmpeg Dependency: Leverages the power of the FFmpeg library for media processing.
Input and Output Formats
HLS | WHEP | MKV | MP4 | |
---|---|---|---|---|
RTMP | ✅ | ✅ | ✅ | ✅ |
WHIP | ✅ | ✅ | ✅ | ✅ |
Requirements
- FFmpeg: This repository depends on FFmpeg. Please ensure FFmpeg is installed on your system.
Installation
- Make sure you have FFmpeg installed on your system. You can install FFmpeg using the following commands:
MAC
brew install ffmpeg # version 7
git clone https://github.com/hsnks100/liveflow.git
cd liveflow
go build && ./liveflow
Docker Compose
docker-compose up liveflow -d --force-recreate --build
Usage
To start processing a stream:
You can select way to stream from the following options:
WHIP broadcast
OBS
- server: http://127.0.0.1:5555/whip
- bearer token: test
RTMP broadcast
OBS
- server: rtmp://127.0.0.1:1930/live
- stream key: test
So, you can watch the stream from the following options:
HLS
WHEP
- url: http://127.0.0.1:5555/
- bearer token: test
- click subscribe button.
MKV, MP4
- docker: ~/.store
- local: $(repo)/videos
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Languages
Go
72.3%
CSS
12.7%
TypeScript
8%
HTML
4.1%
Shell
1.4%
Other
1.5%