I have been filming out the window of subways lately and have come up with a foolproof method for creating slit scan images out of these vignettes. I use an iPhone 5s held in portrait mode, so the instructions below include a rotation of the video before compositing.
If they’re not already installed, install ffmpeg and imagemagick using Homebrew:
$> brew install imagemagick
$> brew install ffmpeg