You have to render it out and i wouldn't go directly to avi or mov i would render a tga sequence for instance, you can find that stuff in the renderglobals See image