Package Details: gst-plugins-intel-msdk 1.3.3.rc9-3

Git Clone URL: https://aur.archlinux.org/gst-plugins-intel-msdk.git (read-only, click to copy)
Package Base: gst-plugins-intel-msdk
Description: GStreamer plugins for Intel Media SDK (MSDK)
Upstream URL: https://github.com/intel/gstreamer-media-SDK/
Licenses: LGPL2.1
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 2
Popularity: 0.003120
First Submitted: 2018-07-24 00:49 (UTC)
Last Updated: 2022-01-29 19:12 (UTC)

Latest Comments

guiodic commented on 2021-11-04 16:29 (UTC)

only to follow

dbermond commented on 2021-09-17 21:11 (UTC)

@Samega7Cattac This is an upstream issue already reported here and here. It looks like that upstream needs to update their API. Please discuss it there.

Samega7Cattac commented on 2021-09-15 11:28 (UTC)

/tmp/makepkg/gst-plugins-intel-msdk/src/gstreamer-media-SDK-1.3.3-rc9/gst-libs/mfx/gstmfxdecoder.c: In function ‘gst_mfx_decoder_handle_avc_codec_data’:
/tmp/makepkg/gst-plugins-intel-msdk/src/gstreamer-media-SDK-1.3.3-rc9/gst-libs/mfx/gstmfxdecoder.c:545:45: error: too many arguments to function ‘gst_h264_parse_sps’
  545 |                   if (GST_H264_PARSER_OK == gst_h264_parse_sps(&nalu, &sps, TRUE) &&
      |                                             ^~~~~~~~~~~~~~~~~~
In file included from /tmp/makepkg/gst-plugins-intel-msdk/src/gstreamer-media-SDK-1.3.3-rc9/gst-libs/mfx/gstmfxdecoder.c:24:
/usr/include/gstreamer-1.0/gst/codecparsers/gsth264parser.h:1279:21: note: declared here
 1279 | GstH264ParserResult gst_h264_parse_sps                (GstH264NalUnit *nalu,
      |                     ^~~~~~~~~~~~~~~~~~

dbermond commented on 2018-11-08 02:00 (UTC)

@fthiery That's because intel-media-sdk now ships limfx as shared library (libmfx.so) instead of a static one (libmfx.a), and the library name is hardcoded in the source code. I've reflected this change here and now the package is building fine.

fthiery commented on 2018-11-06 12:58 (UTC) (edited on 2018-11-06 12:58 (UTC) by fthiery)

This does not build on my system (at least with https://aur.archlinux.org/packages/intel-media-stack-bin/), what am i doing wrong here ?

$ LANG=C makepkg -s
==> Making package: gst-plugins-intel-msdk 1.3.3.rc9-1 (Tue Nov  6 13:56:34 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found gst-plugins-intel-msdk-1.3.3.rc9.tar.gz
  -> Found gst-plugins-intel-msdk-fix-intel-media-sdk-directories.patch
  -> Found gst-plugins-intel-msdk-fix-libdrm-include-directory.patch
  -> Found gst-plugins-intel-msdk-fix-link-and-install.patch
==> Validating source files with sha256sums...
    gst-plugins-intel-msdk-1.3.3.rc9.tar.gz ... Passed
    gst-plugins-intel-msdk-fix-intel-media-sdk-directories.patch ... Passed
    gst-plugins-intel-msdk-fix-libdrm-include-directory.patch ... Passed
    gst-plugins-intel-msdk-fix-link-and-install.patch ... Passed
==> Extracting sources...
  -> Extracting gst-plugins-intel-msdk-1.3.3.rc9.tar.gz with bsdtar
==> Starting prepare()...
patching file cmake/FindMediaSDK.cmake
patching file gst-libs/mfx/egl/gstmfxtexture_egl.c
patching file CMakeLists.txt
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- MediaSDK distribution found in /opt/intel/mediasdk
-- MediaSDK include directory: /opt/intel/mediasdk/include/mfx
-- MediaSDK library directory: /opt/intel/mediasdk/lib64/libmfx.a
Build: release
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/gst-plugins-intel-msdk/src/gstreamer-media-SDK-1.3.3-rc9/build
Scanning dependencies of target gstmfx
make[2]: *** No rule to make target '/opt/intel/mediasdk/lib64/libmfx.a', needed by 'lib/release/libgstmfx.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[  1%] Building C object CMakeFiles/gstmfx.dir/gst-libs/mfx/egl/gstmfxtexture_egl.c.o
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/gstmfx.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

dbermond commented on 2018-10-05 02:15 (UTC)

Important note:

  • in short: the next time you update your system, use this command: # pacman -Syu intel-media-driver. If you're using intel-media-driver-git you're not affected and you can skip this note.

  • the long story: intel-media-driver is now in the [community] official repository (it is a dependency of intel-media-sdk, which in turn is a dependency of this package). intel-media-driver from the official repository changed the pkgver major number, causing it to be seen as a downgrade by pacman (and AUR helpers of course). This means that pacman will not automatically pull/install intel-media-driver from official repositories when you simply use the usual -Syu. You need to manually specify intel-media-driver alongside with the -Syu command as shown above.

dbermond commented on 2018-08-18 14:37 (UTC)

@francoism90 The current stable release and also the git master branch are deprecated because upstream developers have switched from cmake to meson. The current development is being made in the topic_linux_and_window branch, which will be merged into the master branch somewhere in the future.

https://github.com/intel/gstreamer-media-SDK/issues/55#issuecomment-349442747

These patches addresses build and install issues that I have encountered. While upstream do not completely move on to meson I will be using them. The patch that fixes intel msdk directories can now be replaced by exporting the pkgconfig environment variable. The libdrm header issue is not fixed even in the topic_linux_and_window branch.

francoism90 commented on 2018-08-18 07:29 (UTC)

@dbermond Could you give more details about this package?

Why aren't these patches upstream?

Thanks.