LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Asterisk and Audacity question... (https://www.linuxquestions.org/questions/slackware-14/asterisk-and-audacity-question-843776/)

tallship 11-11-2010 06:51 PM

Asterisk and Audacity question...
 
While preparing to install Audacity, I came across some of the ffmpeg (optional) builds, including 'faad2', and 'gsm'.

Since I'm planning on installing Asterisk as well, I'm guessing that I'm going to need gsm anyway from slackbuilds.org.

The basic questions I have prior to installing Asterisk are:

1.) There are three rather current versions at this time:

a.) 1.6.1.8 from the SlackBuld archive

b.) 1.6.2 from the Asterisk site, and...

c.) 1.8 from the Asterisk site

Recommendations as to which one of these to install?

And do I need to install the gsm SlackBuild for this as well (I'll be using gsm for making prompts, MoH, etc...)

For Audacity, the questions I have are

1.) the following features are listed - which ones are recommended and why (I've already installed 'twolame', and I figure I'm going to have to install 'Lame', 'gsm', 'speex', and 'xvid' - but not sure about all of these):

Quote:

FFmpeg is a complete solution to record, convert and stream audio
and video. It includes libavcodec, the leading audio/video codec
library.

You can enable a lot of optional (not-autodetected) features by
passing variables to the script (VAR=yes/no ./ffmpeg.SlackBuild):
DC1394=yes|no (default: no), requires libdc1394
DIRAC=yes|no (default: no), requires dirac
FAAC=yes|no (default: no), requires faac (creates non-redistributable binary)
FAAD=yes|no (default: no), requires faad2
GSM=yes|no (default: no), requires gsm
JP2=yes|no (default: no), requires openjpeg
LAME=yes|no (default: yes), requires lame
OPENCORE=yes|no (default: no), requires opencore-amr
RTMP=yes|no (default: no), requires rtmpdump
SCHROEDINGER=yes|no (default: no), requires schroedinger
SPEEX=yes|no (default: no), requires speex
VPX=yes|no (default: no), requires libvpx
X264=yes|no (default: yes), requires x264
XVID=yes|no (default: no), requires xvidcore

ffmpeg is built with runtime cpu detection by default, which might
have a quite big impact on performance. You can turn it off by passing
RUNTIME=no to the script, but this creates a non-portable binary.
Anyone can opine here, looking for your thoughts and suggestions :)

Thanks in advance!

wargus 11-12-2010 06:55 AM

Hi

I've installed the latest 1.6 version on 12.2 and 13.0, available from the Asterisk download page, as well as the addon tools. For Asterisk I used the original Slackbuild script and slightly tweaked it. Also, I've installed the gsm library because there was a problem with a client where no other codec could be negotiated than gsm (but quality is quite poor with this). I didn't install additional codecs on the server side than the ones coming with Asterisk itself, but this is up to your needs. No problems occured so far running Asterisk during quite a long time (use only few soft and hardware phones, so not that busy box with it).

As I can see in the documentation of 1.8 quite a lot of things have changed, so I can't tell about that.

:hattip:

just checked on my machine, I installed also the speex package

tallship 11-13-2010 03:04 PM

Hey thanks @wargus!

Every little bit helps out. There are so many other options to consider as well, and for the most part, I'm of the assumption that it would be best to include whatever I 'think' I might want to have available later, since some things are going to be required when doing the SlackBuild on these items.

FWIW, I had already decided to go with gsm and speex, just because I've used them quite regularly in the past on some other installations, but I must admit that I have no idea on the relevance of some of the others, even though space isn't a real concern.

wargus 11-14-2010 06:20 AM

Just compiled 1.8.0 with the slackbuild from 13.1 on my 13.0 server without any additional packages installed. If you decide to use 1.8.0, you have to change the order of following lines in the slackbuild, else you'll get an error (make samples generates some templates in /etc/asterisk to start with configuration). After installation it starts up (with few warnings on missing or empty configuration files) and runs, but I did not test the servers functionality yet, will do that later.

Original:
Code:

make samples DESTDIR=$PKG
make install DESTDIR=$PKG

Change to:
Code:

make install DESTDIR=$PKG
make samples DESTDIR=$PKG

If it works, you may probably want to go with the latest (1.8.0) release including a lot of important changes useful in the future... I'm not an expert but Asterisk is quite an interesting thing to play around :D

:hattip:

tallship 02-10-2011 04:24 AM

How has your progress been?
 
I was wondering how successful you were with the 1.8 install.

It didn't seem as if you had any critical errors, and I figure the one's you got would probably be alleviated for the most part by intalling the samples following the asterisk install.

Anyway, just checking in, as I was curios with regards to how it is running, and if there were any gotchas you stumbled across.

Kindest regards,

.

wargus 02-10-2011 05:00 AM

Because of being busy otherwise, I did not dig deeper than just moved the configuration I had from the previous version to this one, and it worked well. So I still do not use new/other features this version brings and thus cannot tell you more yet.

:hattip:


All times are GMT -5. The time now is 03:39 AM.