图像和视频压缩

发布于 2024-10-21 06:00:22 字数 173 浏览 4 评论 0原文

与 RAR 算法类似的压缩器有哪些? 我对压缩视频(例如 avi)和图像(例如 jpg)感兴趣

Winrar 将 avi 视频(1 帧/秒)缩小到其原始大小的 0.88%(即 49.8MB,并且它去了降至 442KB) 不到4秒就完成了压缩。

所以,我正在寻找类似的(开放)算法。我不在乎减压时间。

What are similar compressors to the RAR algorithm?
I'm interested in compressing videos (for example, avi) and images (for example, jpg)

Winrar reduced an avi video (1 frame/sec) to .88% of it's original size (i.e. it was 49.8MB, and it went down to 442KB)
It finished the compression in less than 4 seconds.

So, I'm looking to a similar (open) algorithm. I don't care about decompression time.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

陌伤ぢ 2024-10-28 06:00:22

压缩“已经压缩”的格式是没有意义的。因为,你无法获得进一步的东西。甚至一些归档程序也拒绝压缩此类文件并按原样存储。如果您确实需要压缩图像和视频文件,则需要“重新压缩”它们。它并不是简单地转换文件格式。我的意思是在某种程度上解码图像或视频文件(不需要完全解码),并应用您的特定模型而不是具有更强熵编码器的格式模型。对于这种用法有一些很好的尝试。以下是一些列表:

  1. PackJPG:开源且执行速度快的 JPEG 再压缩器。
  2. 戴尔实验性 MPEG1 和 MPEG2 压缩器:闭源和专有性。但是,您至少可以测试实验压缩机的强度。
  3. Precomp:闭源免费软件(但是,它将在不久的将来开放)。它重新压缩 GIF、BZIP2、JPEG(使用 PackJPG)和 Deflate(仅使用 ZLIB 库生成)流。

请注意,重新压缩通常是非常耗时的过程。因为,你必须确保位相同的恢复。有些程序甚至检查每个可能的参数以确保稳定性(例如 Precomp)。此外,他们的模型必须变得越来越复杂才能获得微不足道的结果。

Compressing "already compressed" formats are meaningless. Because, you can't get anything further. Even some archivers refuse to compress such files and stores as it is. If you really need to compress image and video files you need to "recompress" them. It's not meant to simply convert file format. I mean decode image or video file to some extent (not require to fully decoding), and apply your specific models instead of formats' model with a stronger entropy coder. There are several good attempts for such usages. Here is a few list:

  1. PackJPG: Open source and fast performer JPEG recompressor.
  2. Dell's Experimental MPEG1 and MPEG2 Compressor: Closed source and proprietry. But, you can at least test that experimental compressor strength.
  3. Precomp: Closed source free software (but, it'll be open in near future). It recompress GIF, BZIP2, JPEG (with PackJPG) and Deflate (only generated with ZLIB library) streams.

Note that recompression is usually very time consuming process. Because, you have to ensure bit-identical restoration. Some programs even check every possible parameter to ensure stability (like Precomp). Also, their models have to be more and more complex to gain something negligible.

指尖上得阳光 2024-10-28 06:00:22

像 (jpg) 这样的压缩格式实际上已经不能再压缩了,因为它们已经达到了熵;但是,bmp、wav 和 avi 等未压缩格式可以。

看看 LZMA

Compressed formats like (jpg) can't really be compressed anymore since they have reached entropy; however, uncompressed formats like bmp, wav, and avi can.

Take a look at LZMA

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文