videosphere
    Preparing search index...

    Function resolveSmartCutFrameRateRational

    • Chooses the rational frame rate used for smart-cut encode segments. Prefer the source r_frame_rate so the re-encoded head matches stream-copy timing.

      Parameters

      • rFrameRate: string

        Raw r_frame_rate from ffprobe.

      • avgFrameRate: string

        Raw avg_frame_rate from ffprobe.

      Returns string

      Rational fps string such as 30000/1001 or 30/1.