[sugar] [theora] Fwd: video encoding

Ed Stoner ed
Tue Oct 16 08:50:42 EDT 2007


That would be perfect for what I'm doing, and even better if someone 
figured out the right incantation for the gstreamer pipeline :-)

Erik Blankinship wrote:
> 
>     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.
> 



More information about the Sugar-devel mailing list