安装步骤
1 apt update
2 apt-get install -y libatlas-base-dev g++ libjasper* vim cmake make unzip
3 which python
4 apt install -y python3-dev python3-pip
7 apt-get install python-software-properties
8 apt-get install software-properties-common
10 cd /opt/
12 tar -zxvf ffmpeg-4.3.tar.gz
18 unzip SDL2-2.0.14.zip 安装SDL2参考
19 cd SDL2-2.0.14
21 ./configure && make && make install
22 cd …/ffmpeg-4.3
24 apt upgrade -y nasm yasm
25 ./configure && make && make install
26 which python3
30 python3 -m pip install moviepy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
安装 ffmpeg
1 apt update
2 apt-get install -y libatlas-base-dev g++ libjasper* vim cmake make unzip
12 tar -zxvf ffmpeg-4.3.tar.gz
18 unzip SDL2-2.0.14.zip
19 cd SDL2-2.0.14
21 ./configure && make && make install
22 cd ../ffmpeg-4.3
24 apt upgrade -y nasm yasm
25 ./configure && make && make install
更新
git clone https://code.videolan.org/videolan/x264.git
./configure --enable-shared --enable-pic --disable-asm
ma