tce-load -i compiletc python3.8 perl5 luajit-dev ffmpeg-dev lcms2-dev libarchive-dev uchardet-dev libXss-dev libXv-dev wget https://github.com/mpv-player/mpv/archive/refs/tags/v0.33.1.tar.gz cd mpv-0.33.1 ./bootstrap.py edit waftools/detections/compiler.py remove -O2 -g CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./waf configure --prefix=/usr/local --enable-libmpv-shared --enable-sdl2 ./waf build -v [3m41.316s] sudo ./waf install Setting top to : /usr/src/mpv-0.33.1 Setting out to : /usr/src/mpv-0.33.1/build Checking for waf version in 1.8.4-2.1.0 : ok Checking for program 'cc' : ['gcc', '-flto', '-march=armv8-a+crc', '-mtune=cortex-a72', '-Os', '-pipe'] Checking for program 'pkg-config' : /usr/local/bin/pkg-config Checking for program 'ar' : /usr/local/bin/ar Checking for program 'rst2html' : not found Checking for program 'rst2man' : not found Checking for program 'rst2pdf' : not found Checking for program 'windres' : not found Checking for program 'perl' : /usr/local/bin/perl Checking for 'gcc' (C compiler) : gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe Detected target OS: : os-linux Checking for compiler flags -std=c11 : yes Checking for compiler flags -Werror -Werror=implicit-function-declaration : yes Checking for compiler flags -Werror -Wno-error=deprecated-declarations : yes Checking for compiler flags -Werror -Wno-error=unused-function : yes Checking for compiler flags -Werror -Wempty-body : yes Checking for compiler flags -Werror -Wdisabled-optimization : yes Checking for compiler flags -Werror -Wstrict-prototypes : yes Checking for compiler flags -Werror -Wno-format-zero-length : yes Checking for compiler flags -Werror -Werror=format-security : yes Checking for compiler flags -Werror -Wno-redundant-decls : yes Checking for compiler flags -Werror -Wvla : yes Checking for compiler flags -Werror -Wno-format-truncation : yes Checking for compiler flags -Werror -Wimplicit-fallthrough : yes Checking for compiler flags -Werror -fno-math-errno : yes Checking for LGPL (version 2.1 or later) build : disabled Checking for GPL (version 2 or later) build : yes Checking for mpv CLI player : yes Checking for shared library : yes Checking for static library : disabled Checking for static build : disabled Checking for whether to include binary compile time : yes Checking for whether to optimize : yes Checking for whether to compile-in debugging information : yes Checking for unit tests (development only) : disabled Checking for enable ta leak report by default (development only) : disabled Checking for manpage generation : no (missing RST2MAN) Checking for html manual generation : disabled Checking for pdf manual generation : disabled Checking for dynamic loader : yes Checking for C plugins : yes Checking for inline assembly (currently without effect) : yes Checking for generate a clang compilation database : disabled Checking for static Swift linking : disabled Checking for compiler support for noexecstack : yes Checking for linker support for --nxcompat --no-seh --dynamicbase : no Checking for -lm : yes Checking for MinGW : os-win32 not found Checking for POSIX environment : yes Checking for Android environment : no Checking for tvOS environment : no Checking for Android EGL support : android not found Checking for development environment : yes Checking for macOS Swift build tools : os-darwin not found Checking for Universal Windows Platform : disabled Checking for win32 desktop APIs : os-win32 not found Checking for internal pthread wrapper for win32 (Vista+) : posix found Checking for POSIX threads : yes Checking for pthread runtime debugging wrappers : disabled Checking for C11 stdatomic.h : yes Checking for linking with -lrt : yes Checking for iconv : yes Checking for w32/dos paths : os-win32 not found Checking for glob() POSIX support : yes Checking for glob() win32 replacement : posix found Checking for any glob() support : yes Checking for vt.h : yes Checking for consio.h : vt.h found Checking for gbm.h : yes Checking for GLIBC API for setting thread name : yes Checking for OSX API for setting thread name : glibc-thread-name found Checking for BSD API for setting thread name : glibc-thread-name found Checking for BSD's fstatfs() : no Checking for Linux's fstatfs() : yes Checking for Linux's input-event-codes.h : yes Checking for Lua : yes (version found: luajit) Checking for Javascript (MuJS backend) : no ('mujs >= 1.0.0' not found) Checking for SSA/ASS support : yes Checking for zlib : yes Checking for Bluray support : no ('libbluray >= 0.3.0' not found) Checking for dvdnav support : disabled Checking for cdda support (libcdio) : disabled Checking for uchardet support : yes Checking for librubberband support : no ('rubberband >= 1.8.0' not found) Checking for libzimg support (high quality software scaler) : no ('zimg >= 2.9' not found) Checking for LCMS2 support : yes Checking for VapourSynth filter bridge : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found) Checking for libarchive wrapper for reading zip files and more : yes Checking for DVB input module : disabled Checking for SDL2 : yes Checking for SDL2 gamepad input : yes Checking for FFmpeg library : yes Checking for libavdevice : yes Checking for Disable all known FFmpeg ABI violations : disabled Checking for SDL2 audio output : yes Checking for PulseAudio audio output : yes Checking for JACK audio output : no ('jack' not found) Checking for OpenAL audio output : disabled Checking for OpenSL ES audio output : no Checking for ALSA audio output : yes Checking for CoreAudio audio output : no Checking for AudioUnit output for iOS : no Checking for WASAPI audio output : os-win32 not found Checking for SDL2 video output : yes Checking for Cocoa : no Checking for DRM : yes Checking for GBM : yes Checking for wayland-scanner : yes Checking for wayland-protocols : yes Checking for Wayland : yes Checking for Linux's memfd_create() : yes Checking for X11 : yes Checking for Xv video output : yes Checking for OpenGL Cocoa Backend : cocoa not found Checking for OpenGL X11/GLX (deprecated/legacy) : disabled Checking for Raspberry Pi support : disabled Checking for EGL 1.4 : yes Checking for OpenGL X11 EGL Backend : yes Checking for OpenGL DRM EGL Backend : yes Checking for OpenGL Wayland Backend : yes Checking for OpenGL Win32 Backend : win32-desktop not found Checking for OpenGL/DirectX Interop Backend : gl-win32 not found Checking for OpenGL ANGLE headers : os-win32 not found Checking for OpenGL Win32 ANGLE Library : egl-angle not found Checking for OpenGL Win32 ANGLE Backend : egl-angle not found Checking for VDPAU acceleration : no ('vdpau >= 0.2' not found) Checking for VDPAU with OpenGL/X11 : vdpau not found Checking for VAAPI acceleration : no ('libva >= 1.1.0' not found) Checking for VAAPI (X11 support) : vaapi not found Checking for VAAPI (Wayland support) : vaapi not found Checking for VAAPI (DRM/EGL support) : vaapi not found Checking for VAAPI EGL on X11 : vaapi-x11 not found Checking for VAAPI EGL : vaapi-x-egl not found Checking for CACA : no ('caca >= 0.99.beta18' not found) Checking for JPEG support : yes Checking for Direct3D support : win32-desktop not found Checking for libshaderc SPIR-V compiler (shared library) : no Checking for libshaderc SPIR-V compiler (static library) : no Checking for libshaderc SPIR-V compiler : shaderc-shared not found Checking for SPIRV-Cross SPIR-V shader converter (shared library) : no ('spirv-cross-c-shared' not found) Checking for SPIRV-Cross SPIR-V shader converter (static library) : no ('spirv-cross' not found) Checking for SPIRV-Cross SPIR-V shader converter : spirv-cross-shared not found Checking for Direct3D 11 video output : win32-desktop not found Checking for iOS OpenGL ES hardware decoding interop support : no Checking for OpenGL without platform-specific code (e.g. for libmpv) : yes Checking for OpenGL context support : yes Checking for libplacebo support : no ('libplacebo >= 1.18.0' not found) Checking for Vulkan context support : libplacebo not found Checking for VAAPI Vulkan : vaapi not found Checking for EGL helper functions : yes Checking for Sixel : no ('libsixel >= 1.5' not found) Checking for libavcodec videotoolbox hwaccel : gl-cocoa not found Checking for Videotoolbox with OpenGL : gl-cocoa not found Checking for D3D11VA hwaccel : os-win32 not found Checking for DXVA2 hwaccel : d3d-hwaccel not found Checking for OpenGL/DirectX Interop Backend DXVA2 interop : gl-dxinterop not found Checking for CUDA Headers and dynamic loader : no ('ffnvcodec >= 8.2.15.7' not found) Checking for CUDA acceleration : ffnvcodec not found Checking for CUDA with graphics interop : cuda-hwaccel not found Checking for Raspberry Pi MMAL hwaccel : rpi not found Checking for w32 executable : os-win32 not found Checking for macOS Touch Bar support : cocoa not found Checking for macOS 10.11 SDK Features : cocoa not found Checking for macOS 10.12.2 SDK Features : cocoa not found Checking for macOS 10.14 SDK Features : cocoa not found Checking for macOS Media Player support : macos-10-12-2-features not found Checking for macOS libmpv backend : cocoa not found Writing configuration header: : config.h 'configure' finished successfully (15.139s) $ mpv --hwdec /mnt/mmcblk0p2/media/video/caitlin_jump.mp4 (+) Video --vid=1 (*) (h264 480x320 25.000fps) (+) Audio --aid=1 (*) (aac 2ch 48000Hz) File tags: Title: caitlin_jump.mp4 error: XDG_RUNTIME_DIR not set in the environment. Using hardware decoding (v4l2m2m-copy). AO: [pulse] 48000Hz stereo 2ch float VO: [gpu] 480x320 yuv420p