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. open domain image data .exr
  3. videos .av1
  4. lossless audio .flac
  5. lossy audio .opus
  6. subtitles srt/ass
  7. fonts .otf
  8. container mkv (doesnt contain .jxl)
  9. plain text utf-8 (many also say markup but disagree on the implementation)
  10. documents .odt
  11. archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
  12. configuration files toml
  13. typesetting typst
  14. interchange format .ora
  15. models .gltf / .glb
  16. daw session files .dawproject
  17. otdr measurement results .xml
You are viewing a single thread.
View all comments
47 points

Ogg Opus for all lossy audio compression (mp3 needs to die)

7z or tar.zst for general purpose compression (zip and rar need to die)

permalink
report
reply
23 points

The existence of zip, and especially rar files, actually hurts me. It’s slow, it’s insecure, and the compression is from the jurassic era. We can do better

permalink
report
parent
reply
-6 points

@dinckelman @Supermariofan67 I think you mean unsecure. It doesn’t feel unsure of itself. 😁

permalink
report
parent
reply
14 points

in·se·cure (ĭn′sĭ-kyo͝or′) adj.

  1. Inadequately guarded or protected; unsafe: A shortage of military police made the air base insecure.

https://www.thefreedictionary.com/insecure

Unsecure

a. 1. Insecure.

https://www.thefreedictionary.com/Unsecure

permalink
report
parent
reply
6 points

why does zip and rar need to die

permalink
report
parent
reply
13 points

Zip has terrible compression ratio compared to modern formats, it’s also a mess of different partially incompatible implementations by different software, and also doesn’t enforce utf8 or any standard for that matter for filenames, leading to garbled names when extracting old files. Its encryption is vulnerable to a known-plaintext attack and its key-derivation function is very easy to brute force.

Rar is proprietary. That alone is reason enough not to use it. It’s also very slow.

permalink
report
parent
reply
7 points

Again, I’m not the original poster. But zip isn’t as dense as 7zip, and I honestly haven’t seen rar are used much.

Also, if I remember correctly, the audio codecs and compression types. The other poster listed are open source. But I could be mistaken. I know at least 7zip is and I believe opus or something like that is too

permalink
report
parent
reply
3 points

Most mods on Nexus are in rar or zip. Also most game cracks; or as iso, which is even worse.

permalink
report
parent
reply
4 points

why does ml3 need todie

permalink
report
parent
reply
15 points

It’s a 30 year old format, and large amounts of research and innovation in lossy audio compression have occurred since then. Opus can achieve better quality in like 40% the bitrate. Also, the format is, much like zip, a mess of partially broken implementations in the early days (although now everyone uses LAME so not as big of a deal). Its container/stream format is very messy too. Also no native tag format so it needs ID3 tags which don’t enforce any standardized text encoding.

permalink
report
parent
reply
6 points

Not the original poster, but there are newer audio codecs that are more efficient at storing data than mp3, I believe. And there’s also lossless standards, compared to mp3’s lossy compression.

permalink
report
parent
reply
3 points

How about tar.gz? How does gzip compare to zstd?

permalink
report
parent
reply
5 points

Both slower and worse at compression at all its levels.

permalink
report
parent
reply
3 points

What’s wrong with mp3

permalink
report
parent
reply
23 points

Big file size for rather bad audio quality.

permalink
report
parent
reply
4 points

I’ve yet to meet someone who can genuinely pass the 320kbps vs. lossless blind-test on anything but very high-end equipment.

permalink
report
parent
reply
2 points

its worth noting that aac is actually pretty good in a lot of cases too

permalink
report
parent
reply
7 points

However, it is very patent encumbered and therefore wouldn’t make for a good standard.

permalink
report
parent
reply
2 points

aac lc and he-aac are both free now hev2 and xhe aren’t, but those have more limited use

permalink
report
parent
reply
1 point

How about xz compared to zstd?

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
-2 points
*
Removed by mod
permalink
report
parent
reply
1 point

How are you going to recreate the MP3 audio artifacts that give a lot of music its originality, when encoding to OPUS?

Oh, a gramophone user.

Joke aside, i find ogg Opus often sounding better than the original. Probably something with it’s psychoacoustic optimizations.

permalink
report
parent
reply
0 points
*
Removed by mod
permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.7K

    Monthly active users

  • 5.8K

    Posts

  • 162K

    Comments