воскресенье, 25 января 2015 г.

Convert WAV to MP3, Asterisk record files

Hi Dears,

So after several days which started new call-center disk is almost full, so it means file format .wav is too big and we need to convert to MP3.

1. yum install lame
2. create script for convert

script: 

#!/bin/bash
#mkdir temp
for f in /var/spool/asterisk/monitor/*.wav; do lame --replaygain-accurate -q 0 --vbr-new -V 3  "$f" "${f%.wav}.mp3"; done

Комментариев нет:

Отправить комментарий

Общее·количество·просмотров·страницы