summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2022-09-03 14:38:20 -0300
committerDaniel Bermond2022-09-03 14:38:20 -0300
commit87d1d3eece3a2ba7bd0d02f093bb108398ed230c (patch)
tree04c8867b18ca9ba5efa44b64758acd8478e5830c
parent0dc8e53583f246b4f0fe8e937f75dcbf4136b7b3 (diff)
downloadaur-87d1d3eece3a2ba7bd0d02f093bb108398ed230c.tar.gz
Switch libmfx to libvpl. Cosmetic changes.
Intel Media SDK is now considered a legacy API by Intel. oneVPL is the new API that Intel recommendeds for use. It is backward compatible with the so called "legacy CPUs" (prior to TigerLake). Users of "legacy CPUs" will need intel-media-sdk as the oneVPL runtime, while users of newer CPUs will need onevpl-intel-gpu. References ---------- [1] https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/7158f1e64d9b76afea78537a35c465447df0cff8
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD133
2 files changed, 122 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fba2888f6b0a..94a1d69ee60b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ffmpeg-full-git
pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac; git version)
- pkgver = 5.2.r107654.g101e154c28
+ pkgver = 5.2.r107981.g73fada029c
pkgrel = 1
url = https://www.ffmpeg.org/
arch = x86_64
@@ -24,13 +24,12 @@ pkgbase = ffmpeg-full-git
depends = dav1d
depends = fontconfig
depends = freetype2
+ depends = frei0r-plugins
depends = fribidi
depends = glslang
- depends = frei0r-plugins
depends = gmp
depends = gnutls
depends = gsm
- depends = intel-media-sdk
depends = jack
depends = kvazaar
depends = ladspa
@@ -46,21 +45,22 @@ pkgbase = ffmpeg-full-git
depends = libdc1394
depends = libdrm
depends = libfdk-aac
- depends = libgme
- depends = libgl
depends = libgcrypt
+ depends = libgl
+ depends = libgme
depends = libiec61883
depends = libilbc
depends = libjxl-git
depends = libmodplug
depends = libmysofa
depends = libomxil-bellagio
+ depends = libopenmpt
depends = libplacebo
depends = libpulse
depends = librabbitmq-c
depends = librsvg
- depends = libssh
depends = libsoxr
+ depends = libssh
depends = libtheora
depends = libva
depends = libvdpau
@@ -75,15 +75,15 @@ pkgbase = ffmpeg-full-git
depends = lilv
depends = lv2
depends = ocl-icd
+ depends = onevpl
depends = openal
depends = opencore-amr
depends = openh264
depends = openjpeg2
- depends = libopenmpt
depends = opus
depends = rav1e
- depends = rubberband
depends = rtmpdump
+ depends = rubberband
depends = sdl2
depends = smbclient
depends = snappy
diff --git a/PKGBUILD b/PKGBUILD
index 819012a6fd29..ff983cdb9b79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,130 @@
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=ffmpeg-full-git
-pkgver=5.2.r107654.g101e154c28
+pkgver=5.2.r107981.g73fada029c
pkgrel=1
+_svt_hevc_ver='b62f72e752243cee4104cfb41dc7ee409d3ac3e9'
+_svt_vp9_ver='d9ef3cc13159143b9afc776c04f67cdfa6284046'
pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac; git version)'
arch=('x86_64')
url='https://www.ffmpeg.org/'
license=('custom: nonfree and unredistributable')
-depends=('alsa-lib' 'aom' 'aribb24' 'avisynthplus' 'bzip2' 'celt' 'codec2' 'cuda'
- 'dav1d' 'fontconfig' 'freetype2' 'fribidi' 'glslang' 'frei0r-plugins' 'gmp'
- 'gnutls' 'gsm' 'intel-media-sdk' 'jack' 'kvazaar' 'ladspa' 'lame' 'libavc1394'
- 'lcms2' 'lensfun-git' 'libass' 'libbluray' 'libbs2b' 'libcaca' 'libcdio-paranoia'
- 'libdc1394' 'libdrm' 'libfdk-aac' 'libgme' 'libgl' 'libgcrypt' 'libiec61883'
- 'libilbc' 'libjxl-git' 'libmodplug' 'libmysofa' 'libomxil-bellagio' 'libplacebo'
- 'libpulse' 'librabbitmq-c' 'librsvg' 'libssh' 'libsoxr' 'libtheora' 'libva'
- 'libvdpau' 'libvorbis' 'libvpx' 'libx11' 'libxcb' 'libxext' 'libxml2' 'libxv'
- 'libwebp' 'lilv' 'lv2' 'ocl-icd' 'openal' 'opencore-amr' 'openh264' 'openjpeg2'
- 'libopenmpt' 'opus' 'rav1e' 'rubberband' 'rtmpdump' 'sdl2' 'smbclient' 'snappy'
- 'sndio' 'speex' 'spirv-tools' 'srt' 'svt-av1' 'svt-hevc' 'svt-vp9' 'tesseract'
- 'twolame' 'v4l-utils' 'vapoursynth' 'vid.stab' 'vmaf' 'vulkan-icd-loader' 'x264'
- 'x265' 'xvidcore' 'xz' 'zeromq' 'zimg' 'zlib' 'zvbi'
- 'chromaprint-fftw' 'davs2' 'flite1' 'libklvanc-git' 'librist' 'pocketsphinx'
- 'rockchip-mpp' 'shine' 'uavs3d-git' 'vo-amrwbenc' 'xavs' 'xavs2')
+depends=(
+ 'alsa-lib'
+ 'aom'
+ 'aribb24'
+ 'avisynthplus'
+ 'bzip2'
+ 'celt'
+ 'codec2'
+ 'cuda'
+ 'dav1d'
+ 'fontconfig'
+ 'freetype2'
+ 'frei0r-plugins'
+ 'fribidi'
+ 'glslang'
+ 'gmp'
+ 'gnutls'
+ 'gsm'
+ 'jack'
+ 'kvazaar'
+ 'ladspa'
+ 'lame'
+ 'libavc1394'
+ 'lcms2'
+ 'lensfun-git'
+ 'libass'
+ 'libbluray'
+ 'libbs2b'
+ 'libcaca'
+ 'libcdio-paranoia'
+ 'libdc1394'
+ 'libdrm'
+ 'libfdk-aac'
+ 'libgcrypt'
+ 'libgl'
+ 'libgme'
+ 'libiec61883'
+ 'libilbc'
+ 'libjxl-git'
+ 'libmodplug'
+ 'libmysofa'
+ 'libomxil-bellagio'
+ 'libopenmpt'
+ 'libplacebo'
+ 'libpulse'
+ 'librabbitmq-c'
+ 'librsvg'
+ 'libsoxr'
+ 'libssh'
+ 'libtheora'
+ 'libva'
+ 'libvdpau'
+ 'libvorbis'
+ 'libvpx'
+ 'libx11'
+ 'libxcb'
+ 'libxext'
+ 'libxml2'
+ 'libxv'
+ 'libwebp'
+ 'lilv'
+ 'lv2'
+ 'ocl-icd'
+ 'onevpl'
+ 'openal'
+ 'opencore-amr'
+ 'openh264'
+ 'openjpeg2'
+ 'opus'
+ 'rav1e'
+ 'rtmpdump'
+ 'rubberband'
+ 'sdl2'
+ 'smbclient'
+ 'snappy'
+ 'sndio'
+ 'speex'
+ 'spirv-tools'
+ 'srt'
+ 'svt-av1'
+ 'svt-hevc'
+ 'svt-vp9'
+ 'tesseract'
+ 'twolame'
+ 'v4l-utils'
+ 'vapoursynth'
+ 'vid.stab'
+ 'vmaf'
+ 'vulkan-icd-loader'
+ 'x264'
+ 'x265'
+ 'xvidcore'
+ 'xz'
+ 'zeromq'
+ 'zimg'
+ 'zlib'
+ 'zvbi'
+ 'chromaprint-fftw'
+ 'davs2'
+ 'flite1'
+ 'libklvanc-git'
+ 'librist'
+ 'pocketsphinx'
+ 'rockchip-mpp'
+ 'shine'
+ 'uavs3d-git'
+ 'vo-amrwbenc'
+ 'xavs'
+ 'xavs2'
+)
makedepends=('git' 'clang' 'amf-headers' 'ffnvcodec-headers' 'nasm' 'opencl-headers'
'vulkan-headers' 'decklink-sdk')
provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
'libavutil.so' 'libpostproc.so' 'libswscale.so' 'libswresample.so'
'ffmpeg' 'ffmpeg-full' 'ffmpeg-git')
conflicts=('ffmpeg')
-_svt_hevc_ver='b62f72e752243cee4104cfb41dc7ee409d3ac3e9'
-_svt_vp9_ver='d9ef3cc13159143b9afc776c04f67cdfa6284046'
source=('git+https://git.ffmpeg.org/ffmpeg.git'
"010-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/${_svt_hevc_ver}/ffmpeg_plugin/master-0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch"
#"020-ffmpeg-add-svt-hevc-docs-g${_svt_hevc_ver:0:7}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/${_svt_hevc_ver}/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch"
@@ -193,7 +288,7 @@ build() {
--enable-cuvid \
--enable-ffnvcodec \
--enable-libdrm \
- --enable-libmfx \
+ --enable-libvpl \
--enable-libnpp \
--enable-nvdec \
--enable-nvenc \