What’s correlation between container formats like mp4/mkv/avi/rmvb and video coding like mpeg 4/H.264/H.265?

There are multiple video formats available, like MP4, RMVB, MKV, AVI and etc. Well, you might 

be curious about the relationship and connection between the video formats and MPEG-4, 

H.264 and H.265 these compressed-coding standards. It’s quite complicated, and let’s start with 


MPEG is known as Moving Pictures Experts Group, and MPEG-4 is a codec standard for a group 

of audio and video coding formats introduced in late 1998. MPEG-4 is widely used in the 

compression of audio & visual digital data, CD distribution, telephone, television, broadcast 

applications and much more. 

mpeg4 vs MP4.jpg

H.264 is the part 10 of MPEG-4, also known as the advanced video codec (MPEG-4 AVC). H.264 

is used for taking replace of MPEG-4 Part 2, since it offers higher compression rate than MPEG-4 

Part 2’s video codec. The most common encoders of MPEG-4 Part 2 are divx and xvid 

(open source), and the most common encode of AVC is x264 (open source).


H.265 is a new video codec standard after H.264. It is called as HEVC (High Effective Video Coding) 

by MPEG organization. H.265 is not belong to MPEG-4 standard, and it ensures higher and more 

effective compression rate than H.264.


Now, we come to discuss the container format. 

Popular video formats include MP4, RMVB, MKV, AVI and more. Formally, all of them are extension 

name of video files, and then they are packaging formats (container) of the video files as well. 

We take MP4 format as an example. MP4 (MPEG-4 Part 14) is a digital multimedia container format 

to store audio and video. What is container format? Container is a kind of standard that packages 

the multimedia content (video, audio, subtitle, chapter information and etc.) generated by encoder. 

It makes very easy to playback different types of multimedia content. 

container formats.gif

Another important role of container is to provide index for multimedia content. That is to say, without 

container, you are not able to fast forward or rewind when you watch a movie. Moreover, this movie 

would be no sound if you don’t load or add the audio file manually. 

Another example of container is AAC/M4A. M4A is an extension name and audio format developed 

by Apple, and it is based on AAC codec. In fact, M4A is packaged in the MPEG-4 Part 14 (MP4) 

container, since it has no original AAC data stream of the container. 

Different containers have different features. We still take the above mentioned formats: MP4, RMVB, 

MKV and AVI as example. 

MP4 is the container format designated officially, so it is supported by almost all platforms, systems 

and devices. RMVB is a closed standard container used to package realvideo encoded videos. MKV 

is an open container that has high compatibility; it can package almost all encoding formats. As for 

AVI, its old framework is no longer applicable to those new encoding formats.

Back to Top

Top Tips

Movie quality difference among CAM/TS/DVDscr
Download and convert Vimeo videos to mp3
How to convert 3gp mobile videos
How to convert flv to mp4/wmv/3gp
How to convert f4v to mov/mp4/mp3
How to convert mkv to mp4/avi/mp3
How to download youtube video to mov file
How to convert wav to m4a/flac/mp3
How to convert avi to mov/mkv/mp4
How to convert AC3 to aac/mp3
How to convert OGG to mp3/mp4
How to convert videos to play on iPhone
How to download videos to play on iPhone
How to convert MPG video to mp4 video
How to convert mka to mp3
How to download and convert aac auido files
How to Shoot Good Video with iPhone
3 easy ways to edit your videos
10 ways to download free stock videos and footages
The difference between lossless audio format and loss audio format

For Further Knowing About Video

How to download youtube video with subtitles
How to convert srt to ass subtitles for videos
What does HDRip/DVDRip/DVDscr/TC mean?
How to convert VOB to mp4 or mp3
How to convert WMV video to MP4
How to convert flac audio to mp3/wma file
How to convert lossless m4a to mp3
How to convert DVD to digital format
How to download and Convert youtube to 3G2
How to remove drm from m4v video
Download youtube to play on Android
How to copy and convert dvd to iPhone/iPad
3 ways to convert DVD to less than 500MB
How to convert normal videos to VR videos
How to download metacafe hot and funny videos
How to reduce youtube video file size
Best way to find top and best youtube channels
9 Great Youtube French channels for Learning French
Top 6 Categories of Youtube Fit Channels
The correlation between container formats and video coding

iFunsoft Products

iFun Video Converter
Format Package
Phone Saver

About iFunsoft

About Us
Online Feedback
FAQs of Format Package
FAQs of iFun Video Converter
Picas - Photo Artwork