Build the -ss/-to seek arguments for a set of scene windows.
A scene-change list marks the boundaries between scenes, so the windows are
[0, s0], [s0, s1], …, [sn, end] — the clip before the first boundary runs
from the start of the file, not from the boundary.
trimStart shortens each window from its end, which is what you want for
dropping the static tail that usually follows a hard cut.
Exported separately so the exact cuts can be asserted without running ffmpeg.
Build the
-ss/-toseek arguments for a set of scene windows.A scene-change list marks the boundaries between scenes, so the windows are
[0, s0], [s0, s1], …, [sn, end]— the clip before the first boundary runs from the start of the file, not from the boundary.trimStartshortens each window from its end, which is what you want for dropping the static tail that usually follows a hard cut.Exported separately so the exact cuts can be asserted without running ffmpeg.