Gizmodo

  • Gizmodo
  • bestmodo
  • lifehacker
  • kotaku
Profile logout login
Uncle Joel's Guide to Giving Gadgets on Valentine's Day (or, Relationship Advice from a Man Who Drinks Alone)

Uncle Joel's Guide to Giving Gadgets on Valentine's Day (or, Relationship Advice from a Man Who Drinks Alone) #giftguide #valentinesday

25 New Ads to Introduce Xfinity to the Masses

25 New Ads to Introduce Xfinity to the Masses #photoshopcontest #photoshop

What Is Google Buzz?

What Is Google Buzz? #google #googlebuzz

74 Phenomenal Panoramic Planets

74 Phenomenal Panoramic Planets #photography #shootingchallenge

Apple iPad: Everything You Need to Know

Apple iPad: Everything You Need to Know #apple #appleipad

Canon Rebel T2i DSLR: 18MP and Legit 1080p Video for $899

Canon Rebel T2i DSLR: 18MP and Legit 1080p Video for $899 #digitalcameras #canonrebelt2i

Super Bowl Ads 2010: Lots of Chips and Beer, Light On Gadgets

Super Bowl Ads 2010: Lots of Chips and Beer, Light On Gadgets #superbowl #superbowlads

Gizmodo

FAQ. Include # before tag:
#tips, #whitenoise, #broken, #lifechanger, etc.

New York, 5:45 AM
Wed Feb 10
59 posts in the last 24 hours

FR | IT | DE | SP | JP | AU | BR

GIZMODO TEAM

Tip Your Editors:


Editorial Director:
Brian Lam | | Twitter

Editor:
Jason Chen
| AIM | Twitter

Features Editor:
Wilson Rothman
| Twitter

Senior Contributing Editors:
Jesus Diaz
| AIM | Twitter
Mark Wilson, Reviews
| AIM | Twitter

Contributing Editors:
Matt Buchanan
| AIM | Twitter
Adam Frucci
| Twitter
Sean Fallon
| Twitter
Jack Loftus
| Twitter
John Herrman
| Twitter
Dan Nosowitz

Chris Mascari

Kat Hannaford
| Twitter
Rosa Golijan
| Twitter
Chris Jacob


Columnist:
Brendan I. Koerner

Interns:
Don Nguyen

Kyle VanHemert


Heroes and Friends

Comment Account Questions:

SUBSCRIBE TO GIZMODO RSS

New: Breaking news and daily top stories via email
9515 Subscribers


Please confirm your birth date:

Please enter a valid date
Please enter your full birth year
This content is restricted.

Giz Explains: Every Video Format You Need to Know

Once upon time, video codecs and formats were really only the concern of AV nerds, anime freaks and hardcore not-so-legal movie downloaders. Now, even the most part-time of geeks has to deal with them, whether they're trying to stream a flick across their house with an Apple TV, dump some video onto their phone or just trying to grab last night's episode of Dexter because they, uh, forgot to renew their Showtime subscription. It's messy and annoying, but we're here to clean it up. Take a deep breath.

You might recall our discussion about video bitrates earlier, or how much data is packed into a file. As a general rule, more bits per second translates into more betterer quality audio and video. The variable in that—the other part of the equation—is how the content is compressed and de-compressed. Better compression techniques—the zen of knowing what bits of data to pull out to make big data chunks smaller—make for better quality video while taking up less space on your hard drive. Basically, the part you need to know is that codecs are the software that make that magic happen.

Standard Standards
• H.261 is not a term you have to worry about, but it's the technology that most video standards and codecs were originally based on. Originating in 1990, it's the first major digital video compression standard, and like other "H" standards, it was developed by the International Telecommunication Union. This one was primarily for teleconferencing over ISDN lines, and as such, it looks like ass.

• MPEG-1 Part 2 is another oldie, developed by the Movie Picture Experts Group and approved in 1991. (BTW, the whole "part" thing is because video is just one "part" of each MPEG standard.) Based quite a bit on H.261, MPEG-1 was designed to take VHS quality video and squeeze it down to a bit rate of about 1.5Mbps, optimized for CD transfers. No surprise, it's the standard used for all VCDs (which can play in most DVD players), but not a standard you would see hanging around today.

