Glide – a sub-pixel replacement for zoompan (fixes the slow pan/zoom shudder)
If you've ever done a slow Ken Burns pan/zoom over a still with `zoompan` and
seen it "held, then jump" every few frames — that's zoompan truncating the crop
offset to whole pixels. Cranking supersampling only masks it and gets slow.
I put up a small MIT tool that fixes it at the source: it computes a float affine
transform per frame and samples with bicubic (torch grid_sample on the GPU), so
sub-pixel motion is exact. Measured ~15x smoother than zoompan (at 4x supersample)
end-to-end, at lower render cost, and it lets you do fast moves without strobing.
There's a `compare_vs_zoompan.py` in the repo so you can measure it yourself, plus
side-by-side before/after clips. CLI + Python API, presets, easings.
Repo: https://github.com/Loomos-hub/glide-ffmpeg
Feedback welcome — especially on the sampling/AA choices.