Adapt to accept extra parameters for the input video file