Skip to content

Render remotion videos blazingly fast (6x) using github actions

Notifications You must be signed in to change notification settings

yuvraj108c/Remotion-Matrix-Renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remotion Matrix Renderer ⚡

Render Remotion videos blazingly fast (up to 6x) using Github Actions Matrix.

Quick Demo

  1. Fork this repository.
  2. Run the Render video by matrix workflow under Actions tab.
  3. Set your desired number of workers (Recommended: <50).

Usage in your project

  1. Call this workflow in your project as shown below.
  2. Specify the required parameters: num_of_workers, remotion_composition_id, remotion_entry_point
  3. 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

  1. Rendering speed is highly dependent on the number of available github runners.
  2. Rendering on private repositories can consume your free github actions minutes quickly.
  3. Using a high num_of_workers (>100) can result in http failures.

About

Render remotion videos blazingly fast (6x) using github actions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published