Package Details: ffmpeg-mmal 1:4.0-2

Git Clone URL: https://aur.archlinux.org/ffmpeg-mmal.git (read-only)
Package Base: ffmpeg-mmal
Description: ffmpeg built with MMAL hardware acceleration support for Raspberry Pi
Upstream URL: http://ffmpeg.org/
Licenses: GPL3
Conflicts: ffmpeg
Provides: ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavresample.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: fmang
Maintainer: fmang
Last Packager: fmang
Votes: 7
Popularity: 0.939645
First Submitted: 2016-09-14 09:46
Last Updated: 2018-06-01 01:40

Dependencies (51)

Required by (754)

Sources (2)

Latest Comments

chenmah commented on 2018-06-14 21:40

I rolled back mpv-rpi to the last working version as you suggested in another thread. But then it is forced to software rendering. It seems that ffmpeg-mmal is not working? Or am I missing something?

I am running the latest ffmpeg-mmal.

[vo/rpi] Could not get DISPMANX objects. [vo/opengl] Could not get DISPMANX objects. [vo/opengl] Suspected software renderer or indirect context. Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared obje [vo/vdpau] Error when calling vdp_device_create_x11: 1 [vo/xv] No Xvideo support found. [vaapi] libva: va_getDriverName() failed with unknown libva error,driver [vaapi] vaInitialize(): unknown libva error [vo/x11] Warning: this legacy VO has bad performance. Consider fixing yo

fmang commented on 2018-06-01 01:47

Increased the PKGBUILD to force linking against the new incompatible x265 version, following @rpi2's advice. That probably explains why AUR helpers didn't rebuild it. Related: https://bbs.archlinux.org/viewtopic.php?id=147057

@chenmah Actually, you could also install the upstream ffmpeg package, as it replaces ffmpeg-mmal without removing the packages that depend on it, then make your update, and rebuild ffmpeg-mmal after the update.

In general, you do need to rebuild a software every time a library it depends on breaks its binary compatibility. Luckily, this doesn't happen too often with the most important system libs.

rpi2 commented on 2018-06-01 01:26

why not set pkgrel=2 ?

chenmah commented on 2018-05-30 22:42

One more question.

Sometimes I also use AUR helper programs like packer, instead of git clone from aur then makepkg -si. I assume packer -Syu will also update the aur packages, right? In fact, last time I run packer -Syu, it recompiles ffmpeg-mmal, but still didnt' get it right with x265.

What is the problem in this particular case?

chenmah commented on 2018-05-30 22:24

OK. Thanks for the suggestion. Just try to understand the whole thing. Does it mean I have to manually repeat this process everytime there is an update of its dependencies?

Quite a few softwares depend on ffmpeg. For instance, in my sytem, pacman -Rc ffmpeg-mmal will also remove firefox, opencv, mpv, mplayer etc. They also need to be manually reinstalled after recompiling ffmpeg-mmal.

Is there anything special in this case which prevents resolving dependency automatically?

fmang commented on 2018-05-29 23:34

@chenmah You need to install the new x265 before compiling ffmpeg-mmal.

In other words: 1. pacman -Rc ffmpeg-mmal, 2. pacman -Su, 3. rebuild ffmpeg-mmal

chenmah commented on 2018-05-29 22:24

I am running 32bit archlinux arm on a raspberry pi 3. I got the following error message when trying to do a system update. I already pulled the latest source from aur and recompiled ffmpeg-mmal. What is the correct way to solve this problem?

:: ffmpeg-mmal: installing x265 (2.8-1) breaks dependency 'libx265.so=151-32'

<hr>

$ pacman -Qi x265

Name : x265 Version : 2.7-1 Description : Open Source H265/HEVC video encoder Architecture : armv7h URL : https://bitbucket.org/multicoreware/x265 Licenses : GPL Groups : None Provides : libx265.so=151-32 Depends On : gcc-libs Optional Deps : None Required By : ffmpeg-mmal Optional For : None Conflicts With : None Replaces : None Installed Size : 2.33 MiB Packager : Arch Linux ARM Build System builder+xu8@archlinuxarm.org Build Date : Fri 09 Mar 2018 08:12:14 PM CET Install Date : Sun 11 Mar 2018 08:53:45 AM CET Install Reason : Installed as a dependency for another package Install Script : No Validated By : SHA-256 Sum

<hr>

$ pacman -Qi ffmpeg-mmal

Name : ffmpeg-mmal Version : 1:4.0-1 Description : ffmpeg built with MMAL hardware acceleration support for Raspberry Pi Architecture : armv7h URL : http://ffmpeg.org/ Licenses : GPL3 Groups : None Provides : libavcodec.so=58-32 libavdevice.so=58-32 libavfilter.so=7-32 libavformat.so=58-32 libavresample.so=4-32 libavutil.so=56-32 libpostproc.so=55-32 libswresample.so=3-32 libswscale.so=5-32 ffmpeg Depends On : alsa-lib bzip2 fontconfig fribidi glibc gmp gnutls gsm lame libavc1394 libdrm libiec61883 libmodplug libomxil-bellagio libpulse libraw1394 libsoxr libssh libtheora libvdpau libwebp libx11 libxcb libxext libxml2 libxv opencore-amr openjpeg2 opus sdl2 speex v4l-utils xz zlib libass.so=9-32 libbluray.so=2-32 libfreetype.so=6-32 libva-drm.so=2-32 libva.so=2-32 libva-x11.so=2-32 libvidstab.so=1.1-32 libvorbisenc.so=2-32 libvorbis.so=0-32 libvpx.so=5-32 libx264.so=152-32 libx265.so=151-32 libxvidcore.so=4-32 raspberrypi-firmware Optional Deps : ladspa: LADSPA filters [installed] Required By : ffmpegthumbnailer firefox mplayer mpv-rpi xine-lib Optional For : youtube-dl Conflicts With : ffmpeg Replaces : None Installed Size : 24.20 MiB Packager : Unknown Packager Build Date : Wed 30 May 2018 12:04:52 AM CEST Install Date : Wed 30 May 2018 12:09:01 AM CEST Install Reason : Explicitly installed Install Script : No Validated By : None

fmang commented on 2018-02-12 19:57

Updated to ffmpeg 3.4.2.

I've noticed that the upstream PKGBUILD adds --enable-omx, so I also added --enable-omx-rpi on top of it.

fmang commented on 2018-01-30 19:34

@nagual You need to uninstall ffmpeg-mmal, upgrade your system, then rebuild it.

With dynamic linking, when you upgrade a library, you need to rebuild the applications that depend on it. Maybe a pacman wrapper like yaourt would rebuild it for you, but otherwise you have to uninstall the conflicting AUR packages yourself and reinstall them.

nagual commented on 2018-01-29 22:48

Today when I try to upgrade the system i get: :: ffmpeg-mmal: installing libx264 (2:152.20171224-1) breaks dependency 'libx264.so=148-32' :: ffmpeg-mmal: installing x265 (2.6-1) breaks dependency 'libx265.so=130-32' Any idea?

All comments