this post was submitted on 04 Oct 2023
49 points (94.5% liked)

Linux

48220 readers
832 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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
top 29 comments
sorted by: hot top controversial new old
[–] [email protected] 27 points 1 year ago

My god please no more yaml

[–] [email protected] 15 points 1 year ago (3 children)

For videos, I bet it was .mkv they mentioned. mkv can have different codecs and different tracks, including audio and subtitles. I see it used often for tv and movies. I’m not sure if there’s disadvantages to it for general videos, like ones shot right from a camera.

I’ve been happy with .7z or .tar.* for file archiving and compression, but I don’t know the pros or cons of each. I think there’s room for different methods of compression though, so a standard format should be able to use multiple.

For font families, .otf seems good for realtime text rendering. Seems any newer standards are mostly targeted at graphic design.

[–] [email protected] 3 points 1 year ago

.mka is a real file format, it's the Matroska audio container. Not very common, but I see them occasionally.

[–] [email protected] 3 points 1 year ago

Afaik the disadvantage to mkv is that it supports everything. That makes fully supporting and testing every case rather difficult and it's why webm, a subset of mkv, was created.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Mkv is listed as container How is av1 better than HEVC? (I don’t know av1, only avi for crap quality movie files)

Edit: about 30% better and open ( source: https://www.howtogeek.com/778804/what-is-the-av1-codec/ (just disable JavaScript / use a reader to break through the paywall))

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (3 children)

Yeah hi can someone explain the logic involved in advocating for Free Lossless Audio Codec as a method for storing photos?

[–] [email protected] 22 points 1 year ago

So you can hear the photos real good

[–] [email protected] 8 points 1 year ago
[–] [email protected] 3 points 1 year ago

list amended LMFAO

[–] [email protected] 14 points 1 year ago

videos .av1 (someone mentioned mka or something like that, cant recall but thet mentiomed it being a 'container')

Yes, you’ll never see an av1 file. Typically it’s in a webm container. mkv is common too.

People tend to like videos with audio and subtitles.

[–] [email protected] 9 points 1 year ago (2 children)

I prefer .mkv for videos because I'm a degenerate weeb and .mkv can have subtitles baked into them.

[–] [email protected] 18 points 1 year ago* (last edited 1 year ago) (1 children)

Mkv not so much a video format as it is a container format, so maybe it could be separated like this:

Video format: av1
Audio format: opus/flac
Subtitle format: srt/ass
Thumbnail format: jxl
Container format: mkv

As far as I know mkv supports all the formats outlined in this list and multiple streams of it.

Edit: I was wrong about the thumbnail format, it only supports jpg and png

[–] [email protected] 5 points 1 year ago (1 children)

Did you know that av1 is my favourite video format? Me neither!

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

I think he's saying that he just learned about av1 and made it his favourite video format. Like this perhaps: "How did I not know about this thing?".

[–] [email protected] 16 points 1 year ago (1 children)

You can keep AV1 codec video inside .MKV container!

[–] [email protected] 1 points 1 year ago

Yeah, that's my point

[–] [email protected] 7 points 1 year ago

Documents: markdown.

config files: json/hjson

[–] [email protected] 6 points 1 year ago (1 children)

if you disagree dont feel afraid to comment, please do

[–] [email protected] 1 points 1 year ago (1 children)

Damn I read this as

" If you disagree, don't comment"

[–] [email protected] 1 points 1 year ago

mwahahahahaha

[–] [email protected] 4 points 1 year ago

markdown (md) or org for notes/things that don't require much formatting.

I'm not in a place to make points for which one's better.

[–] [email protected] 4 points 1 year ago

Why odt over HTML?

[–] [email protected] 1 points 1 year ago (2 children)

AsciiDoc for plain text markup. It handles more use cases, and has fewer ambiguities in the standard than Markdown.

[–] [email protected] 2 points 1 year ago

Have you seen djot? It's from the author of pandoc.

[–] [email protected] 1 points 1 year ago

Org mode is much better, using === for headings is dogshit

[–] [email protected] 1 points 1 year ago (2 children)

No MP3 for lossy audio? :(

[–] [email protected] 11 points 1 year ago

MP3 is old embrace opus, high quality audio in small size!

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

The only reason for it is compatibility with specific software. It’s otherwise just worse.