Post Reply 
Video, Audio, Container.... GET IT RIGHT
Author Message
Assassinator
...

Posts: 6,646.6190
Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
Offline
Post: #1
Video, Audio, Container.... GET IT RIGHT
This is like one of the most misunderstood things ever...  

I'm going to explain it here, so instead of spending effort to explain this over and over every time, I can simply link them to this thread.


Firstly, what is a container?

Wikipedia DefinitionA container or wrapper format is a meta-file format whose specification describes how data and metadata are stored (not coded).  A program able to identify and open a container file might not be able to decode the contained data. This may be caused by the opening program lacking the required decoding algorithm, or the meta-data not providing enough information.

In our case, a multimedia container is a wrapper that wraps the video, audio, subtitles, and whatever else together in one file.

So inside a container, wee can have multiple different types of video and audio streams.  Support for a container format DOES NOT neccessarily mean support for all the possible video/audio types the container can hold, and conversely, having support for a video/audio format DOES NOT mean support for all container formats that can hold such a video/audio format.

For example...
  • AVI (with XviD + MP3)  --»  AVI (Audio Video Interleave) = container, XviD = video, MP3 = audio.  AVI is NOT the video format, you don't have AVI video, you have XviD video.
  • MP4 (with AVC + AAC)  --»  MP4 = container, AVC (H.264) = video, AAC = audio.  Pretty much all devices that support MP4 can play that.
  • MP4 (with Dirac + ALAC)  --»  MP4 = container, Dirac = video, ALAC (Apple Lossless Audio Codec) = audio.  And absolutely no device out there that support MP4 can play that.
  • OGG Vorbis  --»  OGG = container, Vorbis = audio.

So why do wee need containers?

To hold our video/audio/subtitles/whatever files together.

Also to store some useful information not contained in the raw video/audio bitstreams, such as chapter information, tags, and synch information so the video and audio play together as they are intended to.


So why is it important to get it right?

Besides for making yourself not sound retarded... ("Hey guise, I downloaded XviD converter, how come I get AVI video not Xvid video?")

It's important because when you ask for help, the person helping you may need to know exactly what you're trying to play.  It also lets you diagnose a lot of your support problems so won't end up spamming forums with "OMG, Company xxxxx said this yyyyy can play MP4's, I have this MP4 here and it doesn't play, Please HALP ME, fucking liar bitches, I'll sue you!"


So how do I find out what is what?

Same as how you would find out any other information, use Google/Yahoo/Bing/Ask/whatever, ask someone, many other ways (searching Wikipedia is good).

To save you some effort, here is a list of some common names you hear and what they are...

Container formats - AVI, MP4 (M4A), MKV (MKA), MOV, ASF, OGV (OGM, OGG), WebM (lol rebranded MKV)
Video formats - DivX, XviD, H.264 (AVC), WMV, VP8, Theora
Audio formats - AAC, MP3, WMA, Vorbis, FLAC, AC3, DTS



Notes...
1.  File extension doesn't always imply container.  Eg. you see .WMV file, that doesn't mean WMV is a container format, WMV is a video format, the container for your .WMV file is ASF.
2.  Some video/audio formats have their own container format.  Eg. FLAC is both an audio codec, and also it's own container format.
(This post was last modified: 31/08/2010 05:42 PM by Assassinator.)
11/06/2010 09:52 PM
Find all posts by this user Quote this message in a reply
eKusoshisut0
NOIDED

Posts: 6,288.3965
Threads: 102
Joined: 6th Mar 2010
Reputation: -0.51929
E-Pigs: 174.7326
Offline
Post: #2
RE: Video, Audio, Container.... GET IT RIGHT
Hmm. So you did make a thread after all.
Thanks for the info I'm not very up to date with these kinds of things so yeah thanks for explaining.

[Image: tumblr_mlae69vAW21rmerh9o1_400.gif]


More stuff
Steam Page
[Image: K7UVN.png]
Thanks to Vacui_Natale for making this awesome siggy.
[Image: cq8au.gif]
Thanks to Natalie for this sexy Mawaru Penguindrum sig. <3
[Image: ofusT.png][


    
[Image: 9252_s.gif]

(This post was last modified: 11/06/2010 10:10 PM by eKusoshisut0.)
11/06/2010 10:08 PM
Find all posts by this user Quote this message in a reply
trademark91
Unique?
Fractal Insanity

Posts: 4,719.9300
Threads: 269
Joined: 4th Jan 2008
Reputation: -6.15982
E-Pigs: 105.8691
Offline
Post: #3
RE: Video, Audio, Container.... GET IT RIGHT
ok, now i get it. thanks!

[Image: 531115][Image: 76561198014212040.png]
windows Proud
11/06/2010 11:47 PM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #4
RE: Video, Audio, Container.... GET IT RIGHT
seriously,............ i did't know avi and MP4 are containers,. i thought mkv, ogm and rmvb,. i thought avi could be coded different eg xvid or divx,. hehe (different structure or something)
Whot's the file extension for vorbis?

soo,. whot's this .OMG format do?


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
11/06/2010 11:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Assassinator
...

Posts: 6,646.6190
Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
Offline
Post: #5
RE: Video, Audio, Container.... GET IT RIGHT
(11/06/2010 11:53 PM)Vegetano1 Wrote:  Whot's the file extension for vorbis?

Almost always .OGG if just the audio alone.  Also used a lot in these MKVs you find on the internet (which are generally either vorbis or AAC).

(11/06/2010 11:53 PM)Vegetano1 Wrote:  
soo,. whot's this .OMG format do?

You mean OGM?

OGM is the multimedia version of OGG that stores not just audio but video, text and other stuff.  It's atually an old hack version, these days, you should use the official OGV instead.
12/06/2010 12:02 AM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #6
RE: Video, Audio, Container.... GET IT RIGHT
%^^ No i looked it up its "O! My Gowd!" uhuuh!!


There is also the different disc formats>?>!? like when i demux>mux a mkv to AVCHD(with tsMuxxer) where files from the mkv container are moved to a AVCHD container/disc format>?

I do this with alot of mkv movies so i can play them as blu-ray disc in my PS3,. and also be able to add subs :)


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
12/06/2010 01:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #7
RE: Video, Audio, Container.... GET IT RIGHT
PS3 probably using TS.

I'm guessing OMG = ATRAC3 format.
12/06/2010 01:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
S7*
Sweet Dreams

Posts: 16,689.4373
Threads: 1,056
Joined: 3rd Apr 2007
Reputation: 14.29926
E-Pigs: 383.2309
Offline
Post: #8
RE: Video, Audio, Container.... GET IT RIGHT
lol nice thread Assassinator.

You'll be able to point people in the right direction instead of repeat yourself now :P
12/06/2010 01:47 AM
Find all posts by this user Quote this message in a reply
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #9
RE: Video, Audio, Container.... GET IT RIGHT
(12/06/2010 01:40 AM)ZiNgA BuRgA Wrote:  I'm guessing OMG = ATRAC3 format.
OMG!!!!!! nevermind ok!! Facepalm


Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
12/06/2010 04:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
1-R
forced consensual sex
Team DreamArts

Posts: 5,515.3939
Threads: 396
Joined: 22nd Dec 2007
Reputation: 5.91682
E-Pigs: 115.1024
Offline
Post: #10
RE: Video, Audio, Container.... GET IT RIGHT
Thanks u, always thought xvid and avi were the same. ^^'

[Image: OLmvS.png]
Twit | DA | G+ | Last.fm
12/06/2010 07:17 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread:

 Quick Theme: