yeah, I will try it. 2012/9/9 Dunrong Huang <riegama...@gmail.com>
> 2012/9/9 flooding Controlled <flooding2...@gmail.com>: > > Sounds good. But if we want to convert images to video, nearly 24 images > > per seconds to be catched, is this possible for spice to do this ? > > > 1000ms/24=42, means spice_display_get_pixbuf() should be called every 40ms, > e.g. > while (1) { > spice_display_get_pixbuf(display); > ........ > usleep(40000); > } > > I concern that the spice may crash... > > > I hacked spicy.c, added some codes as the above and test it. > seems look good. > > > > 2012/9/9 Dunrong Huang <riegama...@gmail.com> > >> > >> 2012/9/8 flooding Controlled <flooding2...@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@lists.freedesktop.org > >> > http://lists.freedesktop.org/mailman/listinfo/spice-devel > >> > > >> > >> > >> > >> -- > >> Best Regards, > >> > >> Dunrong Huang > > > > > > > > -- > Best Regards, > > Dunrong Huang >
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel