diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 363f10e6d0..b0b05f4fca 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -797,7 +797,7 @@ class FFmpegSplitChaptersPP(FFmpegPostProcessor): return ( destination, ['-ss', compat_str(chapter['start_time']), - '-to', compat_str(chapter['end_time'])]) + '-t', compat_str(chapter['end_time'] - chapter['start_time'])]) def run(self, info): chapters = info.get('chapters') or []