Re: [gtkmm] gtk/gtkmm performance worries



On Mon, 2004-07-12 at 10:05, Johan Kohler wrote:
> I want to use gtk(mm) to display video from a surveillance
> camera.  How do I make the most of the graphics
> capabilities that gtk(mm) offers?  
> 
> For example, what is the best way to display images fast?
>  How do I choose between Gdk::Pixbuf, Gdk::Pixmap,
> Gdk::Image?  Is Gnome::Canvas any good?  

For video you would want to use the video hardware available, so
re-using the video widget in Totem would be the best choice.  This uses
Xine or GStreamer as the backend and will talk with your video hardware
for you.

In fact, if all you want to do is watch video, Totem comes with a small
application ("Vanity") which simply streams video from a camera into a
window.   At least this could be a starting point for your code.

Ross
-- 
Ross Burton                     Software Engineer
OneEighty Software Ltd          Tel: +44 20 8680 8712
Cygnet House                    Fax: +44 20 8680 8453
12-14 Sydenham Road             r burton 180sw com
Croydon, Surrey CR9 2ET, UK     http://www.180sw.com./
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]