   Screen Recording Problem
  Hi All;I have an OpenGL (actually OpenSceneGraph) based 3D real time game-like application and I want to record the screen video with sound and without dropping the performance of overall system. What is the best way to do it? I first tried to insert some screen recording code into the application and result was terribly bad and then I used some external program (FRAPS) to record and it also decreases the speed 20 to 30 FPS. We have lots of models in the application so keeping the overall application  at 25 FPS is really hard job. so I really need an effective way to do it. Otherwise with screen recording, application will be work at 5 FPS (which is disaster :( ) To make it clear, system is windows based and recording format can be avi, mpeg like format. Thank you so much for the answers..   
  FRAPS is probably as close as you're going to get. Uncompressed video is probably not possible - 30 frames of uncompressed video at 1024x768 is 67.5mb. No regular hard drive can sustain that write speed. Even the lossless-compressed FRAPS video suffers from hard-drive write speed limitations.And compressing the video to any great degree is also probably not going to work. Compressing video takes a _lot_ of CPU power, and any advanced codec isn't going to be able to compress in realtime even with a full CPU core dedicated to it (much less with a game also running in the background).MPEG might be simple enough, fast enough, and compress well enough for your purposes. But even DVD quality is pretty terrible (by PC standards). Depends on what you need to do.   