Package Details: ffmpeg-mmal 1:4.0.2-1

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: 8
Popularity: 0.126624
First Submitted: 2016-09-14 09:46
Last Updated: 2018-08-23 01:32

Dependencies (53)

Required by (802)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

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

fmang:

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