How to convert any mp3 file to .wav 16khz mono 16bit

我们两清 提交于 2019-12-02 16:45:21
Bill

kdazzle's solution is almost there - it still output a stereo wav, here is a slightly modified version that generate mono:

ffmpeg -i 111.mp3 -acodec pcm_s16le -ac 1 -ar 16000 out.wav

also, if this is for pre-processing speech data for sphinx 4 see here: Convert audio files for CMU Sphinx 4 input

Try this:

ffmpeg -i 111.mp3 -acodec pcm_s16le -ar 16000 out.wav
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!