First, we need to identify the differences between media files and encoding: files are a collection of videos, audio, scripts, and containers; the compression algorithm of the video and audio in the file is the specific encoding.
Common audio and video file formats:
* Avi: Audio/Video interaction storage, the most common audio/video container. The most supported video and audio encoding is supported.
* MPG: the audio/video container used for MPEG encoding. It has the stream characteristics. PS is classified into ps, ts, etc. PS is mainly used for DVD storage, and Ts is mainly used for HDTV.
* Vob: the audio and video container format used by the DVD (that is, the video MPEG-2, the audio AC3 or DTS), support for multi-video, multi-track, multi-subtitle chapters, etc.
* MP4: the audio and video container used for MPEG-4 encoding, developed based on QuickTime mov, has many advanced features.
* 3GP: the 3GPP video format, mainly used for streaming media transmission.
* ASF: An audio/video container used by Windows Media for stream transmission and script inclusion.
* RM: the audio and video container used by RealMedia for stream transmission.
* MoV: the audio and video container of QuickTime is probably the most powerful container today. It even supports VR, Java, and so on. Its variants MP4 and 3GP are not so powerful.
* WAV: An audio container (Note: audio only). Generally, WAV is not compressed PCM encoding.
Common audio encoding methods:
* Mpeg1 audio layer 1/2
* Mpeg1 audio Layer 3 (mp3)
* MPEG2 AAC
* MPEG4 AAC
* Windows Media audeo V1/v2/7/8/9
* RealAudio cook/sipro (Real Media Series)
* RealAudio AAc/aacplus (Real Media Series)
* Apple MPEG-4 aac (apple series)
* Ogg (Ogg Vorbis audio)
* AC3 (dedicated DVD Audio Encoding)
* DTS (dedicated DVD Audio Encoding)
* Ape (monkey's audio)
* Au (Sun format)
* FLAC (fress lossless audio)
* MP2 (MPEG audio Layer2 audio)
Common video encoding methods:
* Mpeg1 (VCD)
* MPEG2 (DVD)
* MPEG4 (DivX, Xvid)
* MPEG4 AVC/H.264
* H.261
* H.262
* H.263
* H.263 +
* H.263 ++
* MPEG-4 V1/v2/V3 (Microsoft Windows Media Series)
* Windows Media video 7/8/9/10
* Realvideo G2 (Real Media Series)
* Realvideo 8/9/10 (Real Media Series)
* Apple MPEG-4 (apple series)
* Apple H.264 (apple series)
* Flash video
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/yangshu168/archive/2007/04/30/1592554.aspx