Install cairo (for svg conversion):
sudo apt-get install libcairo2-dev
poetry install
poetry run main --help
This project is built using poetry. We also use ruff for formatting and linting, as well as pyright for type inference.
- Arange reaction via Pillow.
- Saving frames as images (super slow).
- Pyav/imageio-pyav - significantly slower.
- Read and write using moviepy - the fastest option.
- Compose reaction via moviepy - significantly slower than via Pillow.
- Compose reaction using ffmpeg - the fastest option by far, current approach.