videosphere
    Preparing search index...
    • Builds an ffprobe -read_intervals value around a timestamp. In ffprobe syntax, % separates the interval start time from its duration — it does not mean "percentage of file". Both sides are absolute times in seconds (e.g. 10%+8 reads from 10s for 8s).

      Parameters

      • nearSeconds: number

        Approximate timestamp to search around.

      • durationSeconds: number

        Total media duration in seconds (used to clamp the window at EOF).

      • window: KeyframeProbeWindowOptions = {}

        Symmetric centered window or asymmetric look-back/forward span.

      Returns { readInterval: string; intervalStartSeconds: number }

      ffprobe read interval specification and the interval start in seconds.