fix video output dimensions