Separate script to do video processing to .mat files