[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Screencasting with pygame?



Ethan Glasser-Camp wrote:
Luke Paireepinart wrote:
save all your blits to bmps and then compress them into a video file
after :D
or PNGs...

This worked really well, actually. I tried xvidcap, as Kai suggested,
but I missed a lot of frames. This might be because it was two
processes, and the operating system switched back and forth
unpredictably, causing the game to run for a few frames at a time
between screencaps. If you make the game do the blit itself, though,
you can ensure that every frame gets captured.
Ha, glad to hear it.
It's not practical really to do that in general, cause I guess it would take a lot of hard-drive space,
and in most games you can't tell them to dump their frames for you,
but since you wrote the game, no problem!
I'll check out the link and make some videos sometime.
Thanks for updating us on your results :)
-Luke
You can use mencoder to convert images to a video, see:
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html .

Ethan