Help with python bindings

Noe Nieto [http://percepcionunitaria.org]] tzicatl at gmail.com
Tue Apr 12 20:55:46 PDT 2011


I'm being lazy so I want to use gst.parse_launch() for my pipeline this way:

>>> import pygst
>>> pygst.require("0.10")
>>> import gst
>>> pipeline = gst.parse_launch("videotestsrc ! jpegenc ! multipartmux ! appsink name='endpoint'")
>>> type(pipeline)
<type 'gst.Pipeline'>

I want to get a hold on the "endpoint" element. The problem is that
the GstBin.get_by_name() returns None.

>>> endpoint = pipeline.get_by_name('endpoint')
>>> endpoint
>>> type (endpoint)
<type 'NoneType'>

Why?


--
--
Noe Nieto
Estudiante de Psicología Holokinética

Diplomados, noticias, libros, artículos,

audios y videos gratuitos :   percepcionunitaria.org


More information about the gstreamer-devel mailing list