3.2 KiB
3.2 KiB
Installation Guide
Quick Start
1. Install avifenc (Automatic)
Run the installer:
cd ComfyUI-AVIF-Animation
python install_avifenc.py
This will automatically:
- Detect your platform (Windows/macOS/Linux)
- Download avifenc from GitHub releases
- Install it to Python's Scripts directory
- Set executable permissions
No need to:
- ❌ Manually download avifenc
- ❌ Modify PATH or system variables
- ❌ Use package managers (winget/brew/apt)
2. Install ComfyUI Node
Option A: Clone from Git
cd ComfyUI/custom_nodes
git clone https://github.com/yourusername/ComfyUI-AVIF-Animation.git
Option B: Download ZIP
- Download ZIP file from GitHub
- Extract to
ComfyUI/custom_nodes/ComfyUI-AVIF-Animation/ - Restart ComfyUI
3. Verify Installation
- Start ComfyUI
- Check if "AVIF Animation (avifenc)" node appears in node menu
- Test with a simple workflow
4. Verify avifenc Installation
python -c "import sys; import os; print(os.path.join(os.path.join(sys.prefix, 'Scripts' if os.name == 'nt' else 'bin'), 'avifenc'))"
Troubleshooting
avifenc not found
Symptom: Node shows "avifenc未安装" error
Solution:
- Run the installer:
cd ComfyUI-AVIF-Animation python install_avifenc.py - Verify avifenc is installed:
python -c "import sys; import os; print(os.path.join(os.path.join(sys.prefix, 'Scripts' if os.name == 'nt' else 'bin'), 'avifenc'))" - Restart ComfyUI after installing
Installer fails
Symptom: install_avifenc.py fails to download
Solution:
- Check internet connection
- Verify Python installation
- Try manual download from https://github.com/AOMediaCodec/libavif/releases
- Check GitHub releases for latest version
Node not appearing in menu
Symptom: "AVIF Animation (avifenc)" node not found
Solution:
- Check file structure:
ComfyUI/custom_nodes/ComfyUI-AVIF-Animation/ ├── __init__.py ├── nodes.py ├── install_avifenc.py ├── README.md └── ... - Restart ComfyUI
- Check ComfyUI console for errors
Permission denied on Windows
Symptom: "Access denied" when saving files
Solution:
- Run ComfyUI as Administrator
- Or check output directory permissions
Large file size
Symptom: AVIF files are too large
Solution:
- Lower
qualityparameter (try 40-60) - Lower
alpha_qualityparameter (try 40-60) - Reduce
fpsparameter (try 15-24)
Slow encoding
Symptom: Encoding takes too long
Solution:
- Increase
speedparameter (try 8-10) - Reduce image resolution
- Reduce number of frames
System Requirements
Minimum
- Python 3.8+
- ComfyUI
- avifenc 1.0+ (installed by
install_avifenc.py)
Recommended
- Python 3.10+
- ComfyUI latest
- avifenc 1.3+
- NVIDIA GPU (for ComfyUI)
Compatibility
Tested Platforms
- ✅ Windows 10/11
- ✅ macOS 12+ (Monterey)
- ✅ Linux (Ubuntu 20.04+, Fedora 35+)
ComfyUI Versions
- ✅ ComfyUI Stable
- ✅ ComfyUI Daily
- ✅ ComfyUI Portable
Support
For additional help:
- GitHub Issues: https://github.com/yourusername/ComfyUI-AVIF-Animation/issues
- ComfyUI Discord: https://discord.gg/comfyui