Go Back   PCMech Forums > Help & Discussion > Home Theater, Audio, and Video

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-01-2005, 12:48 PM   #1
Member (6 bit)
 
Join Date: Nov 2004
Posts: 60
Codec, codec and more codecs!

Hi all

I need a refresher on all codec stuff. I know that codec stands for "compression/decomp" and wht it does is reduce the size of mpeg file(video/audio) by compressing it.

But wher does the file format com into picture..lik real video or Divx.
Also wht format is .dat?

And is .avi a file format or a codec or both?

Are all video/audio file in mpeg?
gtrasi is offline   Reply With Quote
Old 02-01-2005, 01:22 PM   #2
RJ
Member (14 bit)
 
Join Date: Feb 2000
Location: Offenbach/Main (Germany)
Posts: 8,485
Send a message via ICQ to RJ
Quote:
wht it does is reduce the size of mpeg file(video/audio) by compressing it
No. It reduces the size of a video file, no matter whether it is mpeg or not. mpeg itself is a codec, too. Actually, there's 3 different mpegs: mpeg 1, 2 and 4.

Quote:
But wher does the file format com into picture..lik real video or Divx.
DivX is a video codec. There is also a .divx file type, but that is a container format.

Quote:
Also wht format is .dat?
VCD. It's actually only an MPEG-1 file with modified header.

Quote:
And is .avi a file format or a codec or both?
It's no codec, it is a container format. A file type that holds video, audio etc. files in it. That way you have a single file with video and audio, and both are in sync. It is possible to extract (demultiplex) the single audio and video files if you need them.

Quote:
Are all video/audio file in mpeg?
Well, the .mpeg file is a container file for mpeg video and audio. If you have only the video, there is no need for a container file, but it is possible to just put the video file in that container.
So, an mpeg file can have video only. But usually they'll have audio as well.

RJ
__________________
All's right with the world when your PC is working right.

Last edited by RJ; 02-01-2005 at 01:24 PM.
RJ is offline   Reply With Quote
Old 02-06-2005, 11:47 PM   #3
Member (6 bit)
 
Join Date: Nov 2004
Posts: 60
Thanks but I hav som more questions...

If mpeg is a codec then it has to compress some data..what format will that data be in?

I used to thnk that all movies to be played on the PC will hav to be mpeg uncomprssed files whch are later comprsessd by codecs such as Divx, .avi etc

But u said that avi is only a format..then if I hav a video in .avi is it uncompressed ...doesnt need a codec to play it?
But earlier, WMP7/8 couldnt play .avi files..used to say need to dwld codec from the net...(so i got Divx player whch played .avi files really well)
Now WMP9/10 does play it though.
gtrasi is offline   Reply With Quote
Old 02-07-2005, 05:06 AM   #4
RJ
Member (14 bit)
 
Join Date: Feb 2000
Location: Offenbach/Main (Germany)
Posts: 8,485
Send a message via ICQ to RJ
Quote:
If mpeg is a codec then it has to compress some data..what format will that data be in?
Ok, my expression wasn't really accurate, sorry for that. MPEG is a video format, it defines the way a video can be compressed. You can use an MPEG codec to actually encode footage into the MPEG format, and decode them for viewing.
So, when you encode footage using the MPEG-2 codec, the result will be in the MPEG-2 format.

Quote:
I used to thnk that all movies to be played on the PC will hav to be mpeg uncomprssed files whch are later comprsessd by codecs such as Divx, .avi etc
Then, you used to think wrong. MPEG it not uncompressed at all. It is in fact very highly compressed. It is compressed so much that it is not recommended to do video editing on an MPEG Stream (besides simple cutting, that is).
DivX is MPEG, too. It derived from the MPEG-4 format, which is newer than MPEG-2, and compresses a bit more without loosing quality.

Quote:
then if I hav a video in .avi is it uncompressed
AVI is only a container format, it holds video and audio. The video and audio inside could be encoded by any codec out there. It can also be uncompressed, but it doesn't have to.

Quote:
uncompressed ...doesnt need a codec to play it?
Nope. If you didn't compress it, you can't uncompress it.

Quote:
But earlier, WMP7/8 couldnt play .avi files
That can't be. WMP plays AVI since the first version. What you meant was "couldn't play *some* AVI files".
In fact, you can play any AVI that holds a video you have the codec for.

RJ
RJ is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:12 PM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0