Log in

View Full Version : Theory: Compressing and Codecs?


shevegen
11th January 2005, 14:35
Hi... I normally am not so much interested in theory, because
when it becomes really complex, I lose interest.
My understanding of complex things drops really fast.

Now, I have been watching a lot of avi files, with a lot
of different codecs, and did myself use/compressed video files, using DivX and XviD.
(I never understood matrices by the way, just had to think of what i learned in school, and realized i forgot everything )




This lead me to a general question based on an observation:

- Many avi files have "odd problems", as I want to call it. Consider a
block, a wall, completely black when captured with a vid cam.
Upon being compressed, its sort of blocky, and shows pixelizations...
I found this a bit strange... i mean, its a wall, it shouldnt be a problem to make it all black?
- Especially the frame of a human being, like a face... its outer borders show distortions at times. Now i find this also a bit strange, because humans are very important in most movies.
- Sometimes the different scenes seem to blur into another scene... i saw this quite often with DivX3 or so (low motion or fast motion, i cant remember)... never found out why this happens


Ok there is a bit more, but as you can see, i really have no clue.
Maybe it is the avi file that limits very good compression and "smart" results?
And is there an outline on how to work around this?
Anything better?

I was told that a lot of this is because ... the compression is sort of based on... i dont know, blocks or so? like 16x16, and the other areas outside dont influence those blocks much




Hmm too many questions but maybe one is a bit bored and just wants to type some stuff ... :)

jggimi
11th January 2005, 15:16
This has nothing to do with Linux, it is a set of general MPEG compression questions.

Moved to General Discussion forum.

For general information on MPEG technologies, including macroblocks, motion vectors, quantizers, and matrices, see the DivX User Guide (http://www.divx.com/divx/divxpro/guides/).

For information on the MPEG-4 standard, see Bond's MPEG-4 Sticky (http://forum.doom9.org/showthread.php?s=&threadid=73022).

Koepi
11th January 2005, 15:58
Also, if some images blend into the next scene this is a sign of a (bad) temporal smoother. Those get used to reduce noise from i.e. a tv capture. As such this is not a codec issue, but a (bad) job of the person who encoded the video.

Cheers
Koepi