Convert Audio Files for Asterisk: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "To convert a file compatible with Asterisk, Mono 8khz <pre> mpg123 -m -r 8000 -w filename.wav filename.mp3 mpg123 -m -r 8000 -w /path-to-file/filename.wav /path/to/file/file...")
 
No edit summary
Line 1: Line 1:
To convert a file compatible with Asterisk, Mono 8khz
To convert a file compatible with Asterisk, Mono 8khz
<pre>
<pre>
mpg123 -m -r 8000 -w filename.wav filename.mp3
mpg123 filename.wav -r 8000 -c 1 filename.mp3
mpg123 -m -r 8000  -w /path-to-file/filename.wav /path/to/file/filename.au
mpg123 /path-to-file/filename.wav -r 8000 -c 1  /path/to/file/filename.au
</pre>
</pre>


[[Category : Asterisk]]
[[Category : Asterisk]]

Revision as of 01:20, 17 November 2016

To convert a file compatible with Asterisk, Mono 8khz

mpg123 filename.wav -r 8000 -c 1 filename.mp3
mpg123 /path-to-file/filename.wav -r 8000 -c 1  /path/to/file/filename.au