No matter what version of After Effects you’re using, you shouldn’t encode your final compressed version from AE. Dave LaRonde explains why:
Dave’s Stock Answer #3:
Don’t use AE to compress files for final delivery. The various compressors are there only to make quick ‘n dirty files showing a project’s progress to producers, clients, the kids, etc. AE is incapable of doing multipass encoding, a crucial feature that greatly improves the image quality of H.264 and MPEG-type files in particular.
Render a high-quality file from AE, and use a different application to do the compression. Popular ones are Adobe Media Encoder, Sorenson Squeeze and Apple’s Compressor, which comes bundled with Final Cut Suite. Even compressing in Quicktime Pro is better than compressing in AE…
Now, that’s not your main problem. Your main problem is that CS4 and earlier versions of After Effects had problems with m2t footage and any other kind of long gop codec.
Again, we can turn to Dave LaRonde:
Dave’s Stock Answer #1:
If the footage you imported into AE is any kind of the following — footage in an HDV acquisition codec, MPEG1, MPEG2, mp4, m2t, H.261 or H.264 — you need to convert it to a different codec.
These kinds of footage use temporal, or interframe compression. They have keyframes at regular intervals, containing complete frame information. However, the frames in between do NOT have complete information. Interframe codecs toss out duplicated information.
In order to maintain peak rendering efficiency, AE needs complete information for each and every frame. But because these kinds of footage contain only partial information, AE freaks out, resulting in a wide variety of problems.
Your solution would be to use the Adobe Media Encoder (or whatever) to convert your m2t files into uncompressed AVI or a Quicktime (with the PNG codec or some other lossless codec) and replace the footage in your AE comp with it. And then render a lossless file out of AE and use the Encoder again to make your final h.264. 🙂
– The Great Szalam
(The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)
No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.