安装和使用过程:
1. Install Intel Media Server Studio for Linux. Download from software.intel.com/intel-media-serverstudio.
This is a prerequisite for the *_qsv codecs as it provides the foundation for encode acceleration. See the next chapter for more info on edition choices. Note: Professional edition install is required for hevc_qsv.
2. Get the latest FFmpeg source from https://www.FFmpeg.org/download.html. Intel Quick Sync Video support is available in FFmpeg 2.8 and later editions. The install steps outlined below were verified with ffmpeg release 3.2.2 3.
Configure FFmpeg with “--enable –libmfx –enable-nonfree”, build, and install.
This requires copying include files to /opt/intel/mediasdk/include/mfx and adding a libmfx.pc file. More details below.
4. Test transcode with an accelerated codec such as “-vcodec h264_qsv” on the FFmpeg command line. For more details, see Page 9 of this document
FFmpeg -i in.mp4 -vcodec h264 _ qsv out _ qsv.mp4