added logic to calculate lengths of cuts. stubbed out ffmpeg calls.