mediaforge - v0.3.0
    Preparing search index...

    Interface TrimOptions

    interface TrimOptions {
        input: string;
        output: string;
        start?: string | number;
        end?: string | number;
        duration?: string | number;
        copy?: boolean;
        videoCodec?: string;
        audioCodec?: string;
        binary?: string;
    }
    Index

    Properties

    input: string
    output: string
    start?: string | number

    Start time: seconds or 'HH:MM:SS[.mmm]'

    end?: string | number

    End time: seconds or 'HH:MM:SS[.mmm]'

    duration?: string | number

    Duration from start (alternative to end)

    copy?: boolean

    When true (default): stream-copy — instant, no quality loss, may be off by a keyframe. When false: re-encode with libx264/aac — frame-accurate but slower.

    videoCodec?: string
    audioCodec?: string
    binary?: string