On Fri, 2009-06-05 at 14:18 +1000, Saul Lethbridge wrote: > Would I be able to use glReadBuffer & glReadPixels to get the image > data? Am I on the right track? > > > http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/readbuffer.html > http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/readpixels.html
instead of using glReadPixels directly you can use: clutter_stage_read_pixels and push the unsigned char* buffer inside GStreamer, for instance. ciao, Emmanuele. > > > > On Thu, Jun 4, 2009 at 6:59 AM, Florent <fthi...@gmail.com> wrote: > Hello, > > > I'm wanting an efficient way of capturing image data on the > stage. I'd like > > to be able to take video of the stage and save it to a file. > So being able > > to grab image data, frame by frame, from an animation. Has > anybody attempted > > this or have any idea where I should start looking? > > > See > http://lists.o-hand.com/clutter/0175.html > http://lists.o-hand.com/clutter/2163.html > > I recall pippin to have some patch for rendering video using > ffmpeg, > but in short there is nothing like that in the main code > (yet?). > > There are ongoing experiments around gst-gl with clutter, > might be > your best chance. Or simply try general purpose screen capture > software. > > >I guess the best way > > would be for clutter-gst to offer this kind of feature. > > > clutter-gst just displays video frames to an actor. > > Florent -- Emmanuele Bassi, Senior Engineer | emmanuele.ba...@intel.com Intel Open Source Technology Center | http://oss.intel.com -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com