Normalize audio loudness to broadcast and social standards with FFmpeg
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when someone submits an n8n form (“Normalize audio loudness with FFmpeg”). It uses only n8n's built-in nodes.
How it runs
Trigger: When someone submits an n8n form (“Normalize audio loudness with FFmpeg”).
- Prepare Run (Code): runs custom JavaScript code
- Create the temp folder (Execute Command): runs a shell command on the n8n host
- Restore the uploaded file (Code): runs custom JavaScript code
- Save the uploaded file to disk (Read/Write Files from Disk): writes a file to disk
- Measure and normalize loudness (FFmpeg) (Execute Command): runs a shell command on the n8n host
- Parse the loudness report (Code): runs custom JavaScript code
- Read the normalized audio back (Read/Write Files from Disk): reads a file from disk
- Attach the loudness report to the file (Code): runs custom JavaScript code
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Execute Command
n8n-nodes-base.executeCommand - Read/Write Files from Disk
n8n-nodes-base.readWriteFile
From the author
Quick overview This workflow collects an uploaded audio file via an n8n form and uses FFmpeg’s loudnorm filter to measure and normalize loudness to a selected LUFS target, returning the normalized audio file along with a parsed report of input/output loudness…