Added the -vsync 0 option to ffmpeg. This prevents it
from attempting to resample the output video according to a
framerate. The rare bug was causing some butterfly videos
with odd frames to error out as the code attempted to read more
frames than ffmpeg was outputing.
@tao558 If you could review and then try using this with your current fix to the Butterfly preprocessing (e.g., using the mean over frames for the cropping). If both look good I'll make a bug fix release.
Added the -vsync 0 option to ffmpeg. This prevents it from attempting to resample the output video according to a framerate. The rare bug was causing some butterfly videos with odd frames to error out as the code attempted to read more frames than ffmpeg was outputing.