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 (horizontal margin) or height (vertical margin), then press Ok.