gstreamer Python and cairooverlay

Olivier Aubert olivier.aubert at liris.cnrs.fr
Thu Jan 3 09:59:13 PST 2013


Hello

Given your requirements, did you give the rsvgoverlay element a try? It
is cross-platform, and allows you to overlay arbitrary SVG graphics on
top of the video. You do not have to write any cairo code, just generate
on-the-fly SVG code and feed it to the element.

Olivier

On Sun, 2012-12-30 at 20:09 -0800, RoyWiggins wrote:
> And I'd /like/ this to be cross-platform (at least, run on Windows as well as
> Linux) and there aren't any prebuilt gstreamer 1.0 binaries for Windows (or
> are there?).
> 
> I want to be able to scrawl arbitrary lines and circles on top of video-
> every time I seem to get closer,  something else breaks!
> 
> 
> RoyWiggins wrote
> > I was in touch with Jon Nordby (who wrote it in the first place) and he
> > thinks it's because I was using the older pyGTK bindings rather than
> > pygobject- pycairo doesn't use gobject, it uses its own wrapper, which
> > explains it.
> > 
> > So, I'm trying to get it to work in GStreamer 1.0, which Jon suggested-
> > however, it doesn't seem to *have* cairooverlay, even though I've
> > installed
> > gstreamer1.0-plugins-good from the developers ppa (on Ubuntu 12.04), it
> > seems to be there in the
> > source<http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/ext/cairo?h=0.11>,
> > but gst-inspect-overlay0.10 doesn't list cairooverlay, or indeed
> > cairo-anything. I poked around the .deb and it does not appear to be there
> > but I'm not very familiar with the structure of .deb packages. I guess the
> > deb might be slightly out of juncture?
> > 
> > (Also, gstreamer was complaining about the jack audio server not being
> > installed- I installed the package from the Ubuntu main repo and started
> > jackd myself and it worked, but it ought to be a dependency resolved by
> > the
> > gstreamer package, right?)
> > 
> > On Sun, Dec 30, 2012 at 2:32 PM, Tim-Philipp Müller-2 [via
> > GStreamer-devel]
> > <
> 
> > ml-node+s966125n4657622h61 at .nabble
> 
> > > wrote:
> > 
> >> On Sat, 2012-12-29 at 00:36 -0800, RoyWiggins wrote:
> >>
> >> Hi Roy,
> >>
> >> > Hi gstreamer folks, I'm having this exact problem and haven't found
> >> > remedy elsewhere. I can't say if it's a problem with the python
> >> > gstreamer bindings, or cairooverlay itself, or indeed both, but I
> >> > thought you guys might be able to give me a hand. I'm not averse to
> >> > trying to fix the binding if it needs fixing, but again I'm entirely
> >> > new to delving into python C bindings.
> >>
> >> I can't see anything wrong in the cairooverlay element right now, it
> >> passes the right GType when registering the signal, so my guess is that
> >> it's an issue somewhere in/around pygobject.
> >>
> >> Or possibly you are just missing the right import statement for the
> >> cairo gobject stuff?
> >>
> >> Cheers
> >>  -Tim
> >>
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> [hidden email]
> >> <http://user/SendEmail.jtp?type=node&node=4657622&i=0>
> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the discussion
> >> below:
> >>
> >> http://gstreamer-devel.966125.n4.nabble.com/gstreamer-Python-and-cairooverlay-tp4655321p4657622.html
> >>  To unsubscribe from gstreamer Python and cairooverlay, click
> >> here<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4655321&code=cm95d2lnQGdtYWlsLmNvbXw0NjU1MzIxfC0zODU2ODQxNDI=>
> >> .
> >> NAML<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >>
> 
> 
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-Python-and-cairooverlay-tp4655321p4657631.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list