• With MPEG-2 Part 2, approved in 1994, we're finally talking decent vid. Also known as H.262, since it was developed jointly by the ITU-T and ISO, MPEG-2 is an extension of MPEG-1 that delivers better resolution and higher bit rates (3-15Mbps for standard def and 15-30Mbps for HD, though the spec allows for up to 100Mbps). It's the video codec used by DVD and digital television, though now it's slowly being replaced by the more efficient MPEG-4, except on DVDs, where it'll ride out that disc format's lifetime.

• H.263 is designed for sending video over crappy connections. So it's used to encode most Flash video and to send video over mobile networks.

• MPEG-4 is where we really stand right now. It has a much broader scope than past MPEG standards, aiming to tackle both the low end (crappy cellphones on a crappy network) and the high end (Blu-ray). It's still developing, so it's not-so-coincidentally where this whole story gets messier. There are two relevant parts of the MPEG-4 standard for our myopic video purposes: There's Part 2. And there's Part 10—which is also known as H.264 or Advanced Video Coding (AVC). To be clear though, even though they're both part of the MPEG-4 standard, they're totally different formats. Nevertheless, both are more efficient at compression than past MPEG codecs, delivering better quality using less space.

• Okay, so if you've ever frequented a Torrent site, you've actually watched tons of videos that use MPEG-4 Part 2, though it's not like they would've had a flashing sign telling you so. MPEG-4 Part 2 actually has different "profiles"—the two that matter being Simple Profile, for low bitrate, low-res stuff, and Advanced Simple Profile. The latter profile is what's used by movies you would download in formats like DivX or XviD or 3ivx—which are all codecs that are essentially just differing implementations of the MPEG-4 Part 2 standard.

