FRAPS works miracles.
You could also incorporate your own AVI saving code in the demo (nasty) and if you have the ability to fix the frame rate - not delta timing, but pass in a fixed time slice to the movement routines - you can just dump the frames.
Jim