Have a look at what woohaa (or totem) does to generate video thumbnails,
i.e see;
http://svn.o-hand.com/repos/clutter/trunk/toys/woohaa/wh-video-thumbnailer.c

Essentially a separate (c) process is used which seems to keep things a
little safer.

  == Matthew


On Tue, 2008-02-26 at 22:00 +0100, Florent wrote:
> Hi
> 
> I am heavily using the VideoTexture object (opening dozens of files)
> for displaying previews. When you open a lot of concurrent files,
> system memory can go crazy (had a glib : cannot allocate 1.6 GB
> lately).
> 
> I set the VideoTexture to playing state, seek to a random position,
> take a snapshot (using get_pixbuf) which i set on an overlaying actor.
> What i want after setting the preview snapshot is cleanly free the
> VideoTexture. How can i achieve a clean reinitialization ?
> 
> I also discovered you cannot do a get_pixbuf() on a VideoTexture if
> you don't wait for a few millisecs (i used a gobject timeout around
> 100 for this purpose). Is there a proper signal to connect to, letting
> me know that the VideoTexture is "ready" ?
> 
> Thanks
> 
> Florent

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to