ffmpeg-pbx-conversions.md (1312B)
1 --- 2 title: "FFmpeg audio conversions for PBX" 3 date: 2019-01-14T16:08:00 4 lastmod: 2026-06-30T14:58:00 5 tags: ["Formats", "Guides", "Linux", "PBX", "Snippets", "Windows", "Work"] 6 --- 7 8 Firstly, grab a copy of `ffmpeg` from the [official website](https://www.ffmpeg.org/download.html#build-windows) if you're running Windows, or your package manager if you're running Linux. 9 10 ## Samsung OfficeServ 11 ``` 12 ffmpeg -i "input.ext" -codec pcm_s16le -ar 8000 -ac 1 -ab 128k "output.wav" 13 ``` 14 15 ### LG/Ericsson eMG/UCP 16 ``` 17 ffmpeg -i "input.ext" -codec:a pcm_mulaw -ar 8000 -ac 1 -ab 64k "output.wav" 18 ``` 19 20 ### LG/Ericsson Hosted Platform 21 ``` 22 ffmpeg -i "input.ext" -codec:a pcm_s16le -ar 8000 -ac 1 -ab 64k "output.wav" 23 ``` 24 25 ### Panasonic NS700/NS1000 26 ``` 27 ffmpeg -i "input.ext" -codec:a pcm_mulaw -ar 8000 -ac 1 -ab 64k "output.wav" 28 ``` 29 30 ### Gamma Horizon Hosted Platform 31 ``` 32 ffmpeg -i "input.ext" -codec:a pcm_mulaw -ar 8000 -ac 1 -ab 64k "output.wav" 33 ``` 34 35 ## 3CX 36 ``` 37 ffmpeg -i "input.ext" -codec pcm_s16le -ar 8000 -ac 1 -ab 128k "output.wav" 38 ``` 39 40 ## Cisco Webex 41 ``` 42 ffmpeg -i "input.ext" -codec pcm_s16le -ar 8000 -ac 1 -ab 128k "output.wav" 43 ``` 44 45 Sometimes, the files can be a little loud when played. You can simply knock this down during conversion via `-af volume=0.8` which predictably equates to 80% of the original volume