mediaforge - v0.1.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. Default: '#000000'

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

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

    scale?: "log" | "lin"

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

    streamIndex?: number

    Audio stream index. Default: 0

    binary?: string

    ffmpeg binary override