Package Details: intel-media-sdk 1:2019.1.0-1

Git Clone URL: https://aur.archlinux.org/intel-media-sdk.git (read-only)
Package Base: intel-media-sdk
Description: API to access hardware-accelerated video decode, encode and filtering on Intel platforms with integrated graphics
Upstream URL: https://github.com/Intel-Media-SDK/MediaSDK/
Keywords: hwaccel intel libmfx media mediasdk mfx qsv quicksync quicksyncvideo sdk video
Licenses: MIT
Provides: libmfx
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 25
Popularity: 0.783198
First Submitted: 2016-01-09 17:17
Last Updated: 2019-04-25 02:58

Latest Comments

1 2 Next › Last »

fitu996 commented on 2018-01-05 05:58

If someone get build error like this:

[ 99%] Building CXX object samples/sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o
In file included from /tmp/aur-intel-media-sdk/src/MediaSDK-1.2a/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp:21:0:
/tmp/aur-intel-media-sdk/src/MediaSDK-1.2a/samples/sample_plugins/rotate_opencl/include/opencl_filter_va.h:33:23: fatal error:CL/va_ext.h:no such file

Remove intel-opencl-runtime. Then the package will successfully build. Then you can install it again.

If you get error again, try to build in a clean chroot. This has been tested and it will work.

Build in a clean chroot will solve most of the problems. If you get other errors, you can try this, too.

@dbermond Can you pin this comment?

dbermond commented on 2018-01-04 16:16

@fitu996 Good to know that you got it working!

Probably, the cause of your error was some problem with intel-opencl and intel-opencl-runtime. If you remove these packages from your system maybe a local build will work.

Yes, 4th gen cpu is really not supported. I also would like to see support for it and requested this through a github issue. Please post a comment there, so they can know that more people needs it :)

You can ignore these namcap errors/warnings. The plugins path is hardcoded in source code, being at <prefix>/plugins. I've placed symlinks in /usr/lib pointing to the plugins files, in order that they can be found in standard PATH if this is needed by other applications. Yes, this is odd, I know. But until we cannot tell the build system to install the plugins at /usr/lib, this is only thing a could manage to do. Regarding samples path, well, since they're just samples, I simple moved them around to a better place. I'm not sure, but samples seems to be not needed by other applications (at least it seems that ffmpeg - the main concern here - does not need them). Please let me know if you have any problems.

fitu996 commented on 2018-01-04 15:49

I just successfully build this package in a clean chroot. So the build error must be my fault.

I have installed intel-opencl, intel-opencl-runtime in AUR and opencl-headers ocl-icd opencl-nvidia. The old "intel-opencl-sdk 2016_6.3.0.1904-1" is not removed on my system.

Also, "System requirements" on "https://github.com/Intel-Media-SDK/MediaSDK/" does not include my 4th gen Intel Core processor.

Anyway, problem solved. Thank you for your help.

I will then check the reason. If I find it, I will put it here. Maybe There will be someone like me have the same problem.

dbermond commented on 2018-01-04 15:23

@fitu996 The patch simply removes the need of having CL/va_ext.h installed, which is the cause of your error. The patch already removes the building of rotate_opencl sample. It does this through cmake, by checking if Intel opencl is installed on system. No need to include opencl_filter_va.h.

I cannot understand why your build process is failing. It seems that the patch is not being applied for some reason. It does not happen with me. It's building fine here even in a clean chroot.

fitu996 commented on 2018-01-04 15:05

Its seems that your patch does not include "samples/sample_plugins/rotate_opencl/include/opencl_filter_va.h".

Maybe it will not be compiled when opencl is not installed.

Why not just remove these samples?

I'm trying to build it in a clean chroot. And I will give your more infomations if it fails again.

dbermond commented on 2018-01-04 12:48

@fitu996 That's really strange because it should not happen. The prepare() function applies a patch to address this situation, avoiding the need of CL/va_ext.h.

How are you building the package? It builds fine for me with makepkg.

fitu996 commented on 2018-01-04 07:14

Build error:

[ 99%] Building CXX object samples/sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o

In file included from /tmp/aur-intel-media-sdk/src/MediaSDK-1.2a/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp:21:0:

/tmp/aur-intel-media-sdk/src/MediaSDK-1.2a/samples/sample_plugins/rotate_opencl/include/opencl_filter_va.h:33:23: fatal error:CL/va_ext.h:no such file

dbermond commented on 2017-12-27 21:07

Important notice: This package now uses the open source Intel MediaSDK from https://github.com/Intel-Media-SDK/MediaSDK/.

If for some reason you want the binary and proprietary files provided by Intel, use the package intel-media-server-studio.

kwsk commented on 2017-01-28 11:38

2017 R2 released Jan 20 2017
update plz

dbermond commented on 2016-06-02 00:04

@alejandro.perez
According to Intel documentation, in order to properly use ffmpeg with the Intel QSV encoder you need to use a specific (and older) kernel version with their patches and other system modifications.
This package provides only the SDK files.