Finding and extracting well-looping segments from a movie requires much attention and patience […] To make things easier I wrote a Python script which automates the task. This post explains the math behind the algorithm and provides a few examples of use.
Fuck yeah, math! Or, as the author states:
Yet another big problem of the Internet era tackled by Mathematics.