opengl on top of video

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

opengl on top of video

Bert Douglas
Hello,

I have a python-gstreamer app that shows video.
It uses xvimagesink and links it to a gtk.DrawingArea.

This works great.

Now I want to overlay some graphics, dynamically generated from real time data.
Opengl seems like a good choice to render the graphics.

But I have no clue how to combine the video and graphics.
I don't think they are made to work with each other.

Thanks,
Bert Douglas


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: opengl on top of video

Nathanael D. Noblet
On 01/20/2011 12:00 PM, Bert Douglas wrote:

> Hello,
>
> I have a python-gstreamer app that shows video.
> It uses xvimagesink and links it to a gtk.DrawingArea.
>
> This works great.
>
> Now I want to overlay some graphics, dynamically generated from real
> time data.
> Opengl seems like a good choice to render the graphics.
>
> But I have no clue how to combine the video and graphics.
> I don't think they are made to work with each other.

I'm working on the same issue right now.. no solution as of yet. I'm
looking at GtkEventBox and the following example.

http://library.gnome.org/devel/gdk/2.22/gdk-Windows.html#composited-window-example

However nothing is working yet... Let me know if you find a solution

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: opengl on top of video

Olivier Aubert-2
In reply to this post by Bert Douglas
Hello

Depending on the nature of your visualization, you may want to try the
rsvgoverlay element, which should be included in the latest
gst-plugins-bad pre-release. Insert the rsvgoverlay element in your
pipeline, and feed it SVG data (through a property or through a
data_sink pad) generated from your real-time data.

Olivier

On Thu, 2011-01-20 at 11:00 -0800, Bert Douglas wrote:

> Hello,
>
> I have a python-gstreamer app that shows video.
> It uses xvimagesink and links it to a gtk.DrawingArea.
>
> This works great.
>
> Now I want to overlay some graphics, dynamically generated from real
> time data.
> Opengl seems like a good choice to render the graphics.
>
> But I have no clue how to combine the video and graphics.
> I don't think they are made to work with each other.
>
> Thanks,
> Bert Douglas
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: opengl on top of video

Andrés González
In reply to this post by Bert Douglas
Hi,
On 20/01/11 20:00, Bert Douglas wrote:

> Hello,
>
> I have a python-gstreamer app that shows video.
> It uses xvimagesink and links it to a gtk.DrawingArea.
>
> This works great.
>
> Now I want to overlay some graphics, dynamically generated from real
> time data.
> Opengl seems like a good choice to render the graphics.
>
> But I have no clue how to combine the video and graphics.
> I don't think they are made to work with each other.
>
> Thanks,
> Bert Douglas

Just an idea: have you tried using gst-plugins-gl for the graphics, and
videomixer to overlay them on the video?

Regards,
Andrés

--
Andrés González

T: 91 458 51 19 (ext:165)
HI-IBERIA INGENIERIA Y PROYECTOS
C/ Bolivia 5 - Madrid - 28016


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel