Installing keyed
¶
This page covers the basic installation process for the core keyed
package.
keyed-extras Users
If you're a sponsor with access to keyed-extras
, please follow the keyed-extras
installation documentation instead, which includes all necessary instructions for both packages.
Note
Contributions improving the installation procedure or documentation are welcome!
keyed
requires some non-Python dependencies for its rendering capabilities.
Dependency | Required for | Installation Priority |
---|---|---|
Cairo | Core rendering functionality | Required |
FFmpeg | Faster video rendering | Recommended |
Installation Methods¶
Choose the method that works best for your system:
(Recommended) conda - Any Platform
Create an environment.yml
file:
name: keyed
channels:
- conda-forge
- nodefaults
dependencies:
- python<3.13,>=3.11
- ffmpeg
- cairo
- pip
- pip:
- "keyed[previewer]"
After creating your environment.yml file, run:
Docker
The keyed:latest
Docker image makes it possible to render keyed
scenes from the command line. Run,
Limited Capabilities
Does not support the animation previewer window.
Ubuntu/Debian
openSUSE
Windows
(Untested!)
- Download and install
cairo
from https://www.cairographics.org/download/. - Download and install
ffmpeg
from https://ffmpeg.org/download.html pip install keyed[previewer]
FAQ¶
What happens if I don't install ffmpeg?
keyed
will use pyav
as its rendering engine. In practice I found this to about twice as slow as ffmpeg
.
I ran into some other problem...
Please create an issue on the keyed
GitHub!