Overlay with python, appsrc, cairo and a full cast of errors

Michael Tyson michael at tyson.id.au
Sun Mar 2 23:58:23 PST 2014


Cheers Mark, that’s really good to know!

I think I might proceed in C anyway, lest I encounter more Python shenanigans down the line. Probably better to invest the time in a more mature/stable system.


On 3 Mar 2014, at 4:19 pm, Mark Howell <mark-sub1 at hypgnosys.org> wrote:

> On 03/02/2014 05:23 PM, Michael Tyson wrote:
> [snip]
>> 
>> Unfortunately, the Python bindings appear to be stuffed with
>> cairooverlay too (" 'gobject.GBoxed' object has no attribute
>> ‘set_source_rgba’” from within the draw callback), so I’ll switch to C
>> for the project and see how it goes.
>> 
> 
> Michael, FWIW the gstreamer cairooverlay element and pycairo can be coerced to work together, at least it is working for me atm. See workaround attached to bug at https://bugzilla.gnome.org/show_bug.cgi?id=694604.
> 
> In this scenario cairooverlay generates its own cairo context and passes that to your app via the draw signal, and the workaround code enables you to wrap that cairo_t in a pycairo Context so you can decorate the frame in Python.
> 
> Cheers,
> 
> Mark.
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140303/d3e08243/attachment.html>


More information about the gstreamer-devel mailing list