Package Details: ffmpeg-git 7.2.r117638.g153a6dc8fa-1

Git Clone URL: https://aur.archlinux.org/ffmpeg-git.git (read-only, click to copy)
Package Base: ffmpeg-git
Description: Complete solution to record, convert and stream audio and video (git version)
Upstream URL: https://www.ffmpeg.org/
Keywords: audio codec convert encoder ffmpeg media vaapi video
Licenses: GPL-3.0-or-later
Conflicts: ffmpeg
Provides: ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: DrZaius
Maintainer: dbermond
Last Packager: dbermond
Votes: 73
Popularity: 0.22
First Submitted: 2011-01-17 22:00 (UTC)
Last Updated: 2024-10-24 20:29 (UTC)

Required by (1915)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 24 Next › Last »

shrigma commented on 2023-09-04 22:31 (UTC)

Any ideas?

ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'ff_tx_tab_256_float'; recompile with -fPIC
>>> defined in libavutil/x86/tx_float.o
>>> referenced by libavutil/x86/tx_float.asm
>>>               libavutil/x86/tx_float.o:(.text+0x2BF3)

ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'ff_tx_tab_512_float'; recompile with -fPIC
>>> defined in libavutil/x86/tx_float.o
>>> referenced by libavutil/x86/tx_float.asm
>>>               libavutil/x86/tx_float.o:(.text+0x36DC)

ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'ff_tx_tab_512_float'; recompile with -fPIC
>>> defined in libavutil/x86/tx_float.o
>>> referenced by libavutil/x86/tx_float.asm
>>>               libavutil/x86/tx_float.o:(.text+0x36E3)

ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
collect2: error: ld returned 1 exit status
make: *** [ffbuild/library.mak:119: libavutil/libavutil.so.58] Error 1

dbermond commented on 2023-09-02 13:19 (UTC)

@hrehfeld This is impossible in VCS (-git) packages, as the soname versions can change at any upstream commit, and pkgver is automatically produced.

hrehfeld commented on 2023-09-02 13:13 (UTC) (edited on 2023-09-02 13:14 (UTC) by hrehfeld)

Can you provide including versions? Packages like mpv-full that require certain versions of lib* that only ffmpeg-git provides could then depend on just ffmpeg and e.g. libavutil.so>=58.11.100

provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
          'libavutil.so' 'libpostproc.so' 'libswscale.so' 'libswresample.so'

See https://aur.archlinux.org/packages/mpv-full?all_deps=1#comment-931987

Or is this somehow not possible? https://wiki.archlinux.org/title/PKGBUILD#depends

Or is this somehow not possible? https://wiki.archlinux.org/title/PKGBUILD#depends

dbermond commented on 2023-08-12 16:21 (UTC)

@kernkraft This is not needed, as the fix for this issue is already present in ffmpeg git master. At the time of writing, users building ffmpeg-git are not supposed to experience this issue. If you are getting this error, then you probably have some problem with your ffmpeg git checkout.

kernkraft commented on 2023-08-12 14:50 (UTC)

If you are getting the 'Error: operand type mismatch for `shr'' error, inserting "--disable-asm" in the PKGBUILD in the ./configure section starting at line 157 fixed it for me.

dbermond commented on 2023-07-10 15:26 (UTC) (edited on 2023-07-10 15:26 (UTC) by dbermond)

@esche patch, which is needed only at build time, is a dependency of the base-devel package. The base-devel package is a pre-requisite for building packages with makepkg and is assumed to be installed. Dependencies of the base-devel package should not be included in the makedepends and checkdepends arrays of the PKGBUILD.

esche commented on 2023-07-10 11:39 (UTC)

https://archlinux.org/packages/core/x86_64/patch/ is missing as make dependencie. The patch command is used in the PKGBUILD

dbermond commented on 2023-06-20 01:48 (UTC)

@ms178 I have no problems. Package is currently building fine.

ms178 commented on 2023-05-01 23:44 (UTC) (edited on 2023-05-03 10:16 (UTC) by ms178)

Has anyone else seen the following error when compiling ffmpeg/ffmpeg-git with the new GCC 13.1.1? Any tips to workaround it would be appreciated.

./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'

Update: To answer my own question, disabling inline assembly works around it.

abouvier commented on 2022-12-27 16:07 (UTC)

Can you add provides=("ffmpeg=2:$pkgver") to match the version of extra/ffmpeg? This will allow other packages to pull this package when using version constraint like makedepends=('ffmpeg>=2:4.3.1').