Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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:

share|improve this answer
1  
it also worked in ubuntu 14.04. – Shamsul Haque Jun 11 '15 at 8:27
1  
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 at 11:47

Installing the below package should do the magic

sudo apt-get install ubuntu-restricted-extras
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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