[sugar] [theora] Fwd: video encoding

Erik Blankinship erikb
Mon Oct 15 23:16:24 EDT 2007


> I am not 100% sure multifilesrc is on the xo, but I am pretty sure we
> could get it added.  We are in need of the same component for some our
> development efforts too.


Multifilesrc isn't on the xo, as it is in gstreamer-plugins-bad, evidently
because it hasn't been updated in a while.  Any chance we can get this
element added to sugar so we can see how it works for us?

If we add it to the build, and it works, we can then create movies from
series of images you can grab at your own discretion (perhaps in the way
done by the Web activity):

    def _get_screenshot(self):
        window = self._browser.window
        width, height = window.get_size()

        screenshot = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, has_alpha=False,
                                    bits_per_sample=8, width=width,
                                    height=height)
        screenshot.get_from_drawable(window, window.get_colormap(), 0, 0, 0,
0,
                                     width, height)

        screenshot = screenshot.scale_simple(style.zoom(100),
                                                 style.zoom(80),
                                                 gtk.gdk.INTERP_BILINEAR)

        buffer = self.get_buffer(screenshot)
        return buffer


Then we run those through a gstreamer pipline to spit out ogg files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20071015/d2a83867/attachment.htm 



More information about the Sugar-devel mailing list