• MPEG-4 Part 10, the other part, was actually co-devopled by MPEG and the ITU-T, so it's also known—in fact, more commonly known—as H.264. It's more efficient than MPEG-2 and MPEG-4 Part 2, delivering the same quality video in as little as half the space, making it suitable for the low and high-end. Because of this, it's quickly becoming the standardest standard. It's part of the HD DVD and Blu-ray spec, replacing MPEG-2 in digital TV (like with satellite services and AT&T's U-Verse IPTV) and supported by pretty much every portable video player on the planet from the iPod to the PSP. Apple has a decent, if Kool-Aid flavored, FAQ about H.264.

• VC-1 is essentially a Microsoft developed alternative video codec to H.264 released as a standard by the Society of Motion Picture and Television Engineers, though it descends from the same H.26X/MPEG family. (It essentially started life as WMV9, but then Microsoft shopped it to the SMPTE to make it an industry standard, and now it is.) It too, is part of the mandatory Blu-ray and HD DVD spec, and is the official video codec of the Xbox 360. It's pitch is the same as H.264's—trying to deliver better quality using less space, like HD video in 6-8Mbps.

Free-Floating Codecs
Okay, so all that stuff up there are industry-wide standard video codecs. On top of all of those, various entities love putting out their own spin on those standards. As we mentioned before, DivX (proprietary) and XviD (open source), for instance, use MPEG-4 Part 2 (more specifically, MPEG-4 ASP) compression, meaning stuff that'll natively play back MPEG-4 ASP will also play back DivX. Like the Xbox 360, for instance. There are a ton of MPEG-4 ASP-based codecs, actually, like FFmpeg, 3ivx and others, but DivX and XviD are the most common. Same deal with H.264: Some well known codecs that use it are Apple's Quicktime H.264, x264 and Nero Digital. You've also got Windows Media Video (WMV) codecs, which are Microsoft's proprietary twists on industry standards.

Containers aka Wrappers
Alright, well you've probably noticed that none of your video files have the extension .h264 or .vc1 or the like. That's because videos are packaged in containers or wrappers that stuff things like the audio, navigational info, etc. along with the video in a single pretty file. Naturally, there are about as many of them as there are codecs. To be clear, you would take a video encoded with, say, H.264, and wrap it up as a .mp4 or .avi file.

The majors ones are:
• AVI (Audio Video Interleave) is Windows' standard multimedia container
• MPEG-4 Part 14 (known to you as .mp4) is the standardized container for MPEG-4
• FLV (Flash Video) is the format used to deliver MPEG video through Flash Player
• MOV is Apple's QuickTime container format
• OGG, OGM and OGV are open-standard containers
• MKV (Mastroska) is another open-specification container that you've seen if you've ever downloaded anime
• VOB means DVD Video Object. Guess what? It's DVD's standard container, and what you get when you rip a DVD.
• ASF is a Microsoft format designed for WMV and WMA—files can end in .wmv or .asf

So, in order to play a video file, your setup has to be able to handle both the actual video codec and the container. It's why you can try to play an AVI file and Windows Media Player laughs at you, even though it totally played one a minute ago— the container was no problem, but it didn't have the right codec. Or conversely, even though an iPod could play back an H.264 encoded video, if it was wrapped up in MKV, it won't be able to read it.

Okay, my brain hurts. Hopefully this will make yours hurt less when it comes to dealing with pesky videos. If you'd like to do even more homework, Wikipedia, as always, has a more in-depth discussion. And Doom9 is always an amazing resource for all things digital video.

Something you still wanna know? Send any questions about codecs, kitties or pad thai (but not RealMedia) to tips@gizmodo.com, with "Giz Explains" in the subject line.

[Image: ME@Flickr]


Send an email to matt buchanan, the author of this post, at matt@gizmodo.com.


Upload an image | Add an image URL ×
×
×
Choose a file to upload:
×
Dsmvwl  Admin  Promote to frontpage Approve user Ban user ×
Loading comments ... -/|\
Earlier discussions Paging in progress... | Other discussions | Show all discussions | Show featured discussions only | Expand all replies Hide all replies
Start a new discussion
By matt buchanan
Nov 20, 2008 02:15 PM 108,945 114
Edit » Set to Draft » Invite » Syndicate »

Syndicate this post


Site:
Mode:

sending request
cancel
more about #video
Google Street View Comes to the Ski Slopes
Your Future Morning View Will Make You Vomit
Parisian Oops: A More Realistic Google Ad
read more: #videocodecs, #video, #videostandards, #codecs, #codec, #avi, #divx, #xvid, #mpeg, #mpeg4, #mpeg2, #mpeg4part2, #mpeg4part10, #h261, #h262, #h263, #h264, #downloads, #videodownloads, #top, #feature, #gizexplains, #wmv, #mov, #movies, #videos, #videoformats, #bluray, #hddvd, #itunes, #ipod, #apple, #sony, #microsoft, #homeentertainment, #guidetovideocodecs, #videocodecsexplained, #whatsavideocodec, #videocodecguide, #top, #feature
 
  • Archives
  • About
  • Advertising
  • Legal
  • Help
  • Report a Bug
  • FAQ
Original material is licensed under a Creative Commons License permitting non-commercial sharing with attribution.

Login

Enter your username and password.

Please enter a username.
Please enter your password.
logging in
Login via Facebook | Sign Up | Forgot Password?

Reset Password

Please enter your email address to have your password reset.

Please enter your email address.
Please enter a valid email address.
requesting password reset

Register

Registering will give you a user profile and the ability to add other users as friends. To become a commenter, however, you need to audition.

Want to know more? Consult the Comment FAQ and legal terms.

Please enter a username.
Please enter a password.
Please confirm your password.
Passwords are not identical.
Please enter a valid email address.
registration sent, waiting for reply

Submit Your Comment

You don't need to login to comment. Just enter your email address below.

See how your address will be displayed in the Comment FAQ.

Please enter a valid email address.
Please enter a valid email address.
logging in

Login with your Facebook or Gizmodo account.

Sign up here.



Send An Invitation

To invite commenters to this page, paste in a list of comma-separated email addresses, and then select send invites.

Please enter at least one email address.
Please use valid email addresses.
Please use unique email addresses.
Please enter fewer addresses.
requesting invites

Send a link

Send a link to this post 'Giz Explains: Every Video Format You Need to Know' via email:

Please enter your name.
Please enter your email address.
Please enter a valid email address.
Please enter your recipient's email address.
Please enter a valid email address.
Please enter your message.
Sending message