Three screen capture videos that show how to add captions to a QuickTime video:
Using Macaw to create a caption track with timecode. (42MB)
Adding the caption track to the video. (24MB)
Adding a button to toggle the captions on and off. (17MB)