Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

263.1. gst-plugins-bad-1.28.8

GStreamer "bad" plugin set (less mature plugins)

Version 1.28.8, release 1
Shelf media-frameworks — Multimedia frameworks, capture, and media inspection
Phase 43_toolkits (Toolkits), 89 of 344 in build order
Licence LGPL-2.1-or-later AND GPL-2.0-or-later
Homepage https://gstreamer.freedesktop.org/
Build time 2.3 SBU
Installed size 21.4 MiB in 455 files
Recipe ports/core/media-frameworks/gst-plugins-bad/kpkgbuild

About

The GStreamer “bad” plugin set: plugins upstream considers less mature or less reviewed, and the libraries other GStreamer components build on, among them gstreamer-play, the VA-API, Vulkan and Wayland video libraries, WebRTC (webrtcbin), and the HLS and DASH elements. gtk4 plays video through its gstreamer-play library, and the WebKitGTK ports, Qt 5 and Qt 6 Multimedia, wxWidgets, Nheko, Dino, Kamoso, AudioTube and Strawberry depend on it.

Sources

Dependencies

Depends on: gst-plugins-base, orc, x265, faad2, svt-av1, fdk-aac, openjpeg, libass, opus, pango, cairo, libwebp, zbar, fluidsynth, lcms2, webrtc-audio-processing, libva, libdrm, libgudev, wayland, wayland-protocols, vulkan-loader, vulkan-headers, glslang, libxml2, openssl, curl, libssh2, librsvg, libsndfile, openexr, bzip2, libnice, libsrtp, libsrt, libdvdnav, libdvdread, chromaprint, libopenmpt, gobject-introspection, glib-introspection.

Required by (11): audiotube, dino, gtk4, kamoso, nheko, qt5-qtmultimedia, qt6-qtmultimedia, strawberry, webkitgtk, webkitgtk6, wxwidgets.

Optional, off in KDOS

These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install gst-plugins-bad'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/media-frameworks/gst-plugins-bad.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/media-frameworks/gst-plugins-bad
echo '670d888bde8242579b0d8e91f60cf337aa7be20ca7c315ebfbdd6e5a9218d104  gst-plugins-bad-1.28.8.tar.xz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/gst-plugins-bad
SRC=$SRC_ROOT/gst-plugins-bad-1.28.8
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf gst-plugins-bad-1.28.8.tar.xz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

meson setup build \
	--prefix=/usr --sysconfdir=/etc --libdir=lib --libexecdir=/usr/lib \
	--buildtype=release \
	-Ddoc=disabled \
	-Dexamples=disabled \
	-Dtests=disabled \
	-Dnls=disabled \
	-Dintrospection=enabled \
	-Dx11=disabled \
	-Dgtk3=disabled \
	-Dorc=enabled \
	-Dorc-compiler=disabled \
	-Dgpl=enabled \
	-Dx265=enabled \
	-Dfaad=enabled \
	-Dsvtav1=enabled \
	-Dfdkaac=enabled \
	-Dopenjpeg=enabled \
	-Dassrender=enabled \
	-Dopus=enabled \
	-Dwebp=enabled \
	-Dzbar=enabled \
	-Dfluidsynth=enabled \
	-Dcolormanagement=enabled \
	-Danalyticsoverlay=enabled \
	-Dwebrtcdsp=enabled \
	-Dwebrtc=enabled \
	-Dsrtp=enabled \
	-Dsctp=enabled \
	-Dsctp-internal-usrsctp=enabled \
	-Dresindvd=enabled \
	-Drsvg=enabled \
	-Dsndfile=enabled \
	-Dopenexr=enabled \
	-Dbz2=enabled \
	-Dchromaprint=enabled \
	-Dopenmpt=enabled \
	-Dva=enabled \
	-Dudev=enabled \
	-Ddrm=enabled \
	-Dkms=enabled \
	-Dwayland=enabled \
	-Dgl=enabled \
	-Dvulkan=enabled \
	-Dvulkan-video=enabled \
	-Dvulkan-windowing=wayland \
	-Ddash=enabled \
	-Dhls=enabled \
	-Dhls-crypto=openssl \
	-Dsmoothstreaming=enabled \
	-Dttml=enabled \
	-Dcurl=enabled \
	-Dcurl-ssh2=enabled \
	-Ddtls=enabled \
	-Daes=enabled \
	-Daom=disabled \
	-Dbluez=disabled \
	-Dsbc=disabled \
	-Dldac=disabled \
	-Dopenaptx=disabled \
	-Dlc3=disabled \
	-Dlibde265=disabled \
	-Dcodec2json=disabled \
	-Dqroverlay=disabled \
	-Dv4l2codecs=disabled \
	-Duvch264=disabled \
	-Duvcgadget=disabled \
	-Dsrt=enabled \
	-Davtp=disabled \
	-Dbs2b=disabled \
	-Ddc1394=disabled \
	-Ddirectfb=disabled \
	-Ddts=disabled \
	-Dfaac=disabled \
	-Dflite=disabled \
	-Dgme=disabled \
	-Dgs=disabled \
	-Dgsm=disabled \
	-Diqa=disabled \
	-Disac=disabled \
	-Dladspa=disabled \
	-Dladspa-rdf=disabled \
	-Dlcevcdecoder=disabled \
	-Dlcevcencoder=disabled \
	-Dlv2=disabled \
	-Dmicrodns=disabled \
	-Dmodplug=disabled \
	-Dmpeg2enc=disabled \
	-Dmpeghdec=disabled \
	-Dmplex=disabled \
	-Dmsdk=disabled \
	-Dmusepack=disabled \
	-Dneon=disabled \
	-Dnvcomp=disabled \
	-Dnvdswrapper=disabled \
	-Donnx=disabled \
	-Dopenal=disabled \
	-Dopencv=disabled \
	-Dopenh264=disabled \
	-Dopenni2=disabled \
	-Drtmp=disabled \
	-Dsoundtouch=disabled \
	-Dspandsp=disabled \
	-Dsvthevcenc=disabled \
	-Dsvtjpegxs=disabled \
	-Dteletext=disabled \
	-Dtflite=disabled \
	-Dtflite-edgetpu=disabled \
	-Dtinyalsa=disabled \
	-Dvmaf=disabled \
	-Dvoaacenc=disabled \
	-Dvoamrwbenc=disabled \
	-Dwildmidi=disabled \
	-Dwpe=disabled \
	-Dwpe2=disabled \
	-Dzxing=disabled \
	-Daja=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

