Package Details: ffmpeg-intel-full-git 5.1.r105688.g0d34e21282-1

Git Clone URL: https://aur.archlinux.org/ffmpeg-intel-full-git.git (read-only, click to copy)
Package Base: ffmpeg-intel-full-git
Description: Complete solution to record, convert and stream audio and video (all possible features for intel; git version) (based on dbermond package)
Upstream URL: https://www.ffmpeg.org/
Keywords: audio codec convert decklink encoder fdk-aac fdkaac ffmpeg ffmpeg-git hwaccel intel-svt libnpp media qsv quicksync vaapi video
Licenses: custom: nonfree and unredistributable
Conflicts: ffmpeg
Provides: ffmpeg, ffmpeg-full, ffmpeg-git, ffmpeg-intel, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: arllk
Maintainer: arllk
Last Packager: arllk
Votes: 5
Popularity: 0.015985
First Submitted: 2019-12-09 20:07 (UTC)
Last Updated: 2022-02-19 00:05 (UTC)

Required by (1549)

Sources (5)

Latest Comments

6bo74 commented on 2022-04-21 20:31 (UTC) (edited on 2022-04-21 20:34 (UTC) by 6bo74)

Can't build here

==> Making package: ffmpeg-intel-full-git 5.1.r105688.g0d34e21282-1 (Thu 21 Apr 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating ffmpeg git repo...
Fetching origin
  -> Found 010-ffmpeg-add-svt-hevc-g111eef1.patch
  -> Found 030-ffmpeg-add-svt-vp9-g308ef44.patch
  -> Found 040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
  -> Found LICENSE
==> Validating source files with sha256sums...
    ffmpeg ... Skipped
    010-ffmpeg-add-svt-hevc-g111eef1.patch ... Passed
    030-ffmpeg-add-svt-vp9-g308ef44.patch ... Passed
    040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch ... Passed
    LICENSE ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of ffmpeg git repo...
Cloning into 'ffmpeg'...
done.
==> Starting prepare()...
patching file configure
Hunk #1 succeeded at 289 (offset 1 line).
Hunk #2 succeeded at 1814 (offset 21 lines).
Hunk #3 succeeded at 3378 (offset 61 lines).
Hunk #4 succeeded at 6675 (offset 137 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1096 (offset 32 lines).
patching file libavcodec/allcodecs.c
Hunk #1 FAILED at 774.
1 out of 1 hunk FAILED -- saving rejects to file libavcodec/allcodecs.c.rej
patching file libavcodec/libsvt_hevc.c
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'ffmpeg-intel-full-git-5.1.r105688.g0d34e21282-1':
error: packages failed to build: ffmpeg-intel-full-git-5.1.r105688.g0d34e21282-1

csts commented on 2022-01-26 15:59 (UTC)

I installed libmatroska and mkvtoolnix-gui and that fixed the errors on my comment below, but a new one appeared, tried installing vmaf-git but the error still comes up. I installed manually all dependencies, but it doesn't build:

==> Starting prepare()...
patching file libavfilter/vf_libvmaf.c
Hunk #1 FAILED at 72.
1 out of 1 hunk FAILED -- saving rejects to file libavfilter/vf_libvmaf.c.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

csts commented on 2022-01-23 14:03 (UTC)

Just tried it and this error insists:

patching file libavformat/matroskaenc.c
Hunk #1 succeeded at 219 (offset 77 lines).
Hunk #2 FAILED at 2109.
Hunk #3 succeeded at 2693 (offset 391 lines).
Hunk #4 succeeded at 2707 (offset 394 lines).
Hunk #5 succeeded at 2726 (offset 394 lines).
Hunk #6 FAILED at 2355.
Hunk #7 succeeded at 2792 (offset 377 lines).
Hunk #8 succeeded at 2823 (offset 377 lines).
Hunk #9 FAILED at 2792.
3 out of 9 hunks FAILED -- saving rejects to file libavformat/matroskaenc.c.rej
patching file libavformat/movenc.c
Hunk #1 succeeded at 6082 (offset 150 lines).
Hunk #2 succeeded at 7317 with fuzz 2 (offset 162 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...

arllk commented on 2021-06-27 03:04 (UTC)

I have found the same issue @aichrist and the only solution that I found is to use vapoursynth-git, using that I had no problem

aichrist commented on 2021-06-26 01:23 (UTC) (edited on 2021-06-26 01:24 (UTC) by aichrist)

Getting an inner conflict. It appears to be due to a circular dependency (ffmpeg-intel-full-git depends on vapoursynth which depends on ffmpeg).

This is my output from paru -S ffmpeg-intel-full-git:

:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

:: Inner conflicts found:
    ffmpeg: ffmpeg-intel-full-git (ffmpeg)  

:: Conflicting packages will have to be confirmed manually

Repo (2) ffmpeg-2:4.4-4  vapoursynth-R53-1
Aur (1) ffmpeg-intel-full-git-4.5.r102796.g81bad080cd-1

andykais commented on 2021-04-10 20:25 (UTC)

this package appears to be broken with the latest version of aom. aom now ships a libaom.so.3 library file.

ffmpeg: error while loading shared libraries: libaom.so.2: cannot open shared object file: No such file or directory

I have reverted back to the base ffmpeg package for the time being

matf commented on 2021-02-28 14:03 (UTC) (edited on 2021-02-28 14:09 (UTC) by matf)

I am having the same issue as @erkexzcx, which seems to be related to: https://trac.ffmpeg.org/ticket/9112

I have worked around the issue by installing lensfun-git from AUR first.

arllk commented on 2021-02-22 23:37 (UTC)

@erkexzcx I couldn't replicate the problem right now, later I will do some more testing.

erkexzcx commented on 2021-02-21 09:02 (UTC)

This package not building for me. :/

libavfilter/vf_lensfun.c: In function ‘config_props’:
libavfilter/vf_lensfun.c:225:59: error: incompatible type for argument 1 of ‘lf_modifier_create’
  225 |             lensfun->modifier = lf_modifier_create(lensfun->lens,
      |                                                    ~~~~~~~^~~~~~
      |                                                           |
      |                                                           lfLens *
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3076:11: note: expected ‘float’ but argument is of type ‘lfLens *’
 3076 |     float imgcrop, int imgwidth, int imgheight, lfPixelFormat pixel_format, bool reverse);
      |     ~~~~~~^~~~~~~
libavfilter/vf_lensfun.c:225:33: error: too many arguments to function ‘lf_modifier_create’
  225 |             lensfun->modifier = lf_modifier_create(lensfun->lens,
      |                                 ^~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3075:23: note: declared here
 3075 | LF_EXPORT lfModifier *lf_modifier_create (
      |                       ^~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:231:84: error: incompatible type for argument 2 of ‘lf_modifier_enable_vignetting_correction’
  231 |                 lf_modifier_enable_vignetting_correction(lensfun->modifier, lensfun->aperture, lensfun->focus_distance);
      |                                                                             ~~~~~~~^~~~~~~~~~
      |                                                                                    |
      |                                                                                    float
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3098:41: note: expected ‘const lfLens *’ but argument is of type ‘float’
 3098 |     lfModifier *modifier, const lfLens* lens, float focal, float aperture, float distance);
      |                           ~~~~~~~~~~~~~~^~~~
libavfilter/vf_lensfun.c:231:17: error: too few arguments to function ‘lf_modifier_enable_vignetting_correction’
  231 |                 lf_modifier_enable_vignetting_correction(lensfun->modifier, lensfun->aperture, lensfun->focus_distance);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3097:15: note: declared here
 3097 | LF_EXPORT int lf_modifier_enable_vignetting_correction (
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:233:17: error: too few arguments to function ‘lf_modifier_enable_distortion_correction’
  233 |                 lf_modifier_enable_distortion_correction(lensfun->modifier);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3091:15: note: declared here
 3091 | LF_EXPORT int lf_modifier_enable_distortion_correction (lfModifier *modifier, const lfLens* lens, float focal);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:234:83: warning: passing argument 2 of ‘lf_modifier_enable_projection_transform’ makes pointer from integer without a cast [-Wint-conversion]
  234 |                 lf_modifier_enable_projection_transform(lensfun->modifier, lensfun->target_geometry);
      |                                                                            ~~~~~~~^~~~~~~~~~~~~~~~~
      |                                                                                   |
      |                                                                                   int
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3102:41: note: expected ‘const lfLens *’ but argument is of type ‘int’
 3102 |     lfModifier *modifier, const lfLens* lens, float focal, lfLensType target_projection);
      |                           ~~~~~~~~~~~~~~^~~~
libavfilter/vf_lensfun.c:234:17: error: too few arguments to function ‘lf_modifier_enable_projection_transform’
  234 |                 lf_modifier_enable_projection_transform(lensfun->modifier, lensfun->target_geometry);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3101:17: note: declared here
 3101 | LF_EXPORT cbool lf_modifier_enable_projection_transform (
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_lensfun.c:238:17: error: too few arguments to function ‘lf_modifier_enable_tca_correction’
  238 |                 lf_modifier_enable_tca_correction(lensfun->modifier);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavfilter/vf_lensfun.c:40:
/usr/include/lensfun/lensfun.h:3094:15: note: declared here
 3094 | LF_EXPORT int lf_modifier_enable_tca_correction (lfModifier *modifier, const lfLens* lens, float focal);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [ffbuild/common.mak:67: libavfilter/vf_lensfun.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
error making: ffmpeg-intel-full-git

andykais commented on 2021-01-27 03:46 (UTC)

disregard my last comment. A full upgrade solved my issue

andykais commented on 2021-01-26 21:19 (UTC)

error with a clean build of this package:

==> Starting pkgver()...
==> Updated version: ffmpeg-intel-full-git 4.4.r100841.g199d9e705a-1
==> Sources are ready.
==> Making package: ffmpeg-intel-full-git 4.4.r100841.g199d9e705a-1 (Tue 26 Jan 2021 04:16:24 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
  -> Running ffmpeg configure script...
ERROR: rav1e >= 0.4.0 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
==> ERROR: A failure occurred in build().
    Aborting...
error making: ffmpeg-intel-full-git

arllk commented on 2020-10-20 04:36 (UTC)

@flolilo Thank, I forgot to update it, now is all updated with all the changes made by dbermond.

flolilo commented on 2020-10-20 01:17 (UTC) (edited on 2020-10-20 01:18 (UTC) by flolilo)

@Nact: As far as I understand, libwavpack was removed from ffmpeg (see http://www.ffmpeg-archive.org/Unknown-Option-quot-enable-libwavpack-quot-td4694305.html).

However, that alone does not solve the problem. I tried to delete all occurrences of libwavpack in all patch-files, but it still does not work:

==> Starting prepare()...
patching file libavfilter/vf_libvmaf.c
patching file configure
patch: **** malformed patch at line 41: @@ -3271,6 +3273,7 @@ libx264_encoder_select="atsc_a53"

So I tried to edit that...witch ffmpeg-full-git's PKGBUILD:

(I only copy-paste relevant lines)

source=('git+https://git.ffmpeg.org/ffmpeg.git'
        '010-ffmpeg-fix-vmaf-model-path.patch'
        "020-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/${_svt_hevc_ver}/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch"
        "030-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"
        "040-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/master/ffmpeg_plugin/master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch"
        'LICENSE')
sha256sums=('SKIP'
            'SKIP'
            'SKIP'
            'SKIP'
            '34e78efe063abc10707e47b4a3ba9d22955bfaf26d5670abb963d8f11f6b22b1'
            '04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36')

prepare() {
    rm -f ffmpeg/libavcodec/libsvt_{hevc,vp9}.c
    sed -i 's/general.texi/general_contents.texi/g' "030-ffmpeg-add-svt-hevc-docs-g${_svt_hevc_ver:0:7}.patch"
    patch -d ffmpeg -Np1 -i "${srcdir}/010-ffmpeg-fix-vmaf-model-path.patch"
    patch -d ffmpeg -Np1 -i "${srcdir}/020-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"
    patch -d ffmpeg -Np1 -i "${srcdir}/030-ffmpeg-add-svt-hevc-docs-g${_svt_hevc_ver:0:7}.patch"
    patch -d ffmpeg -Np1 -i "${srcdir}/040-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"

[... further below ...]

        --enable-libsvtvp9 \
        # --enable-libwavpack \
        --enable-libwebp \
}

This compiles, but I have yet to use it for more than ffmpeg -help. Note that this is a fast hack, especially the missing checksums are probably not a good idea.

Nact commented on 2020-10-03 02:17 (UTC) (edited on 2020-10-03 02:22 (UTC) by Nact)

Hunk fail here too but after a little googling I could fix it by adding the arguments

--ignore-whitespace --fuzz 3

to the patches in prepare()

But after that:

Unknown option "--enable-libwavpack".

So I needed to remove this option

multi.flexi commented on 2020-05-27 08:00 (UTC) (edited on 2020-05-27 08:50 (UTC) by multi.flexi)

I am getting this:

patching file libavformat/ivfenc.c
Hunk #1 succeeded at 81 (offset 18 lines).
Hunk #2 FAILED at 119.
1 out of 2 hunks FAILED -- saving rejects to file libavformat/ivfenc.c.rej
==> ERROR: A failure occurred in prepare().
Aborting...

No matter if I use yay or makepkg.

TO FIX change:

_svt_hevc_ver='1.4.3'
_svt_av1_ver='0.8.3'
_svt_vp9_ver='master'

and

"ffmpeg-full-git-add-svt-vp9-${_svt_vp9_ver}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/${_svt_vp9_ver}/ffmpeg_plugin/master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-hevc-av1.patch"

multi.flexi commented on 2020-04-23 08:55 (UTC) (edited on 2020-05-27 08:02 (UTC) by multi.flexi)

It did not work for me, issue with SVT-AV1. To fix it, add

sed -i 's/eb_init_handle/svt_av1_enc_init_handle/' "ffmpeg-full-git-add-svt-vp9-${_svt_vp9_ver}.patch"

to section with patches and change SVT-AV1 version to 0.8.2.