Remotion-Matrix-Renderer
Remotion-Matrix-Renderer copied to clipboard
Render remotion videos blazingly fast (6x) using github actions
Remotion Matrix Renderer ⚡
Render Remotion videos blazingly fast (up to 6x) using Github Actions Matrix.
Quick Demo
- Fork this repository.
- Run the
Render video by matrixworkflow under Actions tab. - Set your desired number of workers (Recommended: <50).
Usage in your project
- Call this workflow in your project as shown below.
- Specify the required parameters:
num_of_workers,remotion_composition_id,remotion_entry_point - The rendered video will be uploaded as an artifact.
name: Call Remotion-Matrix-Renderer
on: push
jobs:
call-workflow-in-another-repo:
uses: yuvraj108c/Remotion-Matrix-Renderer/.github/workflows/render-video-matrix.yml@master
with:
num_of_workers: 10
remotion_composition_id: Main
remotion_entry_point: src/index.js
Benchmarks
| total_frames | num_of_workers | render_time |
|---|---|---|
| 9000 | 1 | 31m 22s |
| 9000 | 10 | 6m 17s |
| 9000 | 20 | 5m 7s |
| 9000 | 50 | 6m 42s |
| 9000 | >100 | failed |
Limitations
- Rendering speed is highly dependent on the number of available github runners.
- Rendering on private repositories can consume your free github actions minutes quickly.
- Using a high
num_of_workers(>100) can result in http failures.