[visionegg] Re: (no subject)

  • From: Martin Spacek <visionegg@xxxxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Thu, 14 Sep 2006 00:04:56 -0700

Ethan,

What I've used in the past is similar to the custom presentation loop in the makeMovie2.py demo. Instead of using screen.get_framebuffer_as_image(), I use screen.get_framebuffer_as_array() and add each frame to a pre-allocated array. When my custom presentation loop is complete, I save the big 3D array to a raw file. After that, you can probably convert it to whatever format you like, perhaps using VisionEgg functionality or pygame or pymedia or one of many other possibilities I don't even know of.

Cheers,

Martin


Andrew Straw wrote:
Dear Ethan,

(I am CCing this to you directly, because I had to repost it to the
mailing list -- I don't think you're subscribed from the email address
you posted from.)

The only way I have made "movies" (image sequences which I then encoded
using other software) from the VE is along the lines of the makeMovie.py
and makeMovie2.py demo scripts. These will not skip frames because they
wait for the saving to be done before moving to the next frame. Another
alternative would be something like stream the images using VNC and save
to a movie. I have seen some websites that mention how to do it, but
I've never done it myself, nor do I remember which websites those were,
so you're just as well off searching the net as I am.

Let us know if you find any good solutions!
-Andrew

Cohen, Ethan D wrote:

Andrew:

        Is there a way to capture the output of the VisionEgg screen in the
dynamic state to generate a movie file for Windows?

Avi or wmv or mpeg? I see there is some sort of Python movie capture program
for Linux.

Ethan.

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html



====================================== The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: