Re: [clutter] Capturing image data from stage save as video file.

2009-06-08 Thread Florent
the gnome-shell project has a set of hooks that allow them to capture the contents of the screen to make videos through GStreamer. I suggest you take a look at that as well. Very interesting, thanks for pointing it out ! It's located in src/shell-recorder.c, and is a gstreamer plugin based on

Re: [clutter] Capturing image data from stage save as video file.

2009-06-08 Thread Jimmy Thrasher
Take a look at Yukon: https://devel.neopsis.com/projects/yukon/ It's meant for GL capturing. I've used it, and it works, though I've never used it for Clutter. Jimmy On Mon, Jun 8, 2009 at 7:00 PM, Florentfthi...@gmail.com wrote: the gnome-shell project has a set of hooks that allow them to

Re: [clutter] Capturing image data from stage save as video file.

2009-06-05 Thread Emmanuele Bassi
On Fri, 2009-06-05 at 14:53 +1000, Saul Lethbridge wrote: I'm thinking it might be easier to simply offscreen the stage and do a gdk_pixbuf_get_from_drawable for each frame, then send that frame on for encoding to video. Has anybody tried this? it's not necessary. the gnome-shell project has

Re: [clutter] Capturing image data from stage save as video file.

2009-06-04 Thread Mustafizur Rahaman
Hi, You can use glReadPixels, but the problem is glReadPixels reads the data assuming origin at lower left corner of the screen, where your video data may be shown in a window where the origin is top left corner. So the image data you get here is actually vertically flipped, so you have to

Re: [clutter] Capturing image data from stage save as video file.

2009-06-04 Thread Saul Lethbridge
I'm thinking it might be easier to simply offscreen the stage and do a gdk_pixbuf_get_from_drawable for each frame, then send that frame on for encoding to video. Has anybody tried this? On Fri, Jun 5, 2009 at 2:46 PM, Mustafizur Rahaman mustafizur.raha...@azingo.com wrote: Hi, You can use