此步骤也可以使用git clone下载源码包,本质上是一样的
二、使用xftp将源码包ffmpeg-4.0.tar.xz上传至linux主机(直接使用linux命令下载到linux也可以)
三、将上传至/usr/local/ffmpeg的源码包解压
cd /usr/local/ffmpeg
tar xvJf ffmpeg-4.0.tar.xz
四、 进入解压后目录,输入如下命令/usr/local/ffmpeg为自己指定的安装目录
cd ffmpeg-4.0
./configure --enable-shared --prefix=/usr/local/ffmpeg
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you ar