mediaforge - v0.3.0
    Preparing search index...

    Interface WaveformOptions

    interface WaveformOptions {
        input: string;
        output: string;
        width?: number;
        height?: number;
        color?: string;
        backgroundColor?: string;
        mode?: "line" | "point" | "p2p" | "cline";
        scale?: "log" | "lin";
        streamIndex?: number;
        binary?: string;
    }
    Index

    Properties

    input: string

    Input audio/video file

    output: string

    Output image path (.png)

    width?: number

    Image width in pixels. Default: 1920

    height?: number

    Image height in pixels. Default: 240

    color?: string

    Waveform color. Default: '#00ff00'

    backgroundColor?: string

    Background color.

    FFmpeg 7.x+ removed the bgcolor parameter from showwavespic. This option is accepted for API compatibility but has no effect.

    mode?: "line" | "point" | "p2p" | "cline"

    Drawing mode: 'line', 'point', 'p2p', 'cline'.

    FFmpeg 7.x+ removed the draw parameter from showwavespic. This option is accepted for API compatibility but has no effect.

    scale?: "log" | "lin"

    Display scale: 'lin' or 'log'. Default: 'lin'

    streamIndex?: number

    Audio stream index. Default: 0

    binary?: string

    ffmpeg binary override