Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Michael Kohl 🇦🇹🇹🇭 boosted
@haitchfive
@haitchfive@oldbytes.space  ·  activity timestamp last week

So I was working on this:

enz / unz

ZIP-compatible compressor and decompressor pair that beat zip -9 on source code by 5-10%. Uses smarter pre-processing before DEFLATE.

It's often better than the alternatives for text, source code, structured text files, and markup.

Pure Go. No dependencies beyond stdlib. Output works with standard ZIP tools where possible

https://github.com/ha1tch/unz

Benchmarks available.

#golang #foss #compression #unz #enz #zip #pkzip #winzip

  • Copy link
  • Flag this post
  • Block
@haitchfive
@haitchfive@oldbytes.space  ·  activity timestamp last week

So I was working on this:

enz / unz

ZIP-compatible compressor and decompressor pair that beat zip -9 on source code by 5-10%. Uses smarter pre-processing before DEFLATE.

It's often better than the alternatives for text, source code, structured text files, and markup.

Pure Go. No dependencies beyond stdlib. Output works with standard ZIP tools where possible

https://github.com/ha1tch/unz

Benchmarks available.

#golang #foss #compression #unz #enz #zip #pkzip #winzip

  • Copy link
  • Flag this post
  • Block
R.L. Dane :Debian: :OpenBSD: 🍵
@rl_dane@polymaths.social  ·  activity timestamp 2 months ago

@OpenComputeDesign
Remember when we were talking about #audio #lossy #compression earlier?

This is NUUUUUTS:

https://bellard.org/tsac/

TSAC: Very Low Bitrate Audio Compression

  • Copy link
  • Flag this post
  • Block
sebsauvage
@sebsauvage@framapiaf.org  ·  activity timestamp 2 months ago

🗜️ #compression
C'est trop cool : Tapez du texte et il vous affiche la version compressée (gzip).
https://lynn.github.io/flateview/

flateview

  • Copy link
  • Flag this post
  • Block
alcinnz boosted
Ivan Enderlin 🦀
@hywan@floss.social  ·  activity timestamp 6 months ago

The bzip2 crate switches from C to 100% Rust, https://trifectatech.org/blog/bzip2-crate-switches-from-c-to-rust/.

Use less memory. Faster to run. Simpler cross-compilation. That’s it.

The crate has been audited too, neat!

#RustLang#c #bzip2 #compression

  • Copy link
  • Flag this post
  • Block
sebsauvage
@sebsauvage@framapiaf.org  ·  activity timestamp 5 months ago

🗜️ #compression #7zip
Pour illustrer les paramètres "compression maximale" dont j'ai parlé là : https://sebsauvage.net/links/?s0zmfA

Illustration avec un jeu : Loophole.

Décompressé: 3,18 Go
7z "ultra" (-mx=9) : 1,33 Go
7z avec mes réglages : 0,53 Go
(Et zpaq -m4 fait un peu mieux : 0,49 Go)

Bien sûr c'est un exemple qui marche bien, le gain ne sera pas forcément aussi bon sur d'autres données.

  • Copy link
  • Flag this post
  • Block
sebsauvage
@sebsauvage@framapiaf.org  ·  activity timestamp 5 months ago

👑 #ArchiveDeJeux
#Compression #7zip
Comme il m'a été demandé, voici les paramètres que j'utilise désormais pour obtenir la meilleure compression avec 7-Zip.

Inconvénient :
- on passe en mono-thread (la compression prend beaucoup plus de temps ; la décompression sera un peu moins rapide).
- cela consomme plus de RAM (10 Go à la compression, 1 Go à la décompression).

1 Go pour la décompression ne me semble pas déraisonnable pour les machines de nos jours.

  • Copy link
  • Flag this post
  • Block
Tommi 🤯 → 39C3 boosted
Tommi 🤯 → 39C3
@tommi@pan.rent  ·  activity timestamp 5 months ago

So I have hundreds of videos of ~1 minute recorded from my phone ~10 years ago, and they generally don’t have that great compression, nor they are stored in a modern and advanced video format.

For archiving purposes, I want to take advantage of my workstation’s mighty GPU to process them so that the quality is approximately the same, but the file size would be strongly reduced.

Nevertheless, compressing videos is terribly hard, and way more complex than compressing pictures, so I wouldn’t really know how to do this, what format to use, what codec, what bitrate, what parameters to keep an eye on, etc.

I don’t care if the compression takes a lot of time, I just want smaller but good looking videos.

Any tips? (Links to guides and tutorials are ok too)

Also, unfortunately I am forced to use Windows for this (don’t ask me why 🫠), but I know nothing about Windows because I hate it. Practical software suggestions are very much welcome, too!

#ffmpeg #help#askFedi #codec#AVI#H265#H264 #movie #video #videoCompression #compression #encoding#HandBrake #heif #heic #avif #mp4 #mkv#Wondows

  • Copy link
  • Flag this post
  • Block
Tommi 🤯 → 39C3
@tommi@pan.rent  ·  activity timestamp 5 months ago

So I have hundreds of videos of ~1 minute recorded from my phone ~10 years ago, and they generally don’t have that great compression, nor they are stored in a modern and advanced video format.

For archiving purposes, I want to take advantage of my workstation’s mighty GPU to process them so that the quality is approximately the same, but the file size would be strongly reduced.

Nevertheless, compressing videos is terribly hard, and way more complex than compressing pictures, so I wouldn’t really know how to do this, what format to use, what codec, what bitrate, what parameters to keep an eye on, etc.

I don’t care if the compression takes a lot of time, I just want smaller but good looking videos.

Any tips? (Links to guides and tutorials are ok too)

Also, unfortunately I am forced to use Windows for this (don’t ask me why 🫠), but I know nothing about Windows because I hate it. Practical software suggestions are very much welcome, too!

#ffmpeg #help#askFedi #codec#AVI#H265#H264 #movie #video #videoCompression #compression #encoding#HandBrake #heif #heic #avif #mp4 #mkv#Wondows

  • Copy link
  • Flag this post
  • Block
Ivan Enderlin 🦀
@hywan@floss.social  ·  activity timestamp 6 months ago

The bzip2 crate switches from C to 100% Rust, https://trifectatech.org/blog/bzip2-crate-switches-from-c-to-rust/.

Use less memory. Faster to run. Simpler cross-compilation. That’s it.

The crate has been audited too, neat!

#RustLang#c #bzip2 #compression

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login