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
  • AProfessional@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    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.

  • SmoochyPit@beehaw.org
    link
    fedilink
    English
    arrow-up
    15
    ·
    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.

    • Davel23@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

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

    • exuA
      link
      fedilink
      English
      arrow-up
      3
      ·
      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.

  • cyanarchy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    1 year ago

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

  • loops@beehaw.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    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
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      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
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        1 year ago

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

  • Chris Gerber@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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