CentOS 7 Compiles FFMpeg Integration H264 H265

CentOS 7 Compilation FFMpeg Integration H264 H265

I. Download related resources

  1. Go to the FFmpeg official website to download the version of FFMpeg you need:
    https://ffmpeg.org/download.html
  2. x264 official download page:
    https://www.videolan.org/developers/x264.html
    If you download the latest version, you can get it directly from the following address:
    ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
  3. x265 official download page:
    https://bitbucket.org/multicoreware/x265/downloads/

II. Compiling x264

  1. Unzip and enter the x264 directory
  2. Configuration:
./configure
  1. Compile and install:
make -j4
make install

III. Compiling x265

  1. Unzip and go to the x265 source directory. The sample code is as follows:
cd x265_3.1.1/source/
  1. Configuration:
cmake CMakeLists.txt
  1. Compile and install:
make -j4
make install

IV. Compiling FFMpeg

  1. Unzip and enter the FFMpeg directory
  2. Configuration:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./configure --enable-libx264 --enable-libx265 --disable-w32threads --disable-debug --enable-pthreads

Other more configuration options reference help

./configure -h
  1. Compile and install:
make -j4
make install
赞(0) 打赏
未经允许不得转载:iemblog » CentOS 7 Compiles FFMpeg Integration H264 H265

Comment Time!

avatar
:arrow: :-D :-? 8) :cry: 8-O :evil: :!: :idea: :lol: :-x :mrgreen: :-| :?: :-P :oops: :roll: :( :) :-o :twisted: :wink: :hold-fist-salute: :love-you: :no: :ok: :poor: :seduce: :shake-hands: :strong: :victory:
  Subscribe  
Notify of
免责声明:本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有,请在下载后24小时之内自觉删除,若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。本站发布的内容若侵犯到您的权益,请联系站长删除,我们将及时处理!

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