Package Details: ffmpeg-mmal 1:4.3.1-3

Git Clone URL: https://aur.archlinux.org/ffmpeg-mmal.git (read-only, click to copy)
Package Base: ffmpeg-mmal
Description: ffmpeg built with MMAL hardware acceleration support for Raspberry Pi
Upstream URL: https://ffmpeg.org/
Licenses: GPL3
Conflicts: ffmpeg
Provides: ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: fmang
Maintainer: fmang
Last Packager: fmang
Votes: 11
Popularity: 0.029425
First Submitted: 2016-09-14 09:46
Last Updated: 2020-11-26 18:07

Dependencies (56)

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 'libx265.so=188-32' 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

1 2 3 4 5 6 ... Next › Last »

fmang commented on 2020-11-26 18:09

Updated the package to fix the build, which broke after a libsrt update.

jarosz commented on 2020-11-26 08:15

Won't build on armv7l, fixed with patch provided in the comment section: https://aur.archlinux.org/packages/ffmpeg-mmal/#comment-773186

don_carlos commented on 2020-11-18 08:38

@ABHIRAMSHIBU, as mentioned in github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/98:

Userspace MMAL usage is currently not compatible with 64bit, but will be fixed up when resource allows.

ABHIRAMSHIBU commented on 2020-11-04 02:44

==> Starting build()... ERROR: mmal not found

If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. ==> ERROR: A failure occurred in build().
Cannot compile on aarch64 with raspberrypi-userland-aarch64 installed
Tried including /opt/vc/include

jose1711 commented on 2020-10-30 14:56

could you please add this patch? fixed the build issue for me on RPi3. thanks!

jose1711 commented on 2020-10-30 12:06

unable to compile:

libavformat/libsrt.c: In function ‘libsrt_set_options_pre’:
libavformat/libsrt.c:317:66: error: ‘SRTO_STRICTENC’ undeclared (first use in this function); did you mean ‘SRTO_STATE’?
  317 | >enforced_encryption >= 0 && libsrt_setsockopt(h, fd, SRTO_STRICTENC, "SRTO_STRICTENC", &s->enforced_encryption, sizeof(s->enforced_encryption)) < 0) ||
      |                                                       ^~~~~~~~~~~~~~
      |                                                       SRTO_STATE
libavformat/libsrt.c:317:66: note: each undeclared identifier is reported only once for each function it appears in
libavformat/libsrt.c:336:50: error: ‘SRTO_SMOOTHER’ undeclared (first use in this function); did you mean ‘SRTO_SENDER’?
  336 |         (s->smoother && libsrt_setsockopt(h, fd, SRTO_SMOOTHER, "SRTO_SMOOTHER", s->smoother, strlen(s->smoother)) < 0) ||
      |                                                  ^~~~~~~~~~~~~
      |                                                  SRTO_SENDER
libavformat/libsrt.c: In function ‘libsrt_setup’:
libavformat/libsrt.c:409:5: warning: ‘srt_socket’ is deprecated [-Wdeprecated-declarations]
  409 |     fd = srt_socket(cur_ai->ai_family, cur_ai->ai_socktype, 0);
      |     ^~
In file included from libavformat/libsrt.c:24:
/usr/include/srt/srt.h:754:41: note: declared here
  754 | SRT_ATR_DEPRECATED_PX SRT_API SRTSOCKET srt_socket(int, int, int) SRT_ATR_DEPRECATED;
      |                                         ^~~~~~~~~~
make: *** [ffbuild/common.mak:59: libavformat/libsrt.o] Error 1

alfrednewman commented on 2020-09-14 07:14

I had this problem where once compiling the program I couldn't install it because it was missing this dependency called libx264.so=159-32 that is impossible to find anywhere. I simply changed libx264.so and libx265.so to x264 and x265 in the PKGBUILD file, recompiled it, and it worked and installed without any issues.

danboid commented on 2020-09-08 12:09

Has anyone been able to get hw accelerated h265 playback working with mpv on a Pi4? If so, please tell me what kernel you're running, the mpv command you are using and what options you are using in /boot/config.txt plus anything else you had to do to get it to work. I am trying to get some UHD h265 videos to play that play fine under Raspbian's VLC when using the MMAL-based vout plugin video output setting.

I have tried using vc4-kms-v3d and vc4-kms-v3d-pi4 for the dtoverlay option in config.txt but vc4-fkms-v3d is the only one that works at all for me, well its the only one that lets me run X in UHD/4K.

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 'libx265.so=188-32' required by ffmpeg-mmal

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

Gr3q commented on 2020-01-28 08:20

I have a RPi 4, it works. I'm running on armv7f