Package Details: ffmpeg-libfdk_aac 2:7.1-2

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.046343
First Submitted: 2013-07-12 10:24 (UTC)
Last Updated: 2024-11-07 21:00 (UTC)

Required by (1921)

Sources (2)

Latest Comments

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

MarsSeed commented on 2024-02-16 13:12 (UTC)

As this package is not actively maintained, I'd like to recommend alternatives that also support libfdk-aac:

sindex commented on 2024-02-16 02:39 (UTC)

version 6.1.1:

--- PKGBUILD    2024-02-16 04:29:36.058066038 +0200
+++ PKGBUILD    2024-02-15 05:37:26.532395213 +0200
@@ -1,6 +1,4 @@
-# Maintainer: Ben Widawsky <ben@bwidawsk.net>
-# Contributor: Rob McCathie <korrode at gmail>
-# Contributor: Maxime Gauduin <alucryd@archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
 # Contributor: Ionut Biru <ibiru@archlinux.org>
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
@@ -8,19 +6,21 @@

 _name=ffmpeg
 pkgname=ffmpeg-libfdk_aac
-pkgver=6.0
-pkgrel=3
-epoch=1
+pkgver=6.1.1
+pkgrel=1
 pkgdesc='Complete solution to record, convert and stream audio and video (Same as official package except with libfdk-aac support)'
 arch=(x86_64)
-url=https://ffmpeg.org/
+url=https://ffmpeg.org
 license=(GPL3 custom:libfdk-aac)
 depends=(
   alsa-lib
   aom
   bzip2
+  cairo
   fontconfig
   fribidi
+  glib2
+  glibc
   gmp
 # gnutls - https://aur.archlinux.org/packages/ffmpeg-libfdk_aac/#comment-722966
   gsm
@@ -34,14 +34,17 @@
   libdrm
   libfreetype.so
   libgl
+  libharfbuzz.so
   libiec61883
   libjxl.so
   libmodplug
   libopenmpt.so
+  libplacebo.so
   libpulse
   librav1e.so
   libraw1394
   librsvg-2.so
+  librubberband.so
   libsoxr
   libssh
   libtheora
@@ -53,6 +56,7 @@
   libvorbisenc.so
   libvorbis.so
   libvpx.so
+  libvulkan.so
   libwebp
   libx11
   libx264.so
@@ -70,10 +74,12 @@
   openssl # https://aur.archlinux.org/packages/ffmpeg-libfdk_aac/#comment-722966
   opus
   sdl2
+  snappy
   speex
   srt
   svt-av1
   v4l-utils
+  vapoursynth
   vmaf
   vulkan-icd-loader
   xz
@@ -85,6 +91,7 @@
   avisynthplus
   clang
   ffnvcodec-headers
+  frei0r-plugins
   git
   ladspa
   mesa
@@ -94,10 +101,11 @@
 )
 optdepends=(
   'avisynthplus: AviSynthPlus support'
-  'intel-media-sdk: Intel QuickSync support'
-  'onevpl-intel-gpu: Intel QuickSync support'
+  'frei0r-plugins: Frei0r video effects support'
+  'intel-media-sdk: Intel QuickSync support (legacy)'
   'ladspa: LADSPA filters'
   'nvidia-utils: Nvidia NVDEC/NVENC support'
+  'onevpl-intel-gpu: Intel QuickSync support'
 )
 provides=(
   libavcodec.so
@@ -114,7 +122,7 @@
   debug
 )
 conflicts=("$_name")
-_tag=3949db4d261748a9f34358a388ee255ad1a7f0c0
+_tag=6f4048827982a8f48f71f551a6e1ed2362816eec
 source=(
   git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=${_tag}
   add-av_stream_get_first_dts-for-chromium.patch
@@ -133,6 +141,11 @@
   # use non-deprecated nvenc GUID for conftest
   git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f
   git cherry-pick -n d2b46c1ef768bc31ba9180f6d469d5b8be677500
+  # Fix VDPAU vo
+  git cherry-pick -n e9c93009fc34ca9dfcf0c6f2ed90ef1df298abf7
+  # Fix bug in av_fft_end
+  git cherry-pick -n a562cfee2e214252f8b3f516527272ae32ef9532
+  git cherry-pick -n 250471ea1745fc703eb346a2a662304536a311b1
 }

 pkgver() {
@@ -152,6 +165,7 @@
     --enable-cuda-llvm \
     --enable-lto \
     --enable-fontconfig \
+    --enable-frei0r \
     --enable-gmp \
     --enable-gpl \
     --enable-ladspa \
@@ -164,6 +178,7 @@
     --enable-libfreetype \
     --enable-libfribidi \
     --enable-libgsm \
+    --enable-libharfbuzz \
     --enable-libiec61883 \
     --enable-libjack \
     --enable-libjxl \
@@ -174,9 +189,12 @@
     --enable-libopenjpeg \
     --enable-libopenmpt \
     --enable-libopus \
+    --enable-libplacebo \
     --enable-libpulse \
     --enable-librav1e \
     --enable-librsvg \
+    --enable-librubberband \
+    --enable-libsnappy \
     --enable-libsoxr \
     --enable-libspeex \
     --enable-libsrt \
@@ -202,12 +220,11 @@
     --enable-opengl \
     --enable-openssl \
     --enable-shared \
-    --enable-vaapi \
+    --enable-vapoursynth \
     --enable-version3 \
     --enable-vulkan \
     --enable-libfdk_aac \
-    --enable-nonfree \
-    --disable-htmlpages
+    --enable-nonfree
 #   --enable-gnutls  https://aur.archlinux.org/packages/ffmpeg-libfdk_aac/#comment-722966

   make

LudwigJ commented on 2024-01-22 13:01 (UTC)

Has this package been abandoned?

evilscientress commented on 2023-10-18 20:14 (UTC)

In addition to the commits mentioned by sindex the package also needs the following two commits otherwise building nvenc support fails in the configure phase.

diff --git a/PKGBUILD b/PKGBUILD
index ba4ca37..5d879e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
 _name=ffmpeg
 pkgname=ffmpeg-libfdk_aac
 pkgver=6.0
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc='Complete solution to record, convert and stream audio and video (Same as official package except with libfdk-aac support)'
 arch=(x86_64)
@@ -124,6 +124,17 @@ validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <m

 prepare() {
   cd ffmpeg
+
+  ## FS#79281: fix assembling with binutil as >= 2.41
+  git cherry-pick -n effadce6c756247ea8bae32dc13bb3e6f464f0eb
+
+  ## FS#77813: fix playing ogg files with mplayer
+  git cherry-pick -n cbcc817353a019da4332ad43deb7bbc4e695d02a
+
+  ## use non-deprecated nvenc GUID for conftest
+  git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f
+  git cherry-pick -n d2b46c1ef768bc31ba9180f6d469d5b8be677500
+
   patch -Np1 -i ../add-av_stream_get_first_dts-for-chromium.patch # https://crbug.com/1251779
 }

sindex commented on 2023-10-11 02:04 (UTC) (edited on 2023-10-11 02:14 (UTC) by sindex)

The package is out of date, please update it:

diff --git a/PKGBUILD b/PKGBUILD
index ba4ca37..09e4927 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
 _name=ffmpeg
 pkgname=ffmpeg-libfdk_aac
 pkgver=6.0
-pkgrel=2
+pkgrel=11
 epoch=1
 pkgdesc='Complete solution to record, convert and stream audio and video (Same as official package except with libfdk-aac support)'
 arch=(x86_64)
@@ -124,6 +124,11 @@ validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <m

 prepare() {
   cd ffmpeg
+  # FS#79281: fix assembling with binutil as >= 2.41
+  git cherry-pick -n effadce6c756247ea8bae32dc13bb3e6f464f0eb
+  # FS#77813: fix playing ogg files with mplayer
+  git cherry-pick -n cbcc817353a019da4332ad43deb7bbc4e695d02a
+
   patch -Np1 -i ../add-av_stream_get_first_dts-for-chromium.patch # https://crbug.com/1251779
 }

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