Create a silent mp3 from the command line

后端 未结 4 889
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 19:37

I am trying to create a silent / empty mp3 file of (x) seconds using the command line. Quite a simple task I thought!

It seems LAME is able to do something like this, bu

4条回答
  •  被撕碎了的回忆
    2021-02-01 20:19

    You can use this command.

    ffmpeg -f lavfi -i anullsrc=r=44100:cl=mono -t  -q:a 9 -acodec libmp3lame out.mp3
    

    Change to a number indicating the number of seconds of silence you require (for example, 60 will create a minute).

提交回复
热议问题