Well, as they already mentioned H.264 is an audio encoding, and .avi is a container format, even so I would ABSOLUTELY prefer to use .mov format, since .avi takes up a lot of space, and Quicktime Movies in AE with H.264 audio encoding, best solution ever.