• 0 Posts
  • 42 Comments
Joined 1 year ago
cake
Cake day: July 9th, 2023

help-circle



  • vividspecter@lemm.eetoSelfhosted@lemmy.worldHosting private UHD video
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    I suspect the delay would still be longer than a Youtube like implementation which may need to switch transcodes multiple times, but that’s probably unrealistic at this point anyway.

    Transcoding everything to AV1 could be a solution too, since high resolutions can look quite good at low bitrates, so you could limit it to 5mbps or 10mbps for any resolution and be done with it. But I’m not sure Jellyfin supports that, and at least from the UI it doesn’t give you particularly fine grained control over resolution/bitrates. Perhaps having a secondary library of just AV1 transcodes that you handle manually (perhaps even using a software encoder) could be an option for some.

    The client side is also an issue, with not that many devices supporting hardware decoding (although I’ve found it’s fast enough in software with most modern smartphones at least).









  • I put all docker data in one directory (or rather, a btrfs subvolume) and both snapshot and back it up daily to multiple machines. docker-compose files are also kept in the same subvolume.

    My latest server is NixOS, so I don’t even bother backing up the root subvolume, since the actual config is tracked on git and replicated on multiple machines. If I want to reinstall, I can just install NixOS and deploy the config, then just copy over the docker subvolume, and rebuild the containers. Some of this could be automated further (nixos-anywhere and disko look promising for the actual OS install) but my systems don’t typically break often enough for that to be a significant issue.

    You can go even further and either just use nix for the services, or use nix to build containers themselves, but I have a working setup already and it’s good enough, and I can easily switch to another distribution if issues start occurring in NixOS.









  • you’d still have a loss of quality due to transcoding to a format your client supports.

    If you have a fast network you could transcode to high-bitrate h264/h265 etc, which would have some quality loss but probably less than using h264 directly (due to Youtube’s aggressive compression).

    But I’m not aware of anything that ties it altogether either, especially if the OP needs browser support.