Generate mosaic videos from live inputs.
Mosaic Video is a project designed to transform live streaming videos into nice mosaics in realtime.
It uses ffmpeg to capture the video and position them in a grid.
The project has two main components:
- Worker: a Go process that receives the inputs and generates the mosaic;
- Storage backend: HTTP server that receives the mosaic through HTTP and stores it on S3.
- Generate mosaic from multiple video inputs;
- Multiples audios support;
- No audio;
- First input audio only;
- All inputs audios.
- Available inputs: HLS and RTMP;
- Available outputs: HLS;
- A simple HLS Player available in: http://localhost:8090/player;
- Dynamic scaling/positioning of the inputs;
- Dynamic background for each mosaic.
- Nothing yet
just test
to run the tests.
just lint
to run linters.
just deps
starts a mock API, Redis and S3 backend.
just worker
starts the go process to generate mosaics.
just storage
startes the uploader component.
just player
starts the HLS player.
We are still working on the installation process. For now, you can install it by cloning the repository and running separately the components (see "Running and tests" section).
Feel free to contribute to this project by opening issues or pull requests.