Package Details: ffmpeg-libfdk_aac 2:7.1-9

Git Clone URL: https://aur.archlinux.org/ffmpeg-libfdk_aac.git (read-only, click to copy)
Package Base: ffmpeg-libfdk_aac
Description: Complete solution to record, convert and stream audio and video (Same as official package except with libfdk-aac support)
Upstream URL: https://ffmpeg.org
Licenses: custom:libfdk-aac, GPL-3.0-only
Conflicts: ffmpeg
Provides: ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: korrode
Maintainer: zotan
Last Packager: zotan
Votes: 65
Popularity: 0.003046
First Submitted: 2013-07-12 10:24 (UTC)
Last Updated: 2025-04-05 14:09 (UTC)

Dependencies (112)

Required by (1950)

Sources (4)

Latest Comments

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

Sonico98 commented on 2023-10-07 02:37 (UTC)

In order to compile, the PKGBUILD has to be modified to cherry-pick a commit that fixes building with binutil versions >= 2.41. Modify the prepare() function to look like this:

prepare() {
   cd ffmpeg
   git cherry-pick -n effadce6c756247ea8bae32dc13bb3e6f464f0eb # Fix assembling with binutil as >= 2.41
   patch -Np1 -i ../add-av_stream_get_first_dts-for-chromium.patch # https://crbug.com/1251779
 }

Thanks to Extension-Prompt for providing the solution.

korimitsu commented on 2023-10-06 19:36 (UTC)

Fails to build:

GEN     libswresample/libswresample.ver
LD      libswresample/libswresample.so.4
LD      libavcodec/libavcodec.so.60
lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
libavcodec/x86/mathops.h: Assembler messages:
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [ffbuild/library.mak:119: libavcodec/libavcodec.so.60] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'ffmpeg-libfdk_aac-1:6.0-2': 
error: packages failed to build: ffmpeg-libfdk_aac-1:6

riaqn commented on 2023-09-30 18:02 (UTC)

Folks: just use ffmpeg-full instead - it contains libfdk_acc as well.

wustdsh commented on 2023-09-30 13:34 (UTC)

Can't be built with Error: operand type mismatch for `shr'

bionade24 commented on 2023-09-05 09:01 (UTC)

I get a build error regarding inline assembly when building in in a clean environment:

libswscale/x86/swscale.c:323:1: warning: type of ‘ff_nv12ToUV_avx’ does not match original declaration [-Wlto-type-mismatch]
323 | INPUT_FUNCS(avx);
| ^
libswscale/x86/rgb2rgb_template.c:1821:6: note: type mismatch in parameter 8
1821 | void RENAME(ff_nv12ToUV)(uint8_t *dstU, uint8_t *dstV,
| ^
libswscale/x86/rgb2rgb_template.c:1821:6: note: ‘ff_nv12ToUV_avx’ was previously declared here
libswscale/x86/swscale.c:321:1: warning: type of ‘ff_nv12ToUV_sse2’ does not match original declaration [-Wlto-type-mismatch]
321 | INPUT_FUNCS(sse2);
| ^
libswscale/x86/rgb2rgb_template.c:1821:6: note: type mismatch in parameter 8
1821 | void RENAME(ff_nv12ToUV)(uint8_t *dstU, uint8_t *dstV,
| ^
libswscale/x86/rgb2rgb_template.c:1821:6: note: ‘ff_nv12ToUV_sse2’ was previously declared here
LD libavcodec/libavcodec.so.60
libavcodec/x86/mathops.h: Assembler messages:
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:116: Error: operand type mismatch for `sar'

Full build log: https://abs-cd.oscloud.info/cd_manager/ffmpeg-libfdk_aac

TuxBunny commented on 2023-08-26 03:30 (UTC)

I am getting this error when trying to install this package, I think it's looking for an older version of this dependency then the one that is in the repos.

warning: cannot resolve "libvidstab.so=1.1-64", a dependency of "ffmpeg- libfdk_aac"

The following package cannot be upgraded due to unresolvable dependencies: ffmpeg-libfdk_aac

graysky commented on 2023-08-02 19:34 (UTC)

https://aur.archlinux.org/cgit/aur.git/commit/?h=kodi-git&id=ed01fabc96ccf8e1b0656c962cbecdc9b0fe32a1

Extension-Prompt commented on 2023-08-02 18:35 (UTC) (edited on 2023-08-02 19:05 (UTC) by Extension-Prompt)

Package fails to build after installing the latest gcc package

Was able to successfully build a few days ago, but build fails after a full system upgrade that I did earlier today

However, ffmpeg-git from the AUR builds successfully so maybe it's already fixed upstream?

I get this error 383 times:

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

No such errors occur in ffmpeg-git from the AUR

This is a copy-paste from my bug report of the official ffmpeg package because the exact same errors occur there & in this AUR package

Diff from loqs that fixes this problem:

https://bugs.archlinux.org/task/79281#comment219982

Deiki commented on 2023-06-22 22:57 (UTC) (edited on 2023-06-22 23:03 (UTC) by Deiki)

Fails the verification of ffmpeg git repo's PGP signature

==> Receiving the sources...
  -> Updating ffmpeg from git repository...
  -> add-av_stream_get_first_dts-for-chromium.patch has been found
==> Validating the source files with b2sums...
    ffmpeg ... Skipped
    add-av_stream_get_first_dts-for-chromium.patch ... Passed
==> Verifying source signatures with gpg...
    ffmpeg git repo ... HAS FAILED (unknown public key B18E8928B3948D64)
==> ERROR: Could not verify any of the PGP signatures!

To anyone, pass --skippgpcheck option to skip this check and build anyway.