GStreamer1.0

Differences between revisions 6 and 7
Revision 6 as of 2012-06-21 02:52:37
Size: 1913
Editor: 173-14-15-225-Colorado
Comment:
Revision 7 as of 2012-06-21 02:58:38
Size: 1917
Editor: 173-14-15-225-Colorado
Comment:
Deletions are marked like this. Additions are marked like this.
Line 49: Line 49:
The biggest change for Python users will be using introspected API rather than the static python-gst bindings. However, there are also API changes in the GStreamer API itself, although these changes are generally more subtle. The biggest change for Python users will be using the introspected API rather than the static python-gst bindings. However, there are also API changes in the GStreamer API itself, although these changes are generally more subtle.

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.

Note that GnonLin and GES packages are not yet available for GStreamer 1.0.

Although GStreamer 1.0 is not backward compatible with the GStreamer 0.10 series, it is parallel-installable. So you can safely install GStreamer 1.0 without effect on the many applications using GStreamer 0.10.

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

Installing 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.

The biggest change for Python users will be using the introspected API rather than the static python-gst bindings. However, there are also API changes in the GStreamer API itself, although these changes are generally more subtle.

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