QuickTime 7 supports H.264 video and AAC audio, but
it does
not support them muxed in the AVI container format. However, you can
use MEncoder to encode the video and audio, and then use an external
program such as mp4creator (part of the MPEG4IP suite) to remux the
video and audio tracks into an MP4 container.
QuickTime's support for H.264 is limited, so you will need to
drop some
advanced features. If you encode your video with features that
QuickTime 7 does not support, QuickTime-based players will show you a
pretty white screen instead of your expected video.
B-frames: QuickTime 7 supports a maximum of 1 B-frame, i.e.
-x264encopts bframes=1. This means that b_pyramid and weight_b will
have no effect, since they require bframes to be greater than 1.
Macroblocks: QuickTime 7 does not support 8x8 DCT
macroblocks. This
option (8x8dct) is off by default, so just be sure not to explicitly
enable it. This also means that the i8x8 option will have no effect,
since it requires 8x8dct.
Aspect ratio: QuickTime 7 does not support SAR (sample
aspect ratio)
information in MPEG-4 files; it assumes that SAR=1. Read the section on
scaling for a workaround.