this post was submitted on 30 Dec 2023
88 points (96.8% liked)

Selfhosted

40296 readers
251 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I only download 1080p unless it's something like LOTR that I'll splurge on space for. A comedy doesn't need spectacular visual fidelity.

Just downloaded a 44gb file for a 1080p version of Forest Gump, and I'm just kinda not interested in filling my hard drives with excessive file sizes. Noticed that some other films are 20gb and 13gb, etc, still way too big for what they are.

Any way to maybe have radarr have a file size preference? Like, for 1080p I don't need it to be any bigger than 3gb, and most movies can be 1.5gb and be fine

Edit: I have to say, I asked a beginner/basic question and no one here has tried to belittle me, or come at me with hostility, I've only gotten helpful advice. Thank you all!

all 30 comments
sorted by: hot top controversial new old
[–] eskuero@lemmy.fromshado.ws 65 points 10 months ago

you have been banned from /c/DataHoarder

[–] CountVon@sh.itjust.works 29 points 10 months ago

You can do this with custom formats. You'd want to create a custom format that gives a score if the file is below a certain size threshold (say 1.5GB per hour), then add minimum custom scores to the release profiles you use (e.g. Bluray 1080p). You can also add custom filters for release groups that prioritise file size. YTS for example keeps their releases as small as possible.

[–] CalicoJack@lemmy.dbzer0.com 28 points 10 months ago (1 children)

You got a remux, which is uncompressed. You can turn those off in Radarr to avoid those surprises.

If you want to fine-tune your file sizes (and quality) further, you can set up custom formats and quality profiles. The Trash Guides explain it well, the "HD Blu-ray + Web" profile on that page is a solid starting point. It'll usually grab 6-12GB movies, but you can tweak it if you want them smaller.

[–] relaymoth@sh.itjust.works 5 points 10 months ago (1 children)

Trash Guides FTW. I’ve used them for all my *arr setups and it’s been flawless.

[–] TwiddleTwaddle@lemmy.blahaj.zone 3 points 10 months ago (1 children)

Doesn't Trash Guides prefer larger files though? Iirc if you just do everything as they recommend you'll always be grabbing the highest quality stuff available, which is the opposite of what this person wants.

[–] relaymoth@sh.itjust.works 4 points 10 months ago

The guide doesn’t set an upper bound on the UHD quality profiles, but that doesn’t mean you have to set up yours exactly the same.

I have mine set with reasonable limits and have never run into a problem with file size, just have to make sure you’re setting the values to something that’s a) realistic and b) that you can live with.

One thing to note: if you set your threshold cutoffs properly you don’t have to worry about downloading files that are always at the upper end of the limit. Once the service downloads a file that meets the threshold it stops downloading for that episode/movie. If it grabs a file that’s below the threshold, it will keep trying to upgrade the file until the threshold is met.

[–] Cooljimy84@lemmy.world 14 points 10 months ago (2 children)

It always throws me when I see at 1080 movie less than 5gb, then I scroll across and see it's x265....

[–] AtariDump@lemmy.world 9 points 10 months ago

I get that and I love the x265 rips.

[–] narc0tic_bird@lemm.ee 2 points 10 months ago

Serviceable, but still not great quality most of the time.

[–] Kwdg@discuss.tchncs.de 8 points 10 months ago

You can edit the accepted sizes under Settings > Quality

[–] chandz05@lemmy.world 8 points 10 months ago (2 children)

Also check out Tdarr! I convert everything to HEVC using that. Shrinks down some files to literally 50% of their original size

[–] jalsk@lemmy.world 6 points 10 months ago (1 children)

Yep, this is a good option for reducing file size at the expense of compatibility and CPU time. Every time OP downloads a file they'll then have to reencode the file, which can take significant time, depending on the CPU of their NAS box, the file size, etc. It's also worth noting that reencodes are lossy, so some amount of quality will be lost (although the quality difference may be imperceptible).

If disk space is the only variable we're optimizing for, then you're 100% correct, but I think it's worth calling out that this definitely isn't without tradeoffs.

It might also be worth considering how they're consuming this media. If the client isn't capable of playing back h265 then this will need to be transcoded again to play it back. Many media servers (like Plex) handle this automatically, but it's definitely worth testing this out with your setup on a couple of files before doing this on your whole media collection.

[–] chandz05@lemmy.world 2 points 10 months ago

Thanks for calling those points out! You are 100% correct. I think I take it for granted that at this point, all of this "just works" on my setup :)

[–] Waluigis_Talking_Buttplug@lemmy.world 1 points 10 months ago (2 children)

Does the audio suffer? I'm already sacrificing a lot by getting Yify/YTS stuff, the audio for those is piss poor as ot is

[–] chandz05@lemmy.world 4 points 10 months ago

The audio should not be affected, as far as I'm aware. I get all my stuff from Usenet

[–] gdog05@lemmy.world 3 points 10 months ago

