To clarify things a bit more, the extension of .mpeg4 can mean different things to different people. Here is a bit of background on the subject.
Most multimedia files have two parts to them: the
container and the
data. The container is simply a way to store data within a file. The data itself is made up of the video and/or audio component of a media file.
Different containers have different characteristics. Some of the larger differences between them are how they interleave (mix) different bits of data, usually called
streams, together in a file. Some add seek data at the end of the file, others break it up and mix it in at specific intervals. Some can only handle more simplistic streams (ie, constant bitrate streams) and others can handle more advanced ones (ie, variabe bitrate streams).
There are a huge number of containers out there. Here are just a few:
.AVI (Audio Video Interleave format)
.OGG (Operation Good Guys format)
.MOV (Quicktime Movie format)
.MCF (Multimedia Container format)
.Matroska (fork off the MCF project)
.MPG, MP2, MP4 (various MPEG container formats)
For a larger list: LINK
Streams are where things get complicated. Most of them use some form of compression to shrink the amount of data held within them. A method to describe how to compress and uncompress data is called a
codec.
There are hundreds of codecs available. Here is a sampling of some of the more common video ones:
Cinepack
Indeo
RLE
MPEG-4 ASP (Advanced Simple Profile) based: DivX5, xVid, MS MPEG-4 v3
MPEG-4 AVC (Advanced Video Coding) based: H.264
The problem with a file ending in .MPEG4 is that it could mean several things:
A file container using the MPEG4 Part 14 (ISO/IEC 14496-14) file format
A file encoded using the MPEG4 Part 2 (ISO/IEC 14496-2) "ASP" video codec
A file encoded using the MPEG4 Part 10 (ISO/IEC 14496-10) "AVC" video codec
Most of the time, a file ending with .mp4 or .mpeg4 is the first of those three - its specifying the container format. However, some people will name AVI and MOV containers with those extensions because the video stream inside of them uses one of the later two video codecs. Confusing, eh?