[MPlayer-users] compiling mplayer fails

Alexander Strasser eclipse7 at gmx.net
Thu Feb 13 22:58:44 EET 2025


Hi qbl!

On 2025-02-07 04:20 +0000, Quirin Blaeser wrote:
>
> compiling mplayer fails with following message:
>
> CC      libavcodec/amfdec.o
> In file included from libavcodec/amfdec.c:19:
> ./libavutil/hwcontext_amf.h:25:10: fatal error: AMF/core/Factory.h: No such
> file or directory
>    25 | #include <AMF/core/Factory.h>
>       |          ^~~~~~~~~~~~~~~~~~~~
>
> last successful build ( ls -l):
>
> 28. Jan 14:31 /usr/local/bin/mplayer
> MPlayer SVN-r38674-12 (C) 2000-2025 MPlayer Team

Sorry for the delayed response.

Currently building with internal ffmpeg git master doesn't work.
I will send patches to fix this ASAP on the mplayer-dev-eng ML.

Meanwhile if you want to compile with internal FFmpeg you can use
the 7.1 release branch.

Edit FFBRANCH in MPlayer's configure to `release/7.1` like:

   FFBRANCH=release/7.1

Hope it works for you!


Best regards,
  Alexander


> configure:
>
> ./configure --language=de,en --extra-cflags=-march=native --enable-debug
>
> system:
> /etc/os-release
>
> PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
> NAME="Debian GNU/Linux"
> VERSION_ID="12"
> VERSION="12 (bookworm)"
> VERSION_CODENAME=bookworm
> ID=debian
> HOME_URL="https://www.debian.org/"
> SUPPORT_URL="https://www.debian.org/support"
> BUG_REPORT_URL="https://bugs.debian.org/"
>
> /etc/debian_version
> 12.9
> kernel:
> 6.13.1
>
> AMD proprietary drivers are _not_ installed, since there is currently no
> support for debian. Installing manually would require an outdated library
> and a bunch of 32-Bit libs (fyi).
>
> It looks like this is a ffmpeg-related configuration problem.
> As far as i know, AMF is part of mentioned driver and not freely available.
>
> Greetings
> qbl


More information about the MPlayer-users mailing list