if you could pick a standard format for a purpose what would it be and why?

e.g. flac for lossless audio because…

(yes you can add new categories)

summary:

  1. photos .jxl
  2. videos .av1 (someone mentioned mka or something like that, cant recall but thet mentiomed it being a ‘container’)
  3. daw session files .dawproject
  4. documents .odt
  5. archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
  6. models .gltf / .glb
  7. plain text utf-8
  8. interchange format .ora
  9. configuration files toml OR yaml (disagreement)
  10. typesetting typst
  11. open domain image data .exr
  12. lossless audio .flac
  13. lossy audio .opus
  14. subtitles srt/ass
  15. container mkv
    • Supermariofan67@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      At both algorithms’ highest levels, xz seems to be on average a few percent better at compression ratio, but zstd is a bit faster at compression and much much faster at decompression. So if your goal is to compress as much as possible without regard to speed at all, xz -9 is better, but if you want compression that is almost as good but faster, zstd --long -19 is the way to go

      At the lower compression presets, zstd is both faster and compresses better