Apr 29, 2021

Scripting time-warp effects with Warpify

tagged with cinematography python

Building a custom CLI in Python to recreate effects from Kubrik films

Warpify Demo

Warpify provides a simple CLI to warp and save videos. Simply launch the application with python warpify.py to get started. Alternatively, warpify also provides direct access to it’s inner functions for use in your own projects. A simple case could look like this:

from warpify import SlitScan

warp = SlitScan('path/to/file.avi')
mask = warp.GenerateLinearMask(displacement=30, 'vertical')
warp.Slice(mask)
warp.Render('warped.avi', fps=60)


Changelog:

Warpify v0.9 is still in beta stages and the next update will have better error handling.

older
Population Busts and Survival of the Most Reproductive