QUOTE(tacitus10 @ Feb 21 2003 - 09:22 AM)
As many of you would know the Divx video codec, amongst others, has a post processing algorithm to help eliminate common artifacts associated with the compressor.
Why is it not possible to do the same for mp3? Audio processing can eliminate hiss and hum, why not mp3 arifacts?
When you compress a video, you don't expect it to look 100% the same. So you allow a huge compression ratio, and some macroblocks kick in. Then you can post-process the video with a heuristic algorithm, which does NOT improve quality, but it manages to hide many macroblocks, at the expense of a slight blurring of the image.
Audio is different; the encoder produces a datastream which had many differences in various frequencies, but should sound the same. If for some reason the resulting file does not sound the same (=artifact), there's no way for a decoder to know how it should sound. You can't just smooth sound like you smooth video. By the way, an audio artifact has nothing to do with a big square in video compression. Basically, most artifacts come when a sound just doesn't sound right, because your brain compare it with known instrumental sounds.
So, removing audio artifacts might be possible if, and only if:
- you know the exact nature of what an artifact is,
- or: the "artifact remover" has artificial intelligence, and a database of known instrumental sounds.
Cheers
[Edit]
The fact that video post-processing can be useful, also comes from the fact that there are MANY redundancies in a video image, even after compression with modern codecs. For this reason, post-processing
can bring something. In audio, after compression it's very difficult to determine whether any specific modification will locally improve the sound (ie: closer to original), or make it worse. That's because of the way sound waves are.
This I think, derivates directly from information theory: when you post-process non-redundant (ie: optimally compressed) data, if you increase quality in some case, you'll decrease quality in another case.
On the opposite, when post-processing video data blocks, due to the redundancy of the images you will (maybe 95% of the time) be able to prevent a quality degradation.
If a perfect video codec would exist, no suitable post-processing would exist, let alone be useful for that codec.
The only useful post-processing for psychoacoustically compressed audio I'd think of, could be heuristic noise reduction. In some cases it could decrease any added "roughness" by the codec, but... in most cases the very nature of sound would get destroyed. So you see, it's not easy.
[/Edit]