GStreamer1.0

Differences between revisions 1 and 2
Revision 1 as of 2012-06-21 02:22:30
Size: 800
Editor: 173-14-15-225-Colorado
Comment:
Revision 2 as of 2012-06-21 02:26:43
Size: 851
Editor: 173-14-15-225-Colorado
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 {{{
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-libav
{{{
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-liba
v
Line 11: Line 17:
Note that is all one line.
Line 15: Line 20:
You can use from Python (2 or 3) using PyGI like this: You can use GStreamer 1.0 from Python (2 or 3) using PyGI like this:
Line 17: Line 22:
 {{{ {{{

Novacut Wiki Home > GStreamer 1.0

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)