Celeb Glow
updates | March 16, 2026

How to encode into WAV ADPCM?

How to encode WAV PCM into WAV with ADPCM encoding?

I tried FFmpeg. I can see from the old FFmpeg codec list, that it previously supported encoding into adpcm_adx, adpcm_ima_qt, adpcm_ima_wav, adpcm_ms, adpcm_swf and adpcm_yamaha. However, these codecs seem to be not included into FFmpeg anymore (at least, in my v.4.1.3 installation).

The purpose is to include a miniature audio file into an embedded project and then decode it with dr_wav library, which supports IMA ADPCM and Microsoft ADPCM.

2

1 Answer

Just to close the question, here are two ways to convert audio into WAV with ADPCM encoding:

1) With FFmpeg:

ffmpeg -i INPUT.wav -f wav -acodec adpcm_ms OUTPUT.wav

2) With SoX:

sox INPUT.wav -e ms-adpcm OUTPUT.wav

Thanks to @grawity for the help!

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy