Templates / Detect silence and speech segments in audio files with FFmpeg

Detect silence and speech segments in audio files with FFmpeg

Ready for 3.0

by Faceless Channel OS ✓ · 38 views · created 2026-08-20 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 17 nodes and runs when someone submits an n8n form (“Detect silence in an audio file”). It uses only n8n's built-in nodes.

How it runs

Trigger: When someone submits an n8n form (“Detect silence in an audio file”).

  1. Prepare Run (Code): runs custom JavaScript code
  2. Create the temp folder (Execute Command): runs a shell command on the n8n host
  3. Restore the uploaded file (Code): runs custom JavaScript code
  4. Save the uploaded file to disk (Read/Write Files from Disk): writes a file to disk
  5. Detect silence (FFmpeg) (Execute Command): runs a shell command on the n8n host
  6. Parse the silence report (Code): runs custom JavaScript code
  7. Route by output mode (Switch): routes items into 2 branches
  8. Build the trim filter (FFmpeg) (Code): runs custom JavaScript code
  9. Build SRT markers (Code): runs custom JavaScript code
  10. Trim the silence (FFmpeg) (Execute Command): runs a shell command on the n8n host

…plus 6 more steps. See the full node list below.

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 (5)

From the author

Quick overview This workflow accepts an uploaded audio file via an n8n form, runs FFmpeg’s silencedetect filter to measure pauses, and returns a JSON report listing silence and derived speech segments with totals like duration and percent silent. How it works…

Excerpt from Faceless Channel OS's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.