Better FFmpeg icon

Better FFmpeg

Run FFmpeg media operations

Create → Waveform Image

AI-generated

Summary

Generate a waveform image from audio input.

Inputs

  • ffmpegPath — Path to the FFmpeg binary.
  • ffprobePath — Path to the FFprobe binary.
  • waveInput (required) — Path to the input audio file.
  • waveSize — Size of the waveform image, e.g., '1920x300'.
  • waveColor — Color of the waveform, default is white.
  • waveOutput (required) — Path to save the output PNG image.

Output shape

a success confirmation message with output path

Returns success status and the path of the generated waveform image.

Examples

Example 1: Generate a waveform image for a given audio file.

Input audio file at '/path/to/audio.mp3', output image as '/path/to/output.png', size '1920x300', color 'blue'.

Discussion