Am I right in thinking I won’t be able to broadcast an MP3 using the Paging and Intercom module unless I first convert it to a specific type of wave file? Is there a command line command I can run to do this? Many thanks!!
so I’ve got as far as figuring out I need to use sox
? I tried to use “file convert” but that just kept saying
“cannot open”.
But I need to install sox
with MP3 support.
so I tried to remove sox
[root@freepbx ~]# yum remove sox
Resolving Dependencies
--> Running transaction check
---> Package sox.x86_64 0:14.4.1-6.el7 will be erased
--> Processing Dependency: sox for package: sangoma-pbx-2002-2.sng7.noarch
--> Processing Dependency: sox for package: freepbx-14.1-1.sng7.x86_64
--> Running transaction check
---> Package freepbx.x86_64 0:14.1-1.sng7 will be erased
---> Package sangoma-pbx.noarch 0:2002-2.sng7 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "sangoma-pbx", which is protected
Bit worrying where it says Package freepbx.x86_64 0:14.1-1.sng7 will be erased !!
Anyway it didn’t let me proceed.
Any ideas? Many thanks!!
use mpg123 maybe?
ffmpeg -i in.mp3 -acodec pcm_s16le -ac 1 -ar 16000 out.wav
seems to work
Hi, to convert MP3 to WAV using the command line, you can try FFmpeg. I have heard it but I never tried. I think it is complicated for me. I only have experience in conversion with VLC and Joyoshare Video Cutter. The former is totally free. The latter is an all-in-one video editor. I get it from its official Christmas Carnivals. Luckily, I also get a $100 Starbucks voucher from this Xmas event.
Hi we use lame , here is a snippet
/bin/nice /usr/bin/lame -b 16 -m m -q 9-resample $dtpath$3.wav $dtpath$3.mp3
/bin/nice /bin/chown asterisk:asterisk $dtpath$3.mp3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.