I use tdarr on my gaming machine and use the higher end GPU to do the work. I also use the trash guide for getting the audio profile I want in my downloads. Then in tdarr, I strip away audio and subtitle languages I don't want and use the highest quality audio source to add a simple 2 channel audio to make it more compatible for more devices. That way I'm not needlessly transcoding 5.1 Dolby for people who are just watching on TV audio.

[–] hottari@lemmy.ml 8 points 10 months ago

Most modern devices should support x265 playback which has the compression sizes you are looking for.

In addition to setting the cap to file sizes for media, you can also blacklist tags like REMUX etc.

This is an example of a custom format for hevc/x265 files that are no larger than 6Gigs. You just need to create a new custom quality profile and give below custom format a positive/higher score.

{
  "name": "Minima",
  "includeCustomFormatWhenRenaming": false,
  "specifications": [
    {
      "name": "No mo than 6 Gigs",
      "implementation": "SizeSpecification",
      "negate": false,
      "required": true,
      "fields": {
        "min": 0,
        "max": 6
      }
    },
    {
      "name": "1080p",
      "implementation": "ResolutionSpecification",
      "negate": false,
      "required": true,
      "fields": {
        "value": 1080
      }
    },
    {
      "name": "eng",
      "implementation": "LanguageSpecification",
      "negate": false,
      "required": false,
      "fields": {
        "value": 1
      }
    },
    {
      "name": "Preferred x265",
      "implementation": "ReleaseTitleSpecification",
      "negate": false,
      "required": false,
      "fields": {
        "value": "[xh][ ._-]?265|\\\\bHEVC(\\\\b|\\\\d)"
      }
    }
  ]
}
[–] Itsamelemmy@lemmy.zip 7 points 10 months ago

In the profiles? Not sure if that's the correct term, but there's settings for all the quality profiles 720p 1080p etc with a slider that can set minimum and maximum size for that quality.

[–] voracitude@lemmy.world 7 points 10 months ago* (last edited 10 months ago) (2 children)

Be sure to avoid "remux" quality. I didn't know what this meant at first - it's ~~a file with no compression~~ an uncompressed 1:1 copy of the source, so even "low-resolution" video files can be truly massive. A 1080p movie should be between 2GB-10GB or so; I've found that remuxes are typically 15GB-50GB, or even larger.

edit: updated for accuracy 👍

[–] Maxy@lemmy.blahaj.zone 3 points 10 months ago (1 children)

Remuxes aren’t uncompressed, nor are they losslessly compressed. They’re just a 1:1 direct copy from some other medium (generally blu-rays or DVD’s).

[–] voracitude@lemmy.world 3 points 10 months ago (2 children)

"Remuxing preserves the original video and audio quality because it doesn’t involve any compression"

https://techreviewadvisor.com/what-does-remux-mean/

So, what you said - it's a 1:1 copy of the source. With no compression. Which is what I said, as far as I can tell?

What I don't understand is why the article says it allows for smaller file sizes, when I've found without fail that remuxes are the largest variety by far. It made sense to me that a file produced without compression would be larger than the same file, compressed.

[–] Maxy@lemmy.blahaj.zone 5 points 10 months ago

Ah, it looks like we have a small misunderstanding. I thought you were talking about uncompressed video, which is enormous. This is only used in HDMI cables for example. A 1080p60 uncompressed video is 2.98Gbit/s, or about 1.22 terabytes per hour.

A remux is “uncompressed” in the sense that it isn’t recompressed, or in this case transcoded. A remux is still compressed, just to a lesser degree than a transcode. This means the files are indeed larger, but the quality is also better than transcodes.

To clarify the article’s confusing statement: they claim that remuxes can reduce size by throwing away some audio streams, while keeping the original video. This is true, but the video itself hasn’t gotten any smaller: you are simply throwing away other information.

[–] FlightyPenguin@lemmy.world 3 points 10 months ago

It can save data by excluding data streams that you don't need. For instance, I don't need French, Italian, Japanese, German 5.1 audio streams that each have 700Mbps bitrates or higher, nor do I need an English 1.5Gbps master audio stream, a 700 Mbps English stream, a 500 Mbps descriptive audio for the blind, and 5 different special edition commentary tracks for a film I'll watch once or twice. All those tracks can really add up, and torrent sites are often country or language specific, so remuxes might have original language and/or native language audio only.

Thank you, just went and disabled it completely, I'd never heard of that before either.

[–] PrettyLights@lemmy.world 6 points 10 months ago* (last edited 10 months ago)

Use Quality Profiles and default to a lower quality. You can set the profile for each item when adding it, or change it after the fact.

https://trash-guides.info/Radarr/radarr-setup-quality-profiles/

[–] unbuckled@lemm.ee 4 points 10 months ago
[–] charliegrahamm@lemm.ee 2 points 10 months ago

Think the "Quality Definitions" section of the settings in Radarr is what you're looking for.

[–] Petter1@lemm.ee 2 points 10 months ago

44gb for 1080 seems to be a remux file, which is the source of channel not converted but only repackaged. Just remove remux from your profiles and sed radarr to upgrade to other 1080 profiles by moving remux down in the list.