49
submitted 1 year ago* (last edited 1 year ago) by jackpot@lemmy.ml to c/linux@lemmy.ml

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
[-] mvirts@lemmy.world 27 points 1 year ago

My god please no more yaml

[-] SmoochyPit@beehaw.org 15 points 1 year ago

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.

[-] exu@feditown.com 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.

[-] Davel23@kbin.social 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.

[-] Petter1@lemm.ee 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))

[-] AProfessional@lemmy.world 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.

[-] cyanarchy@sh.itjust.works 14 points 1 year ago* (last edited 1 year ago)

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

[-] CrabAndBroom@lemmy.ml 22 points 1 year ago

So you can hear the photos real good

[-] jackpot@lemmy.ml 3 points 1 year ago

list amended LMFAO

[-] loops@beehaw.org 9 points 1 year ago

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

[-] GamesRevolution@programming.dev 18 points 1 year ago* (last edited 1 year ago)

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

[-] loops@beehaw.org 4 points 1 year ago

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

[-] jackpot@lemmy.ml 2 points 1 year ago
[-] melooone@feddit.de 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?".

[-] the_lone_wolf@lemmy.ml 16 points 1 year ago

You can keep AV1 codec video inside .MKV container!

[-] GamesRevolution@programming.dev 1 points 1 year ago

Yeah, that's my point

[-] dessalines@lemmy.ml 7 points 1 year ago

Documents: markdown.

config files: json/hjson

[-] jackpot@lemmy.ml 6 points 1 year ago

if you disagree dont feel afraid to comment, please do

[-] Ozzy@lemmy.ml 1 points 1 year ago

Damn I read this as

" If you disagree, don't comment"

[-] jackpot@lemmy.ml 1 points 1 year ago

mwahahahahaha

[-] JackbyDev@programming.dev 4 points 1 year ago

Why odt over HTML?

[-] backhdlp@lemmy.blahaj.zone 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.

[-] Sir_Simon_Spamalot@lemmy.world 1 points 1 year ago

No MP3 for lossy audio? :(

[-] the_lone_wolf@lemmy.ml 11 points 1 year ago

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

[-] AProfessional@lemmy.world 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.

[-] gerbercj@lemmy.world 1 points 1 year ago

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

[-] sxan@midwest.social 2 points 1 year ago

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

[-] crmsnbleyd@sopuli.xyz 1 points 1 year ago

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

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

Linux

48376 readers
895 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