返回> 网站首页 

ffmpeg编译

yoours2023-08-08 15:51:46 阅读 1723

简介一边听听音乐,一边写写文章。

1. libx264

wget https://code.videolan.org/videolan/x264/-/archive/master/x264-master.tar.bz2

bunzip2 x264-master.tar.bz2

tar -vxf x264-master.tar

./configure --enable-static --enable-shared --disable-asm --disable-avs

make && sudo make install


2. libx265

hg clone http://hg.videolan.org/x265

cd build/linux

make-Makefiles.bash

sudo make install


3. libfdk-aac

wget -O fdk-aac-2.0.2.tar.gz https://sourceforge.net/projects/opencore-amr/files/fdk-aac/fdk-aac-2.0.2.tar.gz/download

tar zxvf fdk-aac-2.0.2.tar.gz

./configure

make && make install


4. libmp3lame

wget -O lame-3.100.tar.gz https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz/download

tar zxvf lame-3.100.tar.gz

./configure

make && make install


5. libvpx

wget https://github.com/webmproject/libvpx/archive/v1.13.0/libvpx-1.13.0.tar.gz

tar zxvf libvpx-1.13.0.tar.gz 

../configure --enable-shared --disable-static

make && make install


6. libopus

wget https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz

tar zxvf opus-1.3.1.tar.gz

./configure --enable-shared --disable-static

make && make install


7. FFmpeg

wget https://www.ffmpeg.org/releases/ffmpeg-6.0.tar.bz2

tar jxvf ffmpeg-6.0.tar.bz2

./configure --enable-shared --disable-static --enable-gpl --enable-nonfree --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libmp3lame --enable-libvpx --enable-libopus

make && make install


微信小程序扫码登陆

文章评论

1723人参与,0条评论