2019独角兽企业重金招聘Python工程师标准>>>
下载安装包:
wget http://ffmpeg.org/releases/ffmpeg-3.4.1.tar.bz2
wget https://jaist.dl.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz
wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz安装过程:
1. yum install yasm
2. tar -zxvf lame-3.100.tar.gz; ./configure; make; make install
3. tar -zxvf opencore-amr-0.1.2.tar.gz; ./configure; make; make install
4. tar -jxvf ffmpeg-3.4.1.tar.bz2
5. ./configure --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-shared
6. make
7.make install
8.vi /etc/ld.so.conf
9.在文件末尾加上:/usr/local/lib
10. ldconfig
11.ffmpeg 输出版本信息表示安装成功ffmpeg -i 1.amr 1.mp3