The switches, and why each is set:

Every plugin that links an outside library is named, enabled or disabled, never left at meson’s auto: an enabled library that goes missing fails the configure instead of giving a thinner package, and a disabled one stays off whatever else is installed first. The vendor GPU plugins nvcodec, qsv and hip stay at auto and are built: they link no library beyond GLib and GStreamer’s own (qsv compiles Intel’s dispatcher from the copy in the source and reaches the GPU through the VA library built here), and load NVIDIA’s, Intel’s or AMD’s runtime only when they run.

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/gst-plugins-bad, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf gst-plugins-bad-1.28.8-1.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/gst-plugins-bad, and runs the triggers its paths call for.

Contents

Installed programs: gst-transcoder-1.0.

Installed libraries: libgstadaptivedemux-1.0.so, libgstanalytics-1.0.so, libgstbadaudio-1.0.so, libgstbasecamerabinsrc-1.0.so, libgstcodecparsers-1.0.so, libgstcodecs-1.0.so, libgstcuda-1.0.so, libgstdxva-1.0.so, libgsthip-1.0.so, libgstinsertbin-1.0.so, libgstisoff-1.0.so, libgstmpegts-1.0.so, libgstmse-1.0.so, libgstphotography-1.0.so, libgstplay-1.0.so, libgstplayer-1.0.so, libgstsctp-1.0.so, libgsttranscoder-1.0.so, libgsturidownloader-1.0.so, libgstva-1.0.so, libgstvulkan-1.0.so, libgstwayland-1.0.so, libgstwebrtc-1.0.so, libgstwebrtcnice-1.0.so.

Installed directories: /usr/include/gstreamer-1.0/gst/analytics, /usr/include/gstreamer-1.0/gst/basecamerabinsrc, /usr/include/gstreamer-1.0/gst/codecparsers, /usr/include/gstreamer-1.0/gst/cuda, /usr/include/gstreamer-1.0/gst/hip, /usr/include/gstreamer-1.0/gst/insertbin, /usr/include/gstreamer-1.0/gst/interfaces, /usr/include/gstreamer-1.0/gst/isoff, /usr/include/gstreamer-1.0/gst/mpegts, /usr/include/gstreamer-1.0/gst/mse, /usr/include/gstreamer-1.0/gst/play, /usr/include/gstreamer-1.0/gst/player, /usr/include/gstreamer-1.0/gst/sctp, /usr/include/gstreamer-1.0/gst/transcoder, /usr/include/gstreamer-1.0/gst/uridownloader, /usr/include/gstreamer-1.0/gst/va, /usr/include/gstreamer-1.0/gst/vulkan, /usr/include/gstreamer-1.0/gst/wayland, /usr/include/gstreamer-1.0/gst/webrtc, /usr/share/gstreamer-1.0/encoding-profiles, /usr/share/licenses/gst-plugins-bad.

Short descriptions

gstreamer-analytics-1.0.pc GStreamer analytics metadata library
gstreamer-bad-audio-1.0.pc Bad audio library for GStreamer elements
gstreamer-codecparsers-1.0.pc Bitstream parsers for GStreamer elements
gstreamer-cuda-1.0.pc Unstable library to work with CUDA inside GStreamer
gstreamer-hip-1.0.pc GStreamer HIP library
gstreamer-hip-gl-1.0.pc GStreamer HIP library (OpenGL specifics)
gstreamer-insertbin-1.0.pc Bin to automatically and insertally link elements
gstreamer-mpegts-1.0.pc GStreamer MPEG-TS support
gstreamer-mse-1.0.pc GStreamer Support for W3C Media Source Extensions
gstreamer-photography-1.0.pc High level API for transcoding using GStreamer
gstreamer-play-1.0.pc GStreamer Player convenience library
gstreamer-player-1.0.pc GStreamer Player convenience library
gstreamer-plugins-bad-1.0.pc Streaming media framework, bad plugins libraries
gstreamer-sctp-1.0.pc SCTP helper functions
gstreamer-transcoder-1.0.pc High level API for transcoding using GStreamer
gstreamer-va-1.0.pc GStreamer VA support
gstreamer-vulkan-1.0.pc GStreamer Vulkan support
gstreamer-vulkan-wayland-1.0.pc GStreamer Vulkan support (Wayland Specifics)
gstreamer-wayland-1.0.pc GStreamer Wayland support
gstreamer-webrtc-1.0.pc GStreamer WebRTC support
gstreamer-webrtc-nice-1.0.pc libnice based implementaion for GstWebRTCICE