Last active
August 20, 2024 02:56
-
-
Save worldadventurer/86166566453ca61575642aa149c1575e to your computer and use it in GitHub Desktop.
FreePBX Install Codecs & Encoders: mpeg123, lame, ffmpeg, h264, g729
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tested on Centos 6 x64 | |
echo This will install some codecs and encoders. | |
read -rsp $'Press any key to continue OR CTRL-c to QUIT ...\n' -n1 key | |
# Update mpeg123 to newer version | |
echo This will tell you your current version of mpeg123 - note this | |
mpg123 --version | |
echo Installing a newer version now: | |
cd | |
# OLD: wget https://sourceforge.net/projects/mpg123/files/mpg123/1.23.8/mpg123-1.23.8.tar.bz2/download -O mpg123-1.23.8.tar.bz2 | |
wget https://sourceforge.net/projects/mpg123/files/mpg123/1.24.0/mpg123-1.24.0.tar.bz2/download -O mpg123-1.24.0.tar.bz2 | |
tar -xjvf mpg123-1.24.0.tar.bz2 | |
cd mpg123-1.24.0 | |
./configure && make && make install | |
mv /usr/bin/mpg123 /usr/bin/mpg123.old1 | |
ln -s /usr/local/bin/mpg123 /usr/bin/mpg123 | |
echo This will give you your NEW version of mpeg123 | |
mpg123 | |
# Completed Updating mpeg123 | |
# Install g729 and g723.1 codecs | |
bash <(curl -Ls https://gist.github.com/worldadventurer/c80e4d051937db887b40f3ab0084ce06/raw) | |
# | |
# Install ffmpeg, lame, h264 | |
bash <(curl -Ls https://gist.github.com/worldadventurer/f21539ca351dbf82cdf8b6747745f037/raw) | |
# DONE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment