Changes between Version 22 and Version 23 of gstreamer


Ignore:
Timestamp:
12/09/2021 11:37:22 PM (3 years ago)
Author:
Tim Harvey
Comment:

added instructions for building GStreamer

Legend:

Unmodified
Added
Removed
Modified
  • gstreamer

    v22 v23  
    352352
    353353
     354[=#building]
     355== Building GStreamer from source
     356GStreamer has recently converted to a single repository which made things much easier to build.
     357
     358Example building on Ubuntu 20.04 Focal:
     359 * build
     360{{{#!bash
     361# install a few dependencies
     362sed -i "s/# deb-src/deb-src/" /etc/apt/sources.list
     363apt update
     364apt build-dep gstreamer1.0-plugins-good
     365apt build-dep gstreamer1.0-plugins-bad
     366apt build-dep gstreamer1.0-plugins-ugly
     367apt install git python3-pip flex bison ninja-build
     368# meson version on Ubuntu focal is too old...download a local one
     369apt purge meson
     370apt install python3-pip
     371pip3 install --user meson
     372PATH=~/.local/bin:$PATH
     373# clone repo
     374git clone https://gitlab.freedesktop.org/gstreamer/gstreamer.git
     375cd gstreamer
     376# create Makefiles with meson to build with objects in 'build' subdir
     377meson build
     378# use ninja to build in 'build' subdir
     379ninja -C build
     380# use ninja to create a development environment to use locally without installing
     381ninja -C build devenv
     382}}}
     383 - to reconfigure use 'meson build --reconfigure'
     384
    354385
    355386[=#video]