gst-python-1.8.1

Johannes Bauer bauer.hannes.jo at gmail.com
Thu Jun 30 14:22:09 UTC 2016


Sebastian,

thank you very much for your answer.

I use pygobject-3.0.0 and i also have a
/usr/local/include/pygobject-3.0/pygobject.h,
but it lacks the definition of PyGObject_Type.

I also tried building 3.21.0, but it requires a higher version of
gobject-introspection, which fails to build on my system.

I compared the sources of pygobject-3.0.0 and 3.21.0 and it seems that they
changed pygobject.h in version 3.7.91.
So i downloaded gyobject-3.8.3 and was able to compile and install gyobject
and gst-python-1.8.1.

The problem is when I run my python script, stillmy older gst-python 1.2.0
version is used and not version 1.8.1.

How can i tell python to use the new gi with gst 1.8.1?

Kind regards

JB



2016-06-30 12:10 GMT+02:00 Sebastian Dröge <sebastian at centricular.com>:

> On Do, 2016-06-30 at 11:45 +0200, Johannes Bauer wrote:
> > Hello devs!
> >
> > I was successfully building the new gstreamer-1.8.1 for raspbian wheezy.
> It works good so far.
> > However when I try to build gst-python i get following output:
> >
> > [...]
> >
> > I tried different versions of PyGObject, which does not change the
> outcome.
> > I can not find PyGObject_Type in /usr/include nor in /usr/local/include.
> > It seems to be defined in the pygobject sources in
> "gi/pyobject-external.h", but this file does not to be installed anywhere.
> >
> > Do u have any ideas what could be the problem?
>
> Here it is defined in /usr/include/pygobject-3.0/pygobject.h:
>
>   #define PyGObject_Type              (*_PyGObject_API->object_type)
>
> This is with version 3.20.1. Which one do you use?
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160630/edf57653/attachment.html>


More information about the gstreamer-devel mailing list