[Spice-devel] Screen video support

Dunrong Huang riegamaths at gmail.com
Sat Sep 8 10:52:32 PDT 2012


2012/9/8 flooding Controlled <flooding2012 at gmail.com>:
> Hi guys:
>     A crazy idea or , question:
>     Does the spice can support catching screen as video ? Or any ideas about
> this ?
Spice has provide a API that can take the screenshot of the display .
So you can hack it yourself. e.g. use spice_display_get_pixbuf() and
gdk_pixbuf_save()
to save the screen as images, then convert those images to video using ffmpeg.

I dont know whether there is a better way to do this, but i think the
above methods can work.
>
> Regards.
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Best Regards,

Dunrong Huang


More information about the Spice-devel mailing list