• xoggy@programming.dev
    link
    fedilink
    English
    arrow-up
    75
    arrow-down
    1
    ·
    12 days ago

    Turns out we’re already doing a lot of compression at the file and filesystem level.

    • Opisek@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      32
      ·
      12 days ago

      Not necessarily. For example, you can’t really compress encrypted files. You can certainly try but the result will likely be what the meme portrays.

      • WolfLink@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        12 days ago

        Media files are always thoroughly compressed (except in certain settings like professional video and audio work).

        • rainwall@piefed.social
          link
          fedilink
          English
          arrow-up
          5
          ·
          12 days ago

          Media files can can benefit from a codec change. Going from h264 to h265/hevc can net a 30-50% reduction in size for almost no quality loss.

          The only trade off is increased cpu usage if the client doesnt have hardware h265 support and the time to do the transcoding.

          • WolfLink@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            11 days ago

            It’s more relevant to the previous comment as an example of how we are doing a lot of compression at the filesystem level.

            The files that are typically largest are already quite thoroughly compressed.