Introduction to libplacebo

The libplacebo package contains a library for processing image and video primitives and shaders. It also includes a high quality rendering pipeline that supports OpenGL and Vulkan.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

libplacebo Dependencies


FFmpeg-6.1.1 and Glad-2.0.5



Little CMS-2.14 libunwind-1.6.2, dovi_tool, Nuklear, and xxHash

Installation of libplacebo

Install libplacebo by running the following commands:

mkdir build &&
cd    build &&

meson setup ..            \
      --prefix=/usr       \
      --buildtype=release \
      -Dtests=true        \
      -Ddemos=false       &&

To test the results, issue: ninja test. One test, opengl_surfaceless.c, is known to fail.

Now, as the root user:

ninja install

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

-Ddemos=false: This switch disables building the demo programs because building plplay is currently broken.

-Dtests=true: This switch enables building the code necessary to run the tests.


Installed Programs: None
Installed Libraries:
Installed Directories: /usr/include/libplacebo

Short Descriptions

processes image and video primitives and shaders and provides a high quality rendering pipeline for OpenGL and Vulkan