added options.centered to allow cropping a centered rectangle in the video source (typically for a square avatar)