22

I'm trying to install GStreamer 1.0 on Ubuntu 12.04, the default GStreamer that comes with Ubuntu 12.04 is gst 0.10. I could see that I could download the GStreamer 1.0 source from gstreamer.freedesktop.org, build it and install it. But this installs only the gst plugins only, it does not install the actual required libraries like:

  • mpeg2dec,
  • h264,
  • and other dependent libraries.

These libraries are required by the gst plugins.

26

If you don't have ubuntu-restricted-extras installed you may need to install that, and any other libraries you require from the repositories.

If you want to install gstreamer 1.0, you need to use the backports for Precise from the gstreamer developers ppa, which is the best source at the minute and the most 'official' developer ppa available.

sudo add-apt-repository ppa:gstreamer-developers/ppa
sudo apt-get update
sudo apt-get install gstreamer1.0*

This will install all the base packages and plugins that you require, and is fine to install, even though you also have the earlier version installed as well, although applications will not use gstreamer1.0 unless they have been built with support for it.


For more information regarding ppas, please see these discussions:

  • 1
    it also worked in ubuntu 14.04. – Shamsul Haque Jun 11 '15 at 8:27
  • 7
    The "gstreamer-developers" PPA is unavailable as of April 2016, and I could not get any explanation from any involved parties. As of that date - about a year before the end of official LTS support for precise, there is no way (that I could find) to install gstreamer-1.0 on Ubuntu 12.04 – Guss May 18 '16 at 11:47
6

Installing the below package should do the magic

sudo apt-get install ubuntu-restricted-extras
  • This doesn't work on 12.04 because only 0.10 is available on 12.04. It will bring all the gstreamer-0.10 stuff but not 1.0. – gregoiregentil Jun 10 '17 at 19:50
4

On Ubuntu 16.04, this worked for me, it might on Ubuntu 12.04 as well:

sudo apt-get install gstreamer1.0-libav
  • 1.0 is not available on 12.04. This doesn't work. – gregoiregentil Jun 10 '17 at 19:50
1

Install GStreamer on Ubuntu or Debian

apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools

pkgconfig path in my pc:

/usr/lib/x86_64-linux-gnu/pkgconfig/gstreamer-1.0.pc

Building Application using Gstreamer

pkg-config --cflags --libs gstreamer-1.0
  • The only accurate answer in the thread – abhishah901 Dec 21 '18 at 0:56
0

I found that link... and I am adding it. I was trying to install Wine 64bit and I could not figure out how to install gstreamer-1.0 base plugins 64-bit development files

sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev**

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.