mediaforge - v2.2.0
    Preparing search index...

    Interface AddChaptersOptions

    interface AddChaptersOptions {
        input: string;
        output: string;
        chapters: { title: string; start?: number; startSec?: number }[];
        binary?: string;
    }
    Index

    Properties

    input: string

    Input file path

    output: string

    Output file path

    chapters: { title: string; start?: number; startSec?: number }[]

    Chapter definitions with title and start time (in seconds).

    start is canonical, but startSec is also accepted because that is the name used by ChapterMeta and is what callers naturally reach for. Passing neither produces a clear error instead of writing START=NaN.

    Type Declaration

    • title: string

      Chapter title

    • Optionalstart?: number

      Start time in seconds

    • OptionalstartSec?: number

      Start time in seconds (alias for start)

    binary?: string

    ffmpeg binary override