Most video editing tools let you set the duration by dragging the edges of the overlay layer or inputting specific time codes.