If your game is quite processor intensive and you don't care about recording sound, what I did in my code reduce the game's rendering and game speed by half or a quarter.
Then you can play your game in slow motion giving your PC and fraps ample time to do their work. Then afterwards say you played your code in 15fps, speed up your movie by 400%, export as 60fps (or whatever conversion speed you had going) then it will all be back to normal.
Oh yeah and don't get Fraps to encode on the fly, that makes it well slower, just record to uncompressed full size frames for best performance.
Then you can play your game in slow motion giving your PC and fraps ample time to do their work. Then afterwards say you played your code in 15fps, speed up your movie by 400%, export as 60fps (or whatever conversion speed you had going) then it will all be back to normal.
Oh yeah and don't get Fraps to encode on the fly, that makes it well slower, just record to uncompressed full size frames for best performance.