Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
## ffmpeg encoding for Twilio, Genesys and other voice delivery platforms
## File input can be any format ffmpeg accepts (.mp3, .wav, .avi, etc.), output shout should be .wav format
ffmpeg -i "YOUR_INPUT_FILE.m4a" -ar 8000 -ac 1 -ab 64 -acodec pcm_mulaw "YOUR_OUTPUT_FILE.wav" -map 0:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment