Skip to main content
Source Link
Googlebot
  • 2k
  • 3
  • 28
  • 42

How to trim input audio by FFMPEG?

The below command well works for trimming the output audio

ffmpeg -i input.mp3 -af silenceremove=1:0:-50dB output.mp3

However, I am concating several mp3 files,

ffmpeg -i 1.mp3 -i 2.mp3 -i 3.mp3 -filter_complex 'concat=n=3:v=0:a=1' out.mp3

and I need to trim the input audio before concat.

Is it possible to trim input audio before concating in ffmpeg?