I am still using PV 2.6. and I generate jpeg with Paraview animation tools. To generate an avi file, I used another software called JpegVideo This software can let you choose the codecs, the speed, etc...