Package Details: ffmpeg-mmal 1:4.1.1-1

Git Clone URL: (read-only)
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: 9
Popularity: 0.473564
First Submitted: 2016-09-14 09:46
Last Updated: 2019-03-02 23:24

Dependencies (52)

Required by (845)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

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

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