我想使用某些命令行工具(ffmpeg,sox,...)来静音部分音频文件(位置不同),但无法找到方法。
我发现sox ... pad
最接近我想要的但仍然没有,我需要覆盖音频而不添加(pad)。< / p>
答案 0 :(得分:2)
结帐this answer。您可以使用此命令使用ffmpeg将音频文件的某些部分静音:
ffmpeg -i audio.mp3 -af "volume=enable='between(t,5,10)':volume=0, volume=enable='between(t,15,20)':volume=0" ...