audio-splitter

n8n community node for splitting audio with ffmpeg

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 1.1.9

Documentation

n8n Audio Splitter

Custom n8n community node that bundles FFmpeg and uses it to extract audio from video binaries or split audio into fixed-duration segments.

FFmpeg packaging

The package includes a statically linked Linux x64 FFmpeg executable at
bin/linux-x64/ffmpeg, so the n8n image does not need a system-level ffmpeg
installation or npm lifecycle scripts to download anything. The current package
supports Linux x64 only; add and select another binary before deploying to a
different architecture. The bundled executable is GPL-3.0-or-later; review
THIRD-PARTY-NOTICES.txt before redistributing this
package.

Node settings

  • Operation: extract audio only, or split an audio input into segments.
  • Input Binary Property: source binary property, usually data.
  • Segment Duration (Seconds): maximum duration for each segment.
  • Overlap (Seconds): duration repeated between adjacent segments; use 300 for five minutes. Only available for split mode.
  • Output Binary Property: binary property written to each output item, usually data.
  • Output Format: mp3 or wav.

The node emits one item per segment, preserves the input JSON, and adds segmentIndex, segmentNumber, and segmentCount.

Local Docker binding

Docker Compose bind-mounts this package directly into n8n's custom-node
directory. Build the node and restart n8n after source changes:

cd /home/boazl/project_wsl/n8n-audio-splitter
npm run build
cd ../n8n
docker compose up -d --build n8n

The node appears in n8n as Audio Splitter. The test workflow is workflows/local/Audio splitter test.workflow.ts and reads /files/audio-splitter-test.wav.

Discussion