Sorry for bringing the old thread up,
I have tried that method and it does not work good enough for my purpose. First, it creates a snapshot of the whole screen (each file is 7Mb) and I need to make a snapshot of just a small portion on the screen with size 320x240. Second, I am trying to create a smooth movie of visualization output using around 20 fps. I cannot save the whole screen 20 times per second.
Does anybody know any solution? I am getting close to buying a web cam and directing it on the screen of the workstation to record a movie of the output.