add titles using the VSE
The problem was solved simply:
I went to the first frame, right-clicked on the offset, inserted a keyframe, then I went to the last keyframe, right-clicked on the offset and inserted a keyframe again.