diff --git a/lib/node/subtitle.js b/lib/node/subtitle.js index 1d0102ba..d0e4ad5e 100755 --- a/lib/node/subtitle.js +++ b/lib/node/subtitle.js @@ -283,7 +283,7 @@ class FFSubtitle extends FFNode { forEach(list, text => { // text += sign; - const time = (text.length / totalLength) * duration; + const time = ((text.length + 1) / totalLength) * duration; const frames = start + time * fps; this.textList.push({ start, frames, text, draw: false }); start = frames;