two issues when recording sound

Sebastian Dröge sebastian at centricular.com
Tue Dec 3 02:08:57 PST 2013


On Mo, 2013-12-02 at 19:09 +0100, Pablo Rodriguez wrote:
> On 12/02/2013 07:02 PM, Osmo Antero wrote:
> >>But there seem not to be any Python bindings for the 1.x version in Fedora.
> >
> > Python bindings are provided by the GIR (GObject
> > Introspection) mechanism. The same c-library can be called by any
> > language (Python, Javascript, etc.) that supports GI.
> > https://developer.gnome.org/gi/stable/
> >  
> > Take a look at these examples
> > http://bazaar.launchpad.net/~jderose/+junk/gst-examples/view/head:/video-player-1.0
> > 
> > I think Fedora packages GI differently from Debian/Ubuntu. Have you
> > installed "gir-repository" package?
> 
> Sorry, I forgot to mention that my code is in python2.
> 
> If I’m not wrong I have to port the code to python3 first.

No, it also works with Python 2. But you need to update to GTK3 from
GTK2, if you use GTK.

Note that there's also a gst-python for 1.x, which works on top of
python-gi and overrides some suboptimal automatically generated API.
http://cgit.freedesktop.org/gstreamer/gst-python/
http://gstreamer.freedesktop.org/data/src/gst-python/

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131203/982ba472/attachment.pgp>


More information about the gstreamer-devel mailing list