![]() What is “rate control”? It’s what a video encoder does when it decides how many bits to spend for a given frame. Here is the different ffmpeg release or you can use the github to download ~]# wget ~]# tar xjf ~]# cd ffmpeg-2.8.14]# export CFLAGS="-O2 -march=native -msse3 -fomit-frame-pointer ffmpeg-2.8.14]# export ffmpeg-2.8.14]# export ffmpeg-2.8.14]# export ffmpeg-2.8.14]#. It is important to use this branch 2.8.X because we’ve tested with the others 3.2.X, 3.3.X, 3.4.X and there were errors and we unable to use the the GPU unit to accelerate our video decoding and encoding. STEP 8) Download ffmpeg version 2.8.X and compile it c -o re2c-code.o `test -f tools/re2c/code.c || echo yasm-1.3.0]# make install c -o re2c-main.o `test -f tools/re2c/main.c || echo './'`tools/re2c/main.c c -o gp-xstrdup.o `test -f libyasm/xstrdup.c || echo './'`libyasm/xstrdup.c c -o gp-xmalloc.o `test -f libyasm/xmalloc.c || echo './'`libyasm/xmalloc.c c -o gp-phash.o `test -f libyasm/phash.c || echo './'`libyasm/phash.c c -o gp-perfect.o `test -f tools/genperf/perfect.c || echo './'`tools/genperf/perfect.c c -o genperf.o `test -f tools/genperf/genperf.c || echo './'`tools/genperf/genperf.c usr/bin/install -cĬhecking whether build environment is sane. configureĬhecking for a BSD-compatible install. ![]() ![]() STEP 7) Install yasm – a dependency for the ffmpeg ~]# wget ~]# tar xzf ~]# cd yasm-1.3.0]# export CFLAGS="-O2 -march=native -msse3 -fomit-frame-pointer yasm-1.3.0]# export yasm-1.3.0]# export yasm-1.3.0]# export yasm-1.3.0]#. This is required because ffmpeg expect these files to be in a ~]# mkdir ~]# cp /opt/intel/mediasdk/include/*.h /opt/intel/mediasdk/include/mfx/ STEP 6) Move the Media SDK include files in a mfx sub-directory “Install Intel Media Studio SDK and GPU driver from Intel Media Server Studio 2018 R1 – CentOS 7 ()” STEP 5) Tune pkgconfig libmfx (Intel library, installed with the Media Server Studio) We have an article on the topic – Download, what is in the package Intel Media Server Studio 2018 R1 and which Linux distro it supports STEP 4) Install Intel Media Studio SDK from Intel Media Server Studio 2018 R1 We have an article on the topic – Howto do a netinstall of CentOS 7 () – minimal server installation STEP 3) Download Intel Media Server Studio 2018 R1 We have an article on the topic – Enable internal graphics in SUPERMICRO servers STEP 2) Install the right CentOS 7 – Here are the steps: STEP 1) Enable internal graphics in your system. libmfx.a dispatcher – the API for your application.Installing Media Server Studio your system will get validated stack of software by Intel to build application against Media SDK interface: Here are the steps how to enable the hardware options and what and how to install the software to hardware encode a video stream successful under linux – CentOS 7 distro.įor the first four steps just follow the howto “Install Intel Media Studio SDK and GPU driver from Intel Media Server Studio 2018 R1 – CentOS 7 ()” Here we include only the headers of the steps, because they are important part of this howto. Some of the Intel processors have GPU unit in them, which can be used to decode and encode video streams and it is pretty fast! High end Intel CPU could encode around 20 h264 (using faster preset) video streams on a single processor mini server as SUPERMICRO system using X11SSV-M4F. This howto shows how you can use ffmpeg to hardware accelerate the video decoding and encoding if you have the proper Intel processor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |