News for hackers. Stuff that matters.
Re:OpenZL: An Open Source Format-Aware Compression Framework by p1mrx on Tuesday October 07, 2025 @11:38AM (#45504517)
I tried compressing some CD quality PCM audio: wav=54MB, zstd=51MB, zl=42MB, flac=39MB.

So OpenZL is significantly better than zstd, but worse than flac.

Re:OpenZL: An Open Source Format-Aware Compression Framework by terrelln on Tuesday October 07, 2025 @12:17PM (#45505079)
Out of curiosity, what was the input file format?

We actually worked on a demo WAV compressor a while back. We are currently missing codecs to run the types of predictors that FLAC runs. We expect to add this kind of functionality in the future, in a generic way that isn't specific to audio, and can be used across a variety of domains.

But, generally we wouldn't expect to generally beat FLAC. But, be able to offer specialized compressors for many types of data that previously weren't important enough to spawn a whole field of specialized compressors, by significantly lowering the bar for entry.

Re:OpenZL: An Open Source Format-Aware Compression Framework by p1mrx on Tuesday October 07, 2025 @04:30PM (#45508430)
The input was just CD audio, "One More Time" by Daft Punk.

test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

Re:OpenZL: An Open Source Format-Aware Compression Framework by altcognito on Tuesday October 07, 2025 @11:57AM (#45504787)
Is that with training or without?
Re:OpenZL: An Open Source Format-Aware Compression Framework by p1mrx on Tuesday October 07, 2025 @03:44PM (#45507884)
I think training is mandatory. These are the commands I used:

https://gist.github.com/pmarks-net/64c17aff45e7741f07eeb5dd0...