Login | Register

TeknologikL

"Plug it, play it, burn it, rip it"
TeknologikL is a place for conversation and discussion about new technologies emerging in consumer electronics with a focus on high-definition video and audio. The blog will cover topics including home theater equipment, digital distribution, media streaming, electronic product reviews and more.

The blog's owner Mike Kaplin is an e-Media Manager at Globalspec, constantly searching for the next device to satisfy his ever growing hunger for technology. A media junkie standing on the edge of reality, ready to take the jump.

Previous in Blog: Jailbroken iPhones Go Mainstream   Next in Blog: AVI - The Video Format That Won't Die
Close

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







2 comments

What's in a Container? Video Containers Explained

Posted April 02, 2009 12:00 AM by Kaplin

No, I'm not talking about Tupperware. A multimedia file container is a computer file that holds various types of data within. These data types usually consist of video and audio streams, as well as other types of media including subtitles, pictures, and menus.

Although usually used for audio/video, a container format can technically hold any sort of data. Even if you haven't heard of the term, you are probably familiar with a few container formats. Some popular multi-media containers include AVI, VOB, MP4, MKV, FLV, and ASF.

The container format specifies the types of data within and the way it is stored, but not specifics on how to view the individual streams. That is where video codecs come in, which are often confused for containers themselves.

Video Codecs
A video codec is a way of compressing and decompressing digital video so that the overall file size is smaller than the original uncompressed video. Most video codecs use lossy compression; meaning that after uncompression, the video has lost some of its original quality. Although there are lossless video codecs such as HuffYUV and Lagaraith, they are much less common as some quality loss is generally accepted for having more manageable files.

Various codecs can be used within any given video container as long as the codec is supported by the container specifications.

DirectShow Filters
DirectShow is a multimedia framework developed by Microsoft that is a standard component in all versions of Windows operating systems since Windows 98. DirectShow takes complex multimedia tasks, such as video playback, and divides it up into a number of separate steps known as filters. Each of these filters can be thought of as one step of processing the data in the container for playback.

DirectX is required to play media using DirectShow. It is recommended that you have at least DirectX 9.0, which comes preinstalled on Windows XP SP2. Vista users already have DirectX 10 preinstalled on their system.

Almost all codecs can be implemented as DirectShow filters, but filters also have other uses as well - such as deinterlacing video or combining several video or audio streams.

With so many different media containers available to choose from, how do you decide which one is best? Over the next several weeks, I will take a closer look at some of the popular containers and go over the advantages and disadvantages of each.

Are there are any specific video formats you prefer or would like to see discussed? Leave a comment.

More Info:
AfterDawn: Container
Wikipedia: Container Format (digital)


Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Power-User
Engineering Fields - Mechanical Engineering - BSME Clarkson University 1992 Engineering Fields - Software Engineering - BSME Clarkson University 1992 Fans of Old Computers - Commodore 64 - New Member

Join Date: Apr 2008
Location: Troy, NY
Posts: 346
Good Answers: 3
#1

Re: What’s in a Container? Video Containers Explained

04/03/2009 3:31 PM

Hi Kaplin,

Great write-up - nice to see this explained so well. I'm a fan of Nero, and recently produced an ".avi" container (think it was the "DVD" option within the software) using it on the way to posting my family's Disneyworld video. Selecting the right container to optimize video quality while balancing against capacity and video length - 1024Mb per video limit on FaceBook and an 11 minute video - was my challenge.

- Larry

__________________
Follow Larry Kelley --- on Twitter: http://twitter.com/Larry_Kelley --- and on CR4: http://cr4.globalspec.com/search/sitesearch?do=show&us=15248&srchobjs=t,be
Power-User

Join Date: Feb 2005
Location: New York
Posts: 267
Good Answers: 7
#2
In reply to #1

Re: What’s in a Container? Video Containers Explained

04/09/2009 9:36 AM

Hey Larry,

Thanks for the comment.

My next entry on the AVI Video Container is up now and although you will find I was pretty harsh on the format, it is still probably one of your best bets as far as compatibility is concerned. Just try to make sure you are aware of what codec you are using.

As for 1GB for 11 minutes of footage, that should be simple. Most of the video's I have seen compressed with DivX or XVid usually end up about 100MB for 10 minutes.

__________________
www.teknologikl.com
2 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Previous in Blog: Jailbroken iPhones Go Mainstream   Next in Blog: AVI - The Video Format That Won't Die
You might be interested in: Video and Audio Software, Digital Video Recorders, Video, Audio, Multimedia Chips