Gizmodo

  • Gizmodo
  • bestmodo
  • lifehacker
  • kotaku
Profile logout login
Kanye's "Apology" Tweets: Edited into Letter Form

Kanye's "Apology" Tweets: Edited into Letter Form #kanye #kanyewest

Let's Talk Adventure!

Let's Talk Adventure! #adventure #toyota

This Week's Best Apps

This Week's Best Apps #apps #iphoneapps

The Seeds of Apple's Cloud

The Seeds of Apple's Cloud #apple #appletv

Samsung's Galaxy Tab Runs Froyo, Has Flash and Measures 7 Inches

Samsung's Galaxy Tab Runs Froyo, Has Flash and Measures 7 Inches #tablets #samsunggalaxytab

All the Cool New Stuff From Apple

All the Cool New Stuff From Apple #apple #appleipod

Palm WebOS 2.0: Now This Is Multitasking

Palm WebOS 2.0: Now This Is Multitasking #palm #webos20

Gizmodo

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

New York, 4:38 AM
Mon Sep 6
11 posts in the last 24 hours

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


Please enter your email address.
Please enter a valid email address.
sending request

GIZMODO TEAM

Tip Your Editors:


Editorial Director:
Brian Lam |

Editor:
Jason Chen
| AIM | Twitter

Features Editor:
Joe Brown
| Twitter

Senior Contributing Editor:
Jesus Diaz
| AIM | Twitter

Reporters:
Matt Buchanan
| AIM | Twitter
Brian Barrett
| Twitter

Contributing Editor:
Kat Hannaford
| Twitter

Contributing Editor, Weekends:
Jack Loftus


Junior Reporters:
Rosa Golijan
| Twitter
Kyle VanHemert
| Twitter

Editor-at-Large:
Joel Johnson
| Twitter

Contributors:
John Herrman
| Twitter
Mark Wilson
| AIM | Twitter
Bryan Gardiner
| Twitter

Contributing Researcher:
Don Nguyen


Contributing Artist:
Chuck Anderson

Interns:
Casey Chan

Ryan Salerno

Jeremiah Dobruck

Christina Bonnington



Heroes and Friends

Comment Account Questions:
Community Guidelines


Popular Posts:
Last 24 Hours
Last 7 Days
Last 30 Days

Media Requests:


Follow Gizmodo on:
Twitter
Facebook
All the Cool New Stuff From Apple on Gizmodo
SF 101: Science Fiction For Beginners on io9
Examining video games' fixation with firearms — at a safe distance — all week long.

SUBSCRIBE TO GIZMODO RSS



Welcome to Gizmodo

  • Sign up for the Gizmodo Daily and get one great story in your inbox each day.


    Please enter your email address.
    Please enter a valid email address.
    sending request

  • Join Gizmodo on Facebook. Click "Like" to get the most important stories in your News Feed.

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:
×
Attribute comment to:
Please enter an email address.
Please enter a valid email address.
Dsmvwl | Admin | Promote only | 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 Collapse all replies
Start a new discussion
By matt buchanan
share on facebook
Nov 20, 2008 02:15 PM 121,029 views on this post, 4,961 new visitors121,029 114
Edit » Set to Draft » Invite » Syndicate » Edit timestamp »

Syndicate this post


Site:
Mode:

sending request
cancel
more about #video
This Video Attack of Google's (and Eric Schmidt) Stance On Privacy Aired On A Jumbotron In Times Square
The World's Biggest Water Balloon Fight Will Make Anyone Smile
You Won't Find This Motorhome in Any Trailer Park
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
  • 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

Register

One last thing!

While we don't require an email address to sign up, consider adding one to your account. This will give you the ability to reset a lost or stolen password.

Please enter a valid email address.
registration sent, waiting for reply

Submit Your Comment

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

Your username will be the part of your email address before the @ sign. If you wish to remain anonymous, create your own username by signing up for a Gawker account here.

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

Already Have an Account?
Login with your Facebook or existing Gizmodo account.

Questions?
Learn more at the Comment FAQ.



Invite a friend to comment

To invite people to this discussion, send them an email invitation by pasting in a list of comma-separated email addresses and then clicking 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

Syndicate

Republish or promote to:
logging in Saving...

Syndicate

Republished On
Post Status
logging in Saving...