videosphere
    Preparing search index...
    • Reads all video keyframe timestamps from a local media file for smart-cut planning. Uses the MP4 sync-sample index (packet flags) — no frame decode required.

      Parameters

      • mediaPath: string

        Local media file path.

      Returns Promise<number[]>

      Keyframe timestamps in seconds, sorted ascending.