The margin is the gap between the overlay and the edge of the video. Enter the margin size as a percentage of total video width (horiztonal margin) or height (vertical margin), then press Ok.