use jpegtran -flip vertical to flip frames so that movies are not upside-down. you can change this using --jpegtran '' to gain some speed (we fork jpegtran for each frame which is wastefull)