Updated.
Search Criteria
Package Details: ffmpeg-libfdk_aac 2:8.0.1-6
Package Actions
| 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, libswresample.so, libswscale.so |
| Submitter: | korrode |
| Maintainer: | zotan |
| Last Packager: | zotan |
| Votes: | 66 |
| Popularity: | 0.43 |
| First Submitted: | 2013-07-12 10:24 (UTC) |
| Last Updated: | 2026-02-14 16:23 (UTC) |
Dependencies (112)
- alsa-lib
- aom (aom-vmaf-gitAUR, aom-av1-lavish-gitAUR, aom-psy101-gitAUR, aom-gitAUR)
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- dav1d (dav1d-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR, freetype2-qdoled-gen3AUR)
- fribidi (fribidi-gitAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- glslang (glslang-gitAUR)
- gmp (gmp-hgAUR)
- gnutls (gnutls-gitAUR)
- gsm
- harfbuzz (harfbuzz-gitAUR)
- jackAUR (jack2-gitAUR, pipewire-jack-gitAUR, pipewire-full-jack-gitAUR, jack2, pipewire-jack)
- lame (lame-svnAUR, lame-altivecAUR)
- libass (libass-gitAUR)
- libass.so (libass-gitAUR, libass)
- libavc1394
- Show 92 more dependencies...
Required by (2171)
- 0wgram (requires ffmpeg)
- 2h4u (requires ffmpeg) (make)
- 3ncode-git (requires ffmpeg)
- 48tools (requires ffmpeg)
- 64gram-desktop (requires ffmpeg)
- aaxtomp3 (requires ffmpeg)
- aaxtomp3-git (requires ffmpeg)
- ab-av1 (requires ffmpeg)
- abyss-engine-git (requires ffmpeg)
- aconcat (requires ffmpeg)
- adlmidi (requires ffmpeg) (optional)
- adlmidi-git (requires ffmpeg) (optional)
- aegisub-arch1t3cht (requires ffmpeg)
- aegisub-arch1t3cht-git (requires ffmpeg)
- aegisub-arch1t3cht-qt5-git (requires ffmpeg)
- aegisub-arch1t3cht-xdg-git (requires ffmpeg)
- aegisub-japan7-git (requires ffmpeg)
- aigcpanel-git (requires ffmpeg)
- airsonic-advanced-git (requires ffmpeg) (optional)
- akkoma (requires ffmpeg) (optional)
- Show 2151 more...
Sources (4)
zotan commented on 2026-02-05 14:04 (UTC)
samb7986 commented on 2026-02-05 01:16 (UTC) (edited on 2026-02-05 01:19 (UTC) by samb7986)
There is a breaking change with SVT-AV1 causing new builds to fail. You need to get 0001-unbreak-svt-av1-4-build.patch from Arch FFMPEG sources, and update PKGBUILD accordingly. Builds and installs fine for me after.
$ cat PKGBUILD.patch
diff --git a/PKGBUILD b/PKGBUILD
index b4d94b3..5779d70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -125,10 +125,12 @@ source=(
git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=${_tag}
0001-Add-av_stream_get_first_dts-for-Chromium.patch
0001-unbreak-glslang-build.patch
+ 0001-unbreak-svt-av1-4-build.patch
)
b2sums=('0796d77c58d5db487ccda15454dadf129a6e0ae2a5a9cec562c86f2050b1e9314164c7f2dbf0a6c8cdae37dfd5e28f494d5ac248e970bc7f01b097100971fe8a'
'e5f7b79f7731be9ee5a7280a9221fb531ac5a2d9820fc5870b68b0eabea667dfbe8f39f41c1e1763a4c84982896afaa54c81ff57847d203b70afafd726689e5d'
- '650631d4f06dffec55bd6419f680d95617a9093d8e548b3dac0b379496477dcbd4121883128438343c568e992cb5b455efc0b7c4e34a5e7200518f9b5beaa231')
+ '650631d4f06dffec55bd6419f680d95617a9093d8e548b3dac0b379496477dcbd4121883128438343c568e992cb5b455efc0b7c4e34a5e7200518f9b5beaa231'
+ 'a004d7b7b021e82ae01e9fd171c4cd2901bb1348aafa8ec2256f38c967521cdb947c01b8b6872b6076fc0ee96bf296992abfecb5446a83eb8c052b976851948a')
validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <[email protected]>
prepare() {
@@ -139,6 +141,9 @@ prepare() {
# https://github.com/FFmpeg/FFmpeg/commit/f1e9032a2000b8b885cffd6fed8eacd47b37673f
git apply -3 ../0001-unbreak-glslang-build.patch
+
+ # https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/a5d4c398b411a00ac09d8fe3b66117222323844c
+ git apply -3 ../0001-unbreak-svt-av1-4-build.patch
}
pkgver() {
salfter commented on 2025-10-13 17:33 (UTC)
Replacing the libglslang with libshaderc in PKGBUILD worked for me. I'm not even going to pretend I know why
ffmpeg 8 adds Whisper for subtitle generation:
https://web.archive.org/web/20251002085956/https://ivo.palli.nl/2025/09/18/subtitles-using-ffmpeg/
I couldn't say for sure that this is the reason, but it's plausible. There are also some codecs that make more use of available GPUs for decoding and/or encoding.
zotan commented on 2025-10-13 11:49 (UTC)
Apologies for the delay, updated to 8.0-3, libglslang build errors should be resolved.
Wilfinity commented on 2025-10-13 09:25 (UTC) (edited on 2025-10-13 09:26 (UTC) by Wilfinity)
@salfter
Replacing the libglslang with libshaderc in PKGBUILD worked for me. I'm not even going to pretend I know why (wild guess would be transient dependencies), so ymmv.
$ git diff PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 7c2b826..30464b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -169,7 +169,7 @@ build() {
--enable-libdvdread \
--enable-libfreetype \
--enable-libfribidi \
- --enable-libglslang \
+ --enable-libshaderc \
--enable-libgsm \
--enable-libharfbuzz \
--enable-libiec61883 \
salfter commented on 2025-10-11 18:02 (UTC) (edited on 2025-10-11 18:42 (UTC) by salfter)
The current version is throwing this error when I try to build:
==> Starting prepare()...
Applied patch to 'libavformat/avformat.h' cleanly.
Applied patch to 'libavformat/mux_utils.c' cleanly.
==> Starting pkgver()...
==> Starting build()...
ERROR: spirv_compiler not found
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
[email protected] mailing list or IRC #ffmpeg on irc.libera.chat.
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: Build failed, check /var/lib/archbuild/extra-x86_64/salfter-1/build
This even occurs in a clean chroot.
spirv-tools is installed. Does it need spirv-tools-git instead?
Update: spirv-tools-git didn't fix the problem.
rAYz commented on 2025-10-08 17:50 (UTC) (edited on 2025-10-09 05:38 (UTC) by rAYz)
@zotan
it still doesnt work, stuck at the same place :(
i'll try to find a chance to reboot the whole system, thank you all the same :)
Update:
A system-wide rebooting does not help, and I can't recall any modification has been done since the last update of this package (except system update)
I have omitted the flag "--enable-librsvg", and the rest compiles successfully
zotan commented on 2025-10-08 17:40 (UTC)
@rAYz hm, that's really strange. what happens if you modify the PKGBUILD, replacing /usr/lib/mbedtls2/pkgconfig with /usr/lib/mbedtls2/pkgconfig:/usr/lib/pkgconfig?
rAYz commented on 2025-10-08 17:38 (UTC)
@zotan
rm -rf ~/.cache/yay/ffmpeg-libfdk_aac
this removes the entire folder, which contains the src and the pkg dirs, then
$ yay -S ffmpeg-libfdk_aac
AUR Explicit (1): ffmpeg-libfdk_aac-2:8.0-2
:: (1/1) Downloaded PKGBUILD: ffmpeg-libfdk_aac
1 ffmpeg-libfdk_aac (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
...
gets the same result log
zotan commented on 2025-10-08 17:26 (UTC)
@rAYz can you try rebuilding the package after clearing the srcdir & pkgdir? your logs show a non-clean build
Pinned Comments
BryanLiang commented on 2025-05-26 06:16 (UTC)
If you encounter dependency break when updating the system, you can try building the package in clean chroot and using a local repository to resolve this issue.