mediaforge - v0.1.0
    Preparing search index...

    Function parseDuration

    • Parse a duration string from ffprobe (e.g. "120.042000") to a number. Returns null if the value is absent or "N/A".

      Parameters

      • durStr: string | undefined

      Returns number | null