已经在链接中显示了
https://dri.freedesktop.org/wiki/IntelPerformanceTuning/
第 2 步:CPU 与 GPU
如果 CPU % 超过 90,则应用程序正在 CPU 中运行。
在配置 ffmpeg 时,我启用了 opencl。ffmpeg 配置是,
ffmpeg version ebe0fa0 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --enable-gpl --enable-libx264 --enable-opencl --enable-nonfree --enable-libmfx --enable-libmp3lame --enable-libaacplus
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. …Run Code Online (Sandbox Code Playgroud)