Originally posted by: Chriz
I was curious, for encoding videos, what are the differences between Xvid, Mpeg4 (MP4), and H.264? Mainly I'm wondering which is the best quality.
I was kind of curious on Audio too, I'm just using Lame Mp3 to encode.
H.264 or AVC or x264, depending on what you look at will give you the highest quality but sometimes takes a while to encode. Mpeg4 includes xvid and h264 so thats not really a choice.
And good old xvid. Solid and reliable, although compared to x264 it's showing it's age on lower bitrate encodes. And higher bitrates you shouldn't be able to tell the difference. It also takes less CPU power to decode but on modern CPU's at non-HD resolutions this shouldn't be a problem (unless your watching it on an Xbox with XBMC or something
, then you might want to use Xvid, although lower bitrate and lower resolution x264 files will play)
But for max quality, x264+some avisynth filters are hard to beat.
As for audio codecs, lame (mp3) is also starting to show its age.
Ogg Vorbis beats it (especially the aotuv versions). I consider AAC to be tied with vorbis but I still like vorbis better for the lower amount of CPU resources it takes to decode (important on an Xbox with XBMC
)
Also, check out
AutoMKV. Encodes xvid, wmv, and X264 (which is the same as AVC or h264, just a different encoder name). In mp4, mkv, or avi file packages (avi only supports mp3 and xvid).