Extract .jpg files from video, with accurate frame rate manipulation