How to install Gstreamer on Ubuntu

2 min. read

Gstreamer is essential package for Ubuntu, but there could be some missing packages that are required for app development. So with next steps you are going to install Gstreamer on your PC.



Checkout Dockerfile to build Docker Image for Ubuntu 18 and Gstreamer.

Go to Launch First Pipeline Section to check installation.

Locate Gstreamer

Check if any version of Gstreamer already installed

If you see similar response

You already have Gstreamer installed on your PC. But look at next steps to check that all required packages for development are also installed.

Check Gstreamer Version

Additional you can check version of installed package typing

You should get similar response in terminal

Install Gstreamer

Update Packages

Install main Gstreamer packages (*source)

Have you noticed words β€˜bad, ugly, good’ in libraries names? Don’t worry, those are not based on personal qualities πŸ™‚ Here is an official doocumentation with explanation of each module and it’s name.

  • gst-plugins-good – a set of good-quality plug-ins under our preferred license, LGPL
  • gst-plugins-ugly – a set of good-quality plug-ins that might pose distribution problems
  • gst-plugins-bad – a set of plug-ins that need more quality, testing or documentation

Launch first pipeline

Type in command line simple command to check that everything works as supposed:

Expected result should be something like this:

videotestsrc Gstreamer plugin

In case you installing Gstreamer on remote PC without any display, use fakesink instead of autovideosink.

Hope everything works just great and you are ready to make some awesome applications. If not, – leave a problem description in comments to this post. We are going to find a way to fix it πŸ™‚


How to build Gstreamer from Sources?

  • If there is a need to build gstreamer from sources, use the following guide

How to build Gstreamer for Python?


Add a Comment

Your email address will not be published. Required fields are marked *