mediaforge - v2.2.0
    Preparing search index...

    Function buildSceneCutArgs

    • 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.

      Parameters

      • scenes: SceneChange[]
      • opts: { trimStart?: number; endTime?: number } = {}

      Returns string[]