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 0 votes
Article Rating
赞(0) 打赏
未经允许不得转载:iemblog » CentOS 7 Compiles FFMpeg Integration H264 H265
Subscribe
Notify of
guest

0 COMMENTS
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
免责声明:本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有,请在下载后24小时之内自觉删除,若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。本站发布的内容若侵犯到您的权益,请联系站长删除,我们将及时处理! Disclaimer: Most of the download resources on this site are collected on the Internet, and are only used for learning and communication. The copyright belongs to the original author. Please consciously delete within 24 hours after downloading. If you use it for commercial purposes, please purchase the original version. If the content posted on this site violates your rights, please contact us to delete it, and we will deal with it in time!

联系我们 Contact us

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

支付宝扫一扫打赏

微信扫一扫打赏

0
Would love your thoughts, please comment.x
()
x