Step 1:从https://libav.org/download.html下载Libav源文件
- 使用git clone CLONE_URL libav下载,其中CLONE_URL在上述网页中获得 (我用的是git://github.com/libav/libav.git)
- git的安装和使用请咨寻Google
Step 2:编译
- Step 2.2:./configure --disable-yasm(如果这里没有--disable-yasm,那么编译时会提示yasm/nasm not found or too old. Use --disable-yasm for a crippled build并退出)
- Step 2.3:make
- Step 2.4:make install或者sudo make install(如果没有sudo时出现mkdir: cannot create directory `/usr/local/share/man/man1': Permission denied,那就