Commit Graph

106 Commits

Author SHA1 Message Date
Daniel Bermond 11ac72afb8 Remove support for legacy nvidia-340xx drivers 2020-07-26 15:53:33 +00:00
Daniel Bermond 3616570eef Add patch for cuda 11.0. Bring back svt-vp9 support.
cuda 11.0 minimum supported architecture is 5.2 (compute_52/sm_52).

svt-vp9 support is better now with the current upstream stable
version.
2020-07-23 01:39:09 +00:00
Daniel Bermond 7b5541a529 Fix svt-av1 patch 2020-07-12 00:10:33 +00:00
Daniel Bermond 319353f94d Updated to version 4.3.1 2020-07-11 13:04:14 +00:00
Daniel Bermond 48dfa9d6ba Update svt-av1 version to match repository package 2020-06-30 21:53:59 +00:00
Daniel Bermond 500c3b70e2 Updated to version 4.3 2020-06-19 16:57:02 +00:00
Daniel Bermond 89109966c7 Fix checksum 2020-06-10 22:28:10 +00:00
Daniel Bermond e2a43408a2 Updated to version 4.2.3 2020-05-31 13:17:37 +00:00
Daniel Bermond 373af4348c Remove svt-vp9 support
It's buggy at the current moment, not working properly at all.
2020-05-14 19:44:48 +00:00
Daniel Bermond 0ea4af67c1 Fix build with svt-av1 0.8.2 2020-04-22 02:19:55 +00:00
Daniel Bermond 7de0b58e01 Add support for decklink-sdk 11.5 2020-02-29 20:24:08 +00:00
Daniel Bermond 8a0bf045c3 Match intel-media-sdk changes
intel-media-sdk is now installed on '/usr' prefix. No need to
specify the pkg-config search path anymore.
2020-01-28 00:22:32 +00:00
Daniel Bermond 51efad0a90 Updated to version 4.2.2 2020-01-03 22:45:22 +00:00
Daniel Bermond 4829a64813 Update svt versions. Update dependencies. General improvements. 2020-01-03 22:37:48 +00:00
Daniel Bermond 1517dab1ff Fix intel-media-sdk pkgconfig path 2019-09-18 18:54:51 +00:00
Daniel Bermond dd0178ed6c Updated to version 4.2.1 2019-09-13 02:53:36 +00:00
Daniel Bermond 2f601593ef Updated to version 4.2 2019-08-11 14:36:14 +00:00
Daniel Bermond d8835b2aad Updated to version 4.1.4 2019-07-15 01:15:44 +00:00
Daniel Bermond 8637cfc3a0 Drop i686 support 2019-07-15 01:14:54 +00:00
Daniel Bermond ea3917a8b7 Use versioned patches for intel svt components
Patches for intel svt components will be different at each
component release, so they better be versioned.

This commit updates intel-svt-av1 patch from version 0.5.0
to 0.6.0.
2019-07-06 18:24:09 +00:00
Daniel Bermond 9766128011 Cosmetic changes 2019-06-01 14:13:40 +00:00
Daniel Bermond af683dc76c Fix build with decklink sdk 11 2019-06-01 14:01:02 +00:00
Daniel Bermond 477324de05 Add intel-svt support only on x86_64 2019-06-01 13:59:45 +00:00
Daniel Bermond 5812707d36 Add intel-svt support for hevc, av1 and vp9 2019-05-31 23:48:05 +00:00
Daniel Bermond 4602807909 Fix tensorflow include dir
upstream ffmpeg excects[1] : /usr/include/tensorflow/
tensorflow package ships[2]: /usr/include/tensorflow/tensorflow/

References
----------
[1] https://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=a9644e211bebb342fb9066190f1be70e55f68ec0;hb=4154f8967820ca734a77ce91bb590cd77649dee8#l6138
[2] https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/tensorflow&id=d6b6fa4eb56d8e6055268504d6b0110c6fddde7e
2019-04-24 16:31:03 +00:00
Daniel Bermond 2eaa5ac3cf Updated to version 4.1.3 2019-04-03 00:34:15 +00:00
Daniel Bermond b560835b17 Updated to version 4.1.2 2019-03-23 18:17:09 +00:00
Daniel Bermond 52eda60122 Updated to version 4.1.1 2019-02-23 22:28:13 +00:00
Daniel Bermond c892f2baae depends: switch xavs2-git to xavs2
xavs2 1.3 stable was released and ffmpeg currently builds fine
with it.
2019-01-04 22:15:49 +00:00
Daniel Bermond f12ec9acea Temporarily disable libsmbclient due to upstream bug
ffmpeg fails to compile with the newly released smbclient 4.9[1].
Currently, there is a pull request[2] at upstream samba that
aparently fixes this, but it still was not accepted at the time
of writing. It is being discussed on the samba mailing list[3].
Disabling libsmbclient until there is a consistent upstream
solution.

References
----------
[1] https://bugs.gentoo.org/666548
[2] https://github.com/samba-team/samba/pull/212/
[3] https://lists.samba.org/archive/samba-technical/2018-October/130668.html
2018-11-21 18:22:16 +00:00
Daniel Bermond 928fae4a65 depends: switch davs2-git to davs2
Currently, it is now possible to build ffmpeg with the newly
released davs2 stable version.
2018-11-17 13:00:49 +00:00
Daniel Bermond 7db4922cc1 Updated to version 4.1 2018-11-10 01:37:54 +00:00
Daniel Bermond 9f2547246e Add pgp check. Remove makepkg internal function. Cleanups. 2018-10-15 21:02:44 +00:00
Daniel Bermond 55c94c2e71 Fix build with vmaf 1.3.9 (add back libvmaf support) 2018-08-10 21:23:49 +00:00
Daniel Bermond 14b1ac3b7d depends: fix lv2 dependency
It requires both lv2 and lilv.
2018-08-10 20:42:59 +00:00
Daniel Bermond d89b2f06f6 Temporarily disable libvmaf due to compile error
ffmpeg fails to build with the newly released vmaf 1.3.7.
Disabling vmaf support until upstream ffmpeg fixes this.
2018-07-21 02:31:52 +00:00
Daniel Bermond 654d2499c4 Updated to version 4.0.2 2018-07-20 20:47:27 +00:00
Daniel Bermond 1de0dc345f depends: switch libaom to aom (aom is now in official repositories)
References
----------
https://www.archlinux.org/packages/extra/x86_64/aom/
2018-06-27 23:23:57 +00:00
Daniel Bermond caf030d7be depends: switch aom-git to libaom
libaom 1.0.0 was released and now upstream ffmpeg is accepting
to compile with this stable version, which was not possible with
libaom 0.1.0.

This will remove the dependency on a -git package, which is good
and desirable when possible.
2018-06-26 01:00:03 +00:00
Daniel Bermond aeef32e835 Updated to version 4.0.1 2018-06-16 19:13:36 +00:00
Daniel Bermond 5f3d99edad Remove -lpthread from --extra-libs
-lpthread was previously required for building with libaom support.
Currently it seems that upstream aom git master has handled this
missing library to its linkage, and this option is not needed here
anymore.

References
----------
https://aur.archlinux.org/cgit/aur.git/commit/?h=ffmpeg-full-git&id=a57553ab08c7af23735921498c4393e320b0553b
2018-06-16 19:11:54 +00:00
Daniel Bermond 2d65e1a939 depends: change dependencies for opencl and opengl
opencl: opencl-icd-loader was replaced by ocl-icd. Although ocl-icd
        currently provides opencl-icd-loader, let's use the newer
        approach by depending directly on ocl-icd.

opengl: it seems that the best approach for depending on libGL is
        to use libgl instead of mesa. Currently it is provided by
        libglvnd package (or by nvidia-340xx-utils for legacy
        nvidia users).
2018-06-16 17:35:52 +00:00
Daniel Bermond 835f8021d7 makedepends_x86_64: switch back vmaf-git to vmaf
At the time of ffmpeg 4.0 release, the latest version of vmaf was
1.3.1. At that time, ffmpeg 4.0 needed vmaf git master to compile.

Now vmaf 1.3.4 was released and ffmpeg builds fine with it.
2018-05-09 17:36:04 +00:00
Daniel Bermond 10394d41ca depends: change xlib dependencies
The latest upstream git master requires libXv.so, libX11.so and
libXext.so for enabling xlib. Although this requirement is
currently present only on git master, by examining the changes
it seems to make sense to add it here too.

References
----------
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=0736f32a4facddbd953977ca614a3ee6d8a6e1d7
2018-05-09 17:33:35 +00:00
Daniel Bermond ca35bc5bae depends_x86_64: remove nvidia-utils (now provided by cuda)
nvidia-utils is now a dependency for cuda, so we do not need to
specify it here anymore.

Although I prefer to explicitly list dependencies, nvidia-utils is
a cuda component because it provides 'libcuda.so.1'. So it makes
sense to let it only with cuda.

References
----------
https://bugs.archlinux.org/task/58408
https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/cuda&id=b9d76ab707c8deb25cd9734e99e15e965f05f570
2018-05-02 17:44:04 +00:00
Daniel Bermond 2c3d4a857a Updated to version 4.0 2018-04-20 18:03:05 +00:00
Daniel Bermond ea214daae6 pkgdesc: update description to match official repositories 2018-04-20 17:35:43 +00:00
Daniel Bermond 7b2fc9d83b Move intel-media-sdk from makedepends_x86_64 to depends_x86_64
Since intel-media-sdk is needed not only for building with
Intel QSV support but also for Intel QSV to work during runtime, it
makes sense to stay in depends as a needed component. Forgot to do
it in previous commit. Another option instead of placing it only in
depends would be to place it in makedepends + optdepends because
ffmpeg runs without intel-media-sdk installed (libmfx.a is a static
dispatcher library that calls other sdk components at runtime).
Currently I'm sticking with the depends-only solution.
2018-04-16 18:13:25 +00:00
Daniel Bermond d0fbec2ec5 makedepends: switch libmfx to intel-media-sdk
intel-media-sdk, the open source version of
intel-media-server-studio, has now reached an acceptable stable
release that can be used here to provide libmfx.

This brings 2 important results:

1) The experimental state can be removed from the Intel QSV
   support, since intel-media-sdk also provides libmfxhw64
   and plugins for hardware accelerated decode and encode.

2) Finally we can get rid of the unsecure rpath in ffmpeg
   binaries!

intel-media-sdk is now a makedepend, instead of an optdepend
as previously. If fact, I should have switched it to
intel-media-server-studio in optdepends some time ago when
it has changed to the open source version, but I letted this
way while waiting for an acceptable stable release of, which
taked a while to happen.

Users should remove the libmfx{-git} package and stay only with
intel-media-sdk{-git} package, since the former is the complete
solution with the dispatcher library (libmfx.a), libmfxhw64 and
plugins.

Note1:
------
For the proper use of Intel QSV in ffmpeg the user must set the
vaapi/libva driver to 'iHD' through the 'LIBVA_DRIVER_NAME'
environment variable. The 'iHD' vaapi/libva driver is provided by
intel-media-driver{-git} package, which at the current time is
already a dependency of intel-media-sdk{-git} package. Setting
the vaapi/libva driver to 'iHD' can be done, for example, by
uncommenting the proper line in '/etc/profile.d/intel-media.sh'.

Note2:
------
intel-media-sdk is currently at a pre-release state. This can
lead to bugs when using Intel QSV.

Note3:
------
Not all Intel platforms are supported by intel-media-sdk. At the
current time, it claims to support only 5th and 6th Generation
Intel® Core™ processors (Broadwell and Skylake). For details,
please see the MediaSDK and media-driver documentation:
- https://github.com/Intel-Media-SDK/MediaSDK/
- https://github.com/intel/media-driver/

Note4:
------
Intel QSV is available in x86_64 systems only.

Also in this commit:
--------------------
- depends: moved 'libbs2b' and 'sndio' from the AUR section to
  the official repositories section, since they are now at the
  [community] official repository.
2018-04-15 18:01:15 +00:00
Daniel Bermond 5d72306579 Temporarily disable libopencv due to upstream compile error
There is a know upstream ffmpeg compile error when enabling
libopencv. It should compile opencv code in C++ mode but it
is compiling in C mode. Disabling libopencv support while a
fix is not provided either by upstream ffmpeg or by opencv
repository package.

References:
-----------
http://trac.ffmpeg.org/ticket/7059
https://github.com/opencv/opencv/issues/10963
https://bugs.archlinux.org/task/57811
2018-03-13 02:00:16 +00:00