Requirements
Before installing MovieLite, ensure your system meets these requirements:Python Version
Python 3.10, 3.11, 3.12, or 3.13
FFmpeg
FFmpeg must be installed and available in PATH
Install MovieLite
Install via pip
Install MovieLite using pip:This will automatically install all required Python dependencies:
- NumPy (numerical operations)
- Numba (JIT compilation for performance)
- OpenCV (opencv-python for video processing)
- multiprocess (parallel rendering)
- tqdm (progress bars)
- pictex (text rendering)
Install FFmpeg
FFmpeg is required for video encoding and decoding. Follow the installation instructions for your operating system below.
Installing FFmpeg
FFmpeg is a critical dependency for MovieLite. It handles video and audio encoding/decoding.Windows
Download FFmpeg
Download FFmpeg from the official website:https://ffmpeg.org/download.htmlChoose the Windows build (e.g., from gyan.dev or BtbN).
Add to PATH
Add the
bin directory to your system PATH:- Open System Properties → Advanced → Environment Variables
- Under System Variables, find and select Path, then click Edit
- Click New and add the path to FFmpeg’s bin directory:
- Click OK to save
macOS
Linux
Debian/Ubuntu
CentOS/RHEL/Fedora
Enable EPEL repository (CentOS/RHEL)
For CentOS/RHEL, enable the EPEL repository:
Fedora users can skip this step.
Arch Linux
Troubleshooting
FFmpeg Not Found
If you get an error that FFmpeg cannot be found:Check PATH
Verify FFmpeg is in your system PATH:If this doesn’t return a path, FFmpeg is not in your PATH.
Restart terminal/IDE
After adding FFmpeg to PATH, restart your terminal or IDE to reload environment variables.
Import Errors
If you encounter import errors:Performance Issues
For optimal performance, ensure:
- Numba is properly installed (it provides JIT compilation)
- You’re using multiprocessing for large projects:
writer.write(processes=8) - Your system has sufficient RAM for video processing
Optional Dependencies
For development and testing:- pytest (testing framework)
- pytest-cov (code coverage)
Next Steps
Now that MovieLite is installed, you’re ready to create your first video!Quick Start Guide
Learn how to create your first video with MovieLite