Package Details: lib32-ffmpeg 1:3.2.2-1

Git Clone URL: https://aur.archlinux.org/lib32-ffmpeg.git (read-only)
Package Base: lib32-ffmpeg
Description: Complete solution to record, convert and stream audio and video (32 bit)
Upstream URL: http://ffmpeg.org/
Licenses: GPL3
Provides: libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavresample.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: lano1106
Maintainer: oxalin
Last Packager: oxalin
Votes: 17
Popularity: 1.694753
First Submitted: 2013-05-18 04:43
Last Updated: 2017-01-08 05:59

Required by (42)

Sources (2)

Latest Comments

slyscorpion commented on 2017-01-08 06:07

@oxalin

Have you taken a look at DistroWatch's RSS feed? They usually post an update to ffmpeg although I am not sure if it's possible to filter out notifications...

slyscorpion commented on 2017-01-08 06:04

@oxalin

Thanks for the tip on the keys :)

oxalin commented on 2017-01-08 05:58

@slyscorpion: it is up to you to import the missing public key. This is ffmpeg's project public key. Something like the following should do the trick:
gpg --keyserver x-hkp://pool.sks-keyservers.net --recv-keys B4322F04D67658D8

On another subject, I'm updating the package to 3.2.2. I still need to figure out a way to be notified from new releases automatically. The ffmpeg's RSS is unreliable.

slyscorpion commented on 2017-01-08 00:59

This package fails to build due to PGP signature issues:

==> Validating source files with sha256sums...
ffmpeg-3.2.1.tar.bz2 ... Passed
ffmpeg-3.2.1.tar.bz2.asc ... Skipped
==> Verifying source file signatures with gpg...
ffmpeg-3.2.1.tar.bz2 ... FAILED (unknown public key B4322F04D67658D8)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build lib32-ffmpeg.

oxalin commented on 2016-10-23 22:27

Thanks JonnyJD.

Patch was first included, and then removed since the dev group released 3.1.5 which already includes the openjpeg2 patch. Sorry for the noise.

To be noted: SDL support will be dropped in the next release in favor of SDL2. Stay tuned.

JonnyJD commented on 2016-10-23 11:45

Sorry, I don't have time to maintain the package, currently.

I made oxalin the new maintainer (the notification mail is wrong, I disowned).

oxalin commented on 2016-10-21 19:25

@versusvoid
It could be added, but that would be up to @JonnyJD to do.

versusvoid commented on 2016-09-22 05:21

@oxalin
Adding lib32-openjpeg2 to `depends` also wouldn't be a bad thing.

oxalin commented on 2016-08-31 22:54

@Enverex, there is another (new) known bug about undefinded references to openjpegenc.o after a recent change in the static openjpeg2 library... Briefly, it comes to "The FFmpeg code was setting OPJ_STATIC, and in master, OPJ_STATIC sets API method visibility to hidden (because it is a static build, so visibility not needed)."
See https://trac.ffmpeg.org/ticket/5694

The next ffmpeg release should contain the following fix: https://trac.ffmpeg.org/raw-attachment/ticket/5694/ffmpeg_opj2.patch

@JonnyJD
Meanwhile, maybe we would be better to add and apply that patch to the current package.
Proposed patch to PKGBUILD
---
diff --git a/PKGBUILD b/PKGBUILD
index 00b74d4..a190490 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,14 +35,23 @@ provides=(
'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so'
'libswscale.so'
)
-source=(http://ffmpeg.org/releases/$_pkgbasename-$pkgver.tar.bz2{,.asc})
+source=(
+ "http://ffmpeg.org/releases/$_pkgbasename-$pkgver.tar.bz2"{,.asc}
+ "https://trac.ffmpeg.org/raw-attachment/ticket/5694/ffmpeg_opj2.patch"
+)
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
-sha256sums=('58bc89c65dd114d874efbf76f76368d03b5e407f0a3f42d5b40801c280968a38'
- 'SKIP')
+sha256sums=(
+ '58bc89c65dd114d874efbf76f76368d03b5e407f0a3f42d5b40801c280968a38'
+ 'SKIP'
+ 'SKIP'
+)

build() {
cd ${_pkgbasename}-${pkgver}

+ # Patching FFMPEG to compile againt a change in OpenJPEG2 static library until this patch is integrated in next release
+ patch -p1 < ../ffmpeg_opj2.patch
+
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

./configure \
---

To fix building against libopenjpeg2, you need both the 32 bit library AND the patch (for now).

Enverex commented on 2016-08-16 13:23

@JonnyJD - Just an FYI, installing lib32-openjpeg2 doesn't fix lib32-ffmpeg failing to build (with the /usr/bin/ld: libavcodec/libavcodec.so.57: hidden symbol `opj_setup_decoder' isn't defined error).

Removing openjpeg2 is the only way to have the build complete (doing an -Rdd then reinstalling it after this is built seems to be the easiest way to get around it).

All comments