ffmpeg-modal-containers
Installation
SKILL.md
Quick Reference
| Container Type | Image Setup | GPU | Use Case |
|---|---|---|---|
| CPU (debian_slim) | .apt_install("ffmpeg") |
No | Batch processing, I/O-bound tasks |
| GPU (debian_slim) | .apt_install("ffmpeg").pip_install("torch") |
Yes | ML inference, not NVENC |
| GPU (CUDA image) | from_registry("nvidia/cuda:...") |
Yes | Full CUDA toolkit, NVENC possible |
| GPU Type | Price/Hour | NVENC | Best For |
|---|---|---|---|
| T4 | ~$0.59 | Yes (Turing) | Inference + encoding |
| A10G | ~$1.10 | Yes (Ampere) | 4K encoding, ML |
| L40S | ~$1.95 | Yes (Ada) | Heavy ML + video |
| H100 | ~$4.25 | Yes (Hopper) | Training, overkill for video |