Package Details: ffmpeg-libfdk_aac 1:3.4-4

Git Clone URL: https://aur.archlinux.org/ffmpeg-libfdk_aac.git (read-only)
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: http://ffmpeg.org/
Licenses: GPL3, custom:libfdk-aac
Conflicts: ffmpeg
Provides: ffmpeg=3.4, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavresample.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: korrode
Maintainer: bwidawsk
Last Packager: bwidawsk
Votes: 40
Popularity: 0.610036
First Submitted: 2013-07-12 10:24
Last Updated: 2017-11-22 16:59

Dependencies (48)

Required by (771)

Sources (3)

Latest Comments

wookietreiber commented on 2017-10-13 12:21

I found the reason for my previously posted build error:

```
/usr/bin/ld: /tmp/ccBJEF8M.ltrans6.ltrans.o: relocation R_X86_64_PC32 against undefined symbol `bF8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [library.mak:94: libswscale/libswscale.so.4] Error 1
```

This package does not compile with LTO. Does anyone else have this experience?

These are my flags:

```bash
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -mfpmath=sse -O2 -flto -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -mfpmath=sse -O2 -flto -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-flto -Wl,-O1,--sort-common,--as-needed,-z,relro"
```

When I remove the `-flto` flags, it compiles just fine.

Maybe, if others also have these problems, it would be worth to remove `-flto` in `PKGBUILD`.

Martchus commented on 2017-08-16 16:58

Likely this package also needs ffmpeg-openjpeg2.2.patch, see https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ffmpeg

Martchus commented on 2017-08-14 18:28

@wookietreiber Is your build environment up-to-date? Might be related to https://www.archlinux.org/todo/pie-rebuild.

wookietreiber commented on 2017-08-14 18:18

hi, getting build error:

/usr/bin/ld: /tmp/ccl0iIfC.ltrans6.ltrans.o: relocation R_X86_64_PC32 against undefined symbol `bF8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [library.mak:94: libswscale/libswscale.so.4] Error 1

any help appreciated

gourdcaptain commented on 2017-08-14 00:32

This has a build dependency on hardening-wrapper, which is no longer available in the official or AUR Repoes.

Batou commented on 2017-04-29 04:12

@bwidawsk: Thank you for the info and hard work you put into maintaining this package! Hope things stabilize soon so I can switch back.

bwidawsk commented on 2017-04-28 18:12

@Batou: blame x265. All packages relying on x265 should have the same problem.

Batou commented on 2017-04-28 15:25

@imdn: thank you so much! I did just that. I encode all the time using h.264 and AAC but this package is just not that well suited for system-wide use.

imdn commented on 2017-04-28 12:24

Another dependency update, another breakage. Sadly this seems to be the norm for users of this package.

@Batou this is how I resolved it:

1) Replace this with the default ffmpeg (incl. ffmpeg2.8 if you have vlc installed)
# pacman -S ffmpeg ffmpeg2.8

2) Update your system
# pacman -Syu

3) Build ffmpeg-libfdk_aac with clean chroot method (https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot)
Note: At this point, you should also be able to build and install normally from the PKGBUILD or using helpers like yaourt. I just prefer the clean chroot method

4) Install (replaces default ffmpeg with this package)
# pacman -U ffmpeg-libfdk_aac-1:3.3-1-x86_64.pkg.tar.xz

Batou commented on 2017-04-28 05:22

Hmm... not sure how to resolve this one. Anyone have some ideas?

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg-libfdk_aac: installing x265 (2.4-1) breaks dependency 'libx265.so=110-64'

All comments