This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
перекодировка_звука [2020/12/12 21:04] val [Перекодировка alaw в ogg формат] |
перекодировка_звука [2020/12/12 21:09] val [Перекодировка alaw в ogg формат] |
||
---|---|---|---|
Line 20: | Line 20: | ||
<code> | <code> | ||
- | # cd /usr/share/asterisk/sounds/recordings/ | + | # apt install ffmpeg |
- | # sox -t al -r 8000 -c 1 speech.alaw speech.wav | + | $ cd /usr/share/asterisk/sounds/recordings/ |
- | # ffmpeg -nostats -loglevel 0 -i speech.wav -acodec libvorbis speech.ogg | + | $ sox -t al -r 8000 -c 1 speech.alaw speech.wav |
+ | |||
+ | $ ffmpeg -nostats -loglevel 0 -i speech.wav -acodec libvorbis speech.ogg | ||
</code> | </code> | ||