Re: compressing compressed video



Thus one time, at band camp, James Sungjin Kim wrote:
copx 쓴 글:

Is it possible to noticeably compress already compressed video (DivX/MPEG) even futher using a loseless compression program?


The noticeble compression is not possible in that case,

True.

since the basic principle of the loseless compression is the same as the lossy compression.

Not true.

The reason why DivX/XviD/MPEG/MP4, et al, (also JPEG) don't compress further using a standard archival package is not due to the lossly compression, but due to the final layer of lossless compression applied to the lossy data stream. The results from the lossy stage are typically quite compressible, so running something like LZH over the output before it's turned into a file is built into the standards.

Trick is, this lossless compression has to be decoded in real time in order for the video to play smoothly, so there's a practical limit as to how compressed it can be. This decidedly average compression layer effectively blocks further lossless compression.

Not wanting to sound too much like an ad for Stuffit, but the latest version of the Stuffit archiver can roll back that final lossless compression stage in JPEGs, then compress the original lossy stream much more effectively. However, to view the JPEG you need to unpack it first and recreate the original file.

This "recompression" technique should be able to be applied to all manner of lossy compression formats, but it does add a costly (in time) extra stage to both the creation of the file and any attempt to view it. As such, it's really only useful if the viewing of a video can occur well after transmission (not great for live stuff).

Unfortunately Allume, the company that produces Stuffit, hasn't been able to release support for any new file formats since their JPEG compression technique was released at the beginning of the year, about six months ago. I fear also that they've patented the technique and may be in a position to stop other programmers or companies from developing a solution for popular video formats.
.




Relevant Pages

  • Re: D200 vs D300 at ISO 1600
    ... While jpeg compression is a lossy form of compression, ... that you can't undo it to return to an exact replica of the original, ...
    (rec.photo.digital)
  • Re: D200 vs D300 at ISO 1600
    ... While jpeg compression is a lossy form of compression, ... case exact recovery has a precise and very easily measured meaning. ...
    (rec.photo.digital)
  • Re: using lame
    ... any lossless format to lossy to acheive the desired results. ... The real answer is that lossy formats lose information ... and once it's removed by the compression process you ...
    (Debian-User)
  • Re: Are CODECs used by Blu-ray and HD-DVD owned by Microsoft?
    ... general and DCT based compression in particular. ... Yes - all video codecs are lossy when using Blu-ray, ... And Blu-Ray is not full AVC like HD-DVD, it's only a cut back version. ... all day long always ending back with the original file you started ...
    (alt.tv.tech.hdtv)
  • Re: using lame
    ... any lossless format to lossy to acheive the desired results. ... The real answer is that lossy formats lose information ... and once it's removed by the compression process you ...
    (Debian-User)