summaryrefslogtreecommitdiffstats
path: root/content/posts/ffmpeg-pbx-conversions.md
diff options
context:
space:
mode:
authorbreadcat2020-06-19 12:23:15 +0100
committerbreadcat2020-06-19 12:23:15 +0100
commit70bb5d5a801428b0fb390abf79f19ffcf5e29c67 (patch)
treeb9fd7990156bd58bc38d58f91829c05933215102 /content/posts/ffmpeg-pbx-conversions.md
parent0f9a31348079c0a061bcc194912e75cc1c07bc1f (diff)
downloadblog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.tar.gz
blog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.tar.bz2
blog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.zip
Simple migration of existing posts to hugo format
Diffstat (limited to 'content/posts/ffmpeg-pbx-conversions.md')
-rw-r--r--content/posts/ffmpeg-pbx-conversions.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/content/posts/ffmpeg-pbx-conversions.md b/content/posts/ffmpeg-pbx-conversions.md
new file mode 100644
index 0000000..ad7d1a4
--- /dev/null
+++ b/content/posts/ffmpeg-pbx-conversions.md
@@ -0,0 +1,29 @@
+---
+title: "FFmpeg audio conversions for PBX"
+date: 2019-01-14T16:08:00
+tags: ["formats", "guides", "linux", "pbx", "snippets", "windows"]
+---
+
+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.
+
+## Samsung OfficeServ
+```
+ffmpeg -i "input.ext" -codec pcm_s16le -ar 8000 -ac 1 -ab 128k "output.wav"
+```
+
+### LG/Ericsson eMG80
+```
+ffmpeg -i "input.ext" -codec:a pcm_mulaw -ar 8000 -ac 1 -ab 64k "output.wav"
+```
+
+### LG/Ericsson Hosted Platform
+```
+ffmpeg -i "input.ext" -codec:a pcm_s16le -ar 8000 -ac 1 -ab 64k "output.wav"
+```
+
+### Gamma Horizon Hosted Platform
+```
+ffmpeg -i "input.ext" -codec:a pcm_mulaw -ar 8000 -ac 1 -ab 64k "output.wav"
+```
+
+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 \ No newline at end of file