Re: HALAC (High Availability Lossless Audio Compression)
Reply #33 – 2024-01-10 21:01:15
Thank you for the Linux binaries, particularly the static binary I did need that. This laptop is still on Ubuntu 20.04 so the glibc you compiled with is too old, also the static version should work on non-glibc like alpine linux. Another example that does apply to me is that I rent a Linux server and cannot update the installed libraries, but they do allow running uploaded binaries. glibc is compatible in such a way that if you want to make a highly portable non-static binary you need to use an ancient toolchain, Prime95 for example uses a very old centos to compile (from memory 4?). Personally I wouldn't bother and would just provide the static binary. Here's some basic testing. Old M.2 SSD, Ubuntu 20.04, laptop with no user input during testing, skylake 6700HQ, fast static Linux binaries.$ time for f in */*.wav;do halac_enc_2.0.1 "$f" "$f.halac";done real 0m11.848s user 0m10.116s sys 0m1.615s $ time for f in */*.wav;do ~/Downloads/flac143/flac-1.4.3/src/flac/flac --no-md5 --totally-silent -0 "$f";done real 0m17.009s user 0m12.440s sys 0m3.622s $ time for f in */*.halac;do halac_dec_2.0.1 "$f" "$f.wav";done real 0m18.359s user 0m16.082s sys 0m2.232s $ time for f in */*.flac;do ~/Downloads/flac143/flac-1.4.3/src/flac/flac --totally-silent -d "$f" -o "$f.fdec";done real 0m17.172s user 0m13.083s sys 0m3.842s Sizes: 2916907812 wav 2017463945 flac 2016873005 flac stripped of metadata 1994734822 halac 1979508435 sum of best (best of flac/halac unstripped) I find the large difference in sum of best interesting, both codecs have decent swings in their favour. edit: Late entry with slac: Slac to compare to the above:Encode real 0m27.496s user 0m24.736s sys 0m2.417s Decode real 0m19.158s user 0m16.150s sys 0m2.807s Size: 1983908820