使用ffmpeg 操作音频文件前后部分静音移除.

指令特别简单, 但是却琢磨了一下午. 总结看文档时要细心, 主要ffmpeg的版本要 8.2.1 以上

ffmpeg -i in.mp3 -af silenceremove=start_periods=1:start_threshold=-30dB:stop_periods=0:stop_threshold=-50dB:start_silence=0.2:stop_silence=1 -y out.mp3

猜你喜欢

转载自www.cnblogs.com/cainiaodage/p/10234724.html