Package Details: ffmpeg-intel-full-git 6.1.r110779.g82278e8749-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: fbrennan
Last Packager: fbrennan
Votes: 10
Popularity: 0.015520
First Submitted: 2019-12-09 20:07 (UTC)
Last Updated: 2023-05-26 07:13 (UTC)

Dependencies (109)

Required by (1825)

Sources (8)

Latest Comments

« First ‹ Previous 1 2 3

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.