Linux-安裝FFmpeg


FFmpeg官網:http://www.ffmpeg.org

官網介紹

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATEacross Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.

下載安裝

  1. 下載最新源碼包並解壓
$ wget http://ffmpeg.org/releases/ffmpeg-3.1.3.tar.bz2
$ tar jxvf ffmpeg-3.1.3.tar.bz2
  1. 安裝ffmpeg
$ cd ffmpeg-3.1.3 $ ./configure 

 

 
安裝報錯

報了錯誤,提示 yasm沒有安裝

 

  1. 安裝yasm
$ yum install yasm
  1. 繼續安裝ffmpeg
$ ./configure
$ make
$ make install
  1. 安裝成功
$ ffmpeg

輸入ffmpeg打印了相關信息,表示安裝成功

 
安裝成功


作者:lancely
鏈接:http://www.jianshu.com/p/905df3d9e753
來源:簡書
著作權歸作者所有。商業轉載請聯系作者獲得授權,非商業轉載請注明出處。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM