ffmpeg -i input.wav -ar 16000 output.wav

Category: Media & Conversion

ffmpeg -i input.wav -ar 16000 output.wav

Resample audio to a new sample rate

Changes the audio sample rate, the number of samples per second, to 16000 Hz, which is common for speech recognition tools. -ar sets the rate and 44100 is CD quality. Downsampling loses high frequencies, so keep the original.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.