QuickTime Pro can be used to encode to an MPEG4 file (export to MP4). Also, there are free command line tools which can take an AVI and reweave it as an MPEG4 file--this is useful if you want to use, say a Video for Windows XviD codec to do the encoding.
Commandline tool for this operation: The actual program is called mp4creator.
Download mp4creator from here (full package):
Go to a command-prompt (Start - Run - Command(Win9x/ME) or cmd (WinNT, W2K & WinXP)) and type mp4creator60 to get a list of options.
I suggest you put the creator and all the input files at the same place so your commandlines will be shorter. First let's put the video into an MP4 stream:
mp4creator60 -c=video.avi -H -rate=23.976 temp.mp4
will put the video file video.avi, having a framerate of 23.976fps into a file called temp.mp4. Then add the audio stream:
mp4creator60 -c=audio.aac -H -I -rate=23.976 -optimize temp.mp4
Then temp.mp4 file will now contain both audio and video track.
Last update: 07:23 PM Sunday, February 26, 2006