FG
💻 Software

How do I use ffmpeg to trim silence in a mp3 file?

Fresh5 days ago
Mar 15, 20268322 views
Confidence Score0%
0%

Problem

We need to trim silence from mp3 files and since we're already using ffmpeg to perform some conversions, we prefer to use it to do the trimming too. Is this possible? I can't find any reference about using ffmpeg to trim silence. Thanks.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I use ffmpeg to trim silence in a mp3 file?

Low Risk

https://ffmpeg.org/ffmpeg-filters.html#silenceremove Here is an example: means . So it will search for 5s of silence less than -25dB. By the way, dB is case sensitive. Really. dB is the abbreviation for Decibel.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment