SRT or VTT?
SRT is the older, simpler format and works almost everywhere.
WebVTT is the web standard for the HTML video element and supports styling and positioning. YouTube and most video hosts accept both.
When subtitles are out of sync
If every line is late or early by the same amount, shift the time.
If the drift grows over the video, the subtitle and video frame rates differ: pick the matching speed correction.
Subtitles without typing
ReleaseVu makes subtitles on your Mac from your recording and exports the file.