How to get a video screenshot?

Started by
4 comments, last by Erik Sintorn 18 years ago
Hello, I'd like to make some videos demonstrating my results in an opengl program, now how do I do that? Stills are no problem, just grab 'em from GIMP or whatever, but I don't know how to make a video capture? I'm sure this has been asked before, but I searched and couldn't find anything. Any suggestions?
Advertisement
You could fraps [smile]
Richard 'ViLiO' Thomasv.net | Twitter | YouTube
since it does not have to run in realtime when recording the video, you can use glReadPixels every frame and write the result as images to disk. The you can use some software to make a video out of them (mencoder comes in mind, i think virtual doubt can do this sort of thing also)
You could capture the screenbuffer and write it into some common
format (tga or jpg)...

However since it tends to get big, your hdd might not be fast enough,
to store the files without drastic drops in framerate.
In that case you have to trick around with the time-delta's you input
into your engine.

You probably have an 'advanceTime(float seconds)' function which updates
your logic and stuff..
Call that with a constant time (eg 1/20). Then do the framecapture
and convert the single frames into a movie.
visit my website at www.kalmiya.com
Quote: In that case you have to trick around with the time-delta's you input
into your engine.


you have to do that anyway, since the video will be played back with constan frame rate.
Thanks Vilio, FRAPS did exactly what I was looking for. Just start FRAPS, start my app and press F9 when i want to record an avi file. There is a 30 seconds limit for the unregistered version, but that's enough for me.

This topic is closed to new replies.

Advertisement