GStreamer1.0

Differences between revisions 2 and 3
Revision 2 as of 2012-06-21 02:26:43
Size: 851
Editor: 173-14-15-225-Colorado
Comment:
Revision 3 as of 2012-06-21 02:34:35
Size: 1402
Editor: 173-14-15-225-Colorado
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

GStreamer 1.0 packages are now available in [[http://packages.ubuntu.com/search?keywords=gstreamer1.0|Ubuntu Quantal]]. For Ubuntu Precise (12.04 LTS) users, there are back-ported packages available in the [[https://launchpad.net/~gstreamer-developers/+archive/ppa|GStreamer developers PPA]].

<<TableOfContents()>>

== Adding PPA for Ubuntu Precise ==

To use the back-ported packages for Ubuntu 12.04 LTS, add the GStreamer developers PPA like this:

 {{{
sudo apt-add-repository ppa:gstreamer-developers/ppa
sudo apt-get update
}}}
Line 7: Line 20:
{{{  {{{
Line 22: Line 35:
{{{  {{{

Novacut Wiki Home > GStreamer 1.0

GStreamer 1.0 packages are now available in Ubuntu Quantal. For Ubuntu Precise (12.04 LTS) users, there are back-ported packages available in the GStreamer developers PPA.

Adding PPA for Ubuntu Precise

To use the back-ported packages for Ubuntu 12.04 LTS, add the GStreamer developers PPA like this:

  • sudo apt-add-repository ppa:gstreamer-developers/ppa
    sudo apt-get update

Install GStreamer 1.0 packages

This should give you all the packages you likely want:

  • sudo apt-get install gstreamer1.0-tools \
        gir1.2-gstreamer-1.0 \
        gir1.2-gst-plugins-base-1.0 \
        gstreamer1.0-plugins-good \
        gstreamer1.0-plugins-ugly \
        gstreamer1.0-plugins-bad \
        gstreamer1.0-libav

Using GStreamer 1.0 from Python

You can use GStreamer 1.0 from Python (2 or 3) using PyGI like this:

  • >>> import gi
    >>> gi.require_version('Gst', '1.0')
    >>> from gi.repository import Gst
    >>> Gst.version()
    (1, 0, 0, 0)

Although currently the default will be Gst 1.0 if available, it's still a good idea to gi.require_version('Gst', '1.0') so that the code will clearly fail if Gst 1.0 isn't available.

Novacut/GStreamer1.0 (last edited 2014-03-14 20:16:15 by 173-14-15-225-Colorado)