Package Details: ffmpeg-mmal 2:4.4-4

Git Clone URL: (read-only, click to copy)
Package Base: ffmpeg-mmal
Description: ffmpeg built with MMAL hardware acceleration support for Raspberry Pi
Upstream URL:
Licenses: GPL3
Conflicts: ffmpeg
Provides: ffmpeg,,,,,,,,
Submitter: fmang
Maintainer: fmang
Last Packager: fmang
Votes: 12
Popularity: 0.65
First Submitted: 2016-09-14 09:46
Last Updated: 2021-06-26 14:18

Dependencies (59)

Required by (1000)

Sources (2)

Pinned Comments

fmang commented on 2020-06-12 11:24

General comment for users that get this x265 error when upgrading their system:

installing x265 (3.4-1) breaks dependency '' required by ffmpeg-mmal

Long story short, the simple solution is to remove ffmpeg-mmal, upgrade the system, then rebuild ffmpeg-mmal again.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

JimmyZ commented on 2018-07-16 19:10

I'd recommend adding -j4 to the make command if you're building it on RPi2/3, speed things up dramatically.

Also I tried 4.0.1, seems to be working.

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 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:

@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 ''


$ pacman -Qi x265

Name : x265 Version : 2.7-1 Description : Open Source H265/HEVC video encoder Architecture : armv7h URL : Licenses : GPL Groups : None Provides : 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 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


$ 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 : Licenses : GPL3 Groups : None Provides : 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 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.