Rendering .avi

Hi
I am trying to render a patch as a .avi file with the Writer (.avi) node, but there seems to be some problem with the frame rate and the rendered file. I have tried to get things fixed with the MainLoop node but without success.
What I am trying to accomplish is to save some texture work on a file so that I can play it back on a less powered machine.
I am also interested on understanding which one is the best way to render and then re-use movie files without loosing quality and resolution.
tx
Simone

please read here: How to capture the output of a Renderer