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 »

fmang commented on 2019-03-31 19:36

@etognoni Neon might not be available on all Raspberry Pi versions, and I wouldn’t like to break compatibility for that. Besides, MMAL relays the decoding process to a dedicated chip, so I don’t think Neon is worth enabling anyway, though it could still be a nice to have. If you know a good flag combination I might as well try it, but otherwise I don’t think I’ll have the time to look further into that now.

etognoni commented on 2019-03-26 15:05

@fmang i added to the ./configure --enable-neon (on ffmpeg-mmal)

before x264-git needs 'armv7h' in arch=('i686' 'x86_64')

result is this, probably not optimized but it works. [libx264 @ 0x9c1990] using SAR=64/45 [libx264 @ 0x9c1990] using cpu capabilities: ARMv6 NEON

fmang commented on 2019-03-02 20:56

Oops. Somehow I missed the out-of-date notification, sorry. I'll push the new PKGBUILD as soon as I confirm it builds.

Dark-Sky commented on 2019-02-28 18:24

Flagged out of date by someone:

If you change pkgver=4.0.2 to pkgver=4.1.1 in PKGBUID it will go and get the current ffmpeg version that is arch's repo and compile it just fine and his mpv-rpi will compile and work with it also.

Dark-Sky commented on 2018-08-23 05:12


libdrm.pc was there. I had reinstalled libdrm but do not know if I completely removed it and reinstalled. I removed it and re-installed. It compiled just fine. I noticed you had updated today and it pulled in yasm that I did not have installed; do not know if that had anything to do with it or not.

Thank you for your work maintaining this package.

rpi2 commented on 2018-08-23 03:28

so, now ffmprg-mmal-git? and, how to deal with perl annoy?

fmang commented on 2018-08-23 02:00

Updated the package to 4.0.2, following the upstream PKGBUILD.

@Dark-Sky Ensure the file /usr/lib/pkgconfig/libdrm.pc is present on your system. If it is not, there's something wrong with your libdrm package and you should try reinstalling it.

@etognoni The transition to the new x264 should not break anything, but the version change does. It is crucial that you build ffmpeg-mmal after installing the latest x264. The relatively easy way is to install the upstream ffmpeg, replacing ffmpeg-mmal, then upgrade your whole system. Once you've done that, you need to rebuild ffmpeg-mmal and then you can install it again, replacing ffmpeg.

For your MPEG-4 issue, I'd need more details to help you, like the output of mpv -v. Does it work with omxplayer? I'm not sure it's relevant to this package, but feel free to send me a mail to talk about that, my address is in the PKGBUILD.

@JimmyZ It's not up to the PKGBUILD to decide what -j to use, but this is what makepkg's MAKEFLAGS variable is for.

etognoni commented on 2018-08-22 18:30

Hi i have a question on mmal-mpeg and mpeg-4 in this PKGBUILD there is --enable-omx --enable-omx-rpi --enable-mmal

i made probably a mistake but i have the license key for mmal-mpeg2/4 hardware acceleration

locate vcgencmd /opt/vc/bin/vcgencmd /opt/vc/include/interface/vmcs_host/vcgencmd.h [alarm@alarmpi ~]$ /opt/vc/bin/vcgencmd codec_enabled MPG2 MPG2=enabled

the thing is, i can see the movie, but only h264 has mmal_h264 hardware acceleration when i play a mpv --vo=rpi --hwdec=mmal if is an mpeg4 i dont have hw if is a h264 i get the mpv message Using hardware decoding (mmal) So maybe is not related to the package, in this case i apologize, but if is not off topic, can you help me? After compiling ffbuild-mmal i compile mpv-rpi also

ive installed also archlinux-headers-rpi (I dont know if is necessary or correct)

Thanks you for help

etognoni commented on 2018-08-20 15:10

sudo pacman -Syuw ... :: Aggiornamento del sistema in corso... :: Vuoi sostituire libx264 con extra/x264? [S/n]

x264 breaks dependency if i install x264 ffmpeg-mmal wont build,then i could have problem going back to libx264 im not sure if it's necessary to install the precedent libx264 then the latest. before libx264-2:152.20171224-1-armv7h.pkg.tar.xz then libx264-2:152.20171224-2-armv7h.pkg.tar.xz

Dark-Sky commented on 2018-08-15 03:56

It errors out here:

ERROR: libdrm not found using pkg-config

I have the latest updates and libdrm installed