Aaron Boxer
September 28, 2020
Reading time:
Note: In September 2021, the GStreamer project merged all its git repositories into a single, unified repository, often called monorepo. The build system referred in this post as "gst-build" is now in the root of this combined/mono repository.
There are two ways of building GStreamer on Windows - using either cerbero or gst-build. As gst-build is a lot quicker, we will use this approach in this post.
GStreamer relies on various 2D font rendering and layout libraries such as Pango and Cairo to generate text for the Pango plugin, which contains elements such as textoverlay. However, building GStreamer on Windows using gst-build does not currently include support for Pango.
In this post, we will learn how to add the Pango plugin to a gst-build installation on Windows.
If you haven't already followed my previous guide on GStreamer and Windows, please follow the steps there to build GStreamer from source.
Now, we will need to clone a few more repositories into our source directory :
Next we open a Visual Studio x64 command prompt and execute the following:
> cd freetype2 && meson build --prefix=%GSTREAMER_1_0_ROOT_X86_64% --buildtype=release && ninja -C build install > cd ..\pixman && meson build --prefix=%GSTREAMER_1_0_ROOT_X86_64% --buildtype=release && ninja -C build install > cd ..\harfbuzz && meson build --prefix=%GSTREAMER_1_0_ROOT_X86_64% --buildtype=release && ninja -C build install > cd ..\cairo && meson build --prefix=%GSTREAMER_1_0_ROOT_X86_64% --buildtype=release && ninja -C build install > cd ..\pango && meson build -Dintrospection=false --prefix=%GSTREAMER_1_0_ROOT_X86_64% --buildtype=release && ninja -C build install > cd ..\gst-build-x64 && meson build --reconfigure --prefix=%GSTREAMER_1_0_ROOT_X86_64% --buildtype=release && ninja -C build install
At this stage, it is a good idea to delete our plugin cache:
> rmdir /Q /S c:\\Users\YOUR_USER_NAME\AppData\Local\Microsoft\Windows\INetCache\gstreamer-1.0
And finally:
> gst-inspect-1.0 textoverlay
should find the overlay plugin!
If you have any questions about GStreamer text rendering on Windows, or any other platform, please contact us.
18/11/2026
Lossy codecs discard data that geospatial analysis needs. GStreamer now adds lossless zlib, deflate, and Brotli compression for raw and…
02/11/2026
An AI-assisted side project turned a missing KDE tablet feature into a working handwriting mode, combining open source recognition, stylus…
21/10/2026
Tyr has reached a major milestone by booting the Arm Mali-G610 GPU’s MCU using upstream Rust DRM memory-management abstractions, while helping…
26/08/2026
Tyr’s latest Rust GPU kernel driver work puts GPU memory management in place, from VM binding and GPUVM to GEM-backed buffers and firmware…
07/07/2026
AI development is shifting from implementing models from scratch to composing powerful capabilities via APIs, enabling developers to integrate…
26/05/2026
New upstream BlueZ documentation helps simplify Bluetooth qualification for Linux-based products by mapping supported profiles, test requirements,…