Re: how to display video frames effectively under gtk+?
- From: Lusotec <nomail@xxxxxxxxxx>
- Date: Wed, 03 Jun 2009 11:06:24 +0100
KOFKS wrote:
I use GTK+ to implement the GUI part, but I do not know how to draw
each frame effectively.
My plan is to draw each frame onto a gtk_drawing_area, and then use a
timeout callback function to emit expose event at proper interval. The
real display will be done in the callback function of expose event.
This may work, but I think there maybe some better way. Will some one
offer better methods?
Take a look at the XVideo X extension. Its purpose is to output video and
has hardware acceleration support.
Look in http://en.wikipedia.org/wiki/X_video_extension for more information.
Regards.
.
- Follow-Ups:
- References:
- Prev by Date: CPU load monitoring
- Next by Date: Re: how to display video frames effectively under gtk+?
- Previous by thread: how to display video frames effectively under gtk+?
- Next by thread: Re: how to display video frames effectively under gtk+?
- Index(es):
Relevant Pages
|