"Quality" Branches Dedicated to HEVC / x265


#1

Hey Guys -

First of all, thanks to all who work on Sonarr. I use it daily and it’s fantastic!

I have a substantial local library where the media alone takes up many terabytes of space. Recently, I started manually replacing shows with larger sizes with ones encoded in HEVC / x265. This has maintained or improved quality while saving a tremendous amount of space.

It would be fantastic if I Sonarr had HEVC / x265 quality categories for both 720p / 1080p. This way, I could configure shows to first search for HEVC / x265 format and if not found, then grab one with different encoding and/or set shows to this option to have them convert automatically (if available of course.)

I’ve tried setting custom restrictions, but it doesn’t provide the desired result.

If anyone has suggestions for how I could do this now, that would be great - otherwise, it would be a great and I imagine fairly simple implementation.

Thanks!


More options in the profiles
#2

Sry mate, that’s not going to happen. The quality system is based on source+resolution only, and HEVC/x265 is a codec. If we go down that road you’d have xvid and what not as ‘qualities’. It becomes far too complex for the average user (which is the target audience for Sonarr)

Preferred words would likely allow some of this, but we’re not yet sure whether we’ll support auto-upgrades for it, see https://github.com/Sonarr/Sonarr/issues/385


#3

I asked the exact same thing but alas, not willing. I understand the reasoning though but would be a fantastic feature as x265 is amazing with file sizes. 2 suggestions:

  • Add a preferred word to search for (I use x265, X265)
  • Set file size limits for each quality

Neither option is ideal as the preferred word is a mandatory word, not actually preferred and the file sizes option helps but doesn’t always get desired results so some of the time I end up using the manual search to find the desired files.


#4

@Taloth I totally understand your perspective, and see the wisdom in what you are saying.

However, Sonarr does have an Advanced Settings option and this could be under advanced. Thereby maintaining your ease of use for the general Joe/Joanna and giving the power user a little more control.


#5

This is now true. The quality is based on whats in the file name, so if you have nothing in the file name it will set the quality by default to HDTV-720p but you add web-dl 1080p to each file name sonarr will pick it up as WEB-DL 1080p and the same goes for downloads. It checks the filename.

That’s all we are suggesting. It would be nice see to Sonarr catch up with the times and include two sets of quality varibles, one for HEVC (h265,and x265) and H264 (x264). I am sure this wouldn’t be hard to do.

Thanks,


#6

I don’t follow what you’re suggesting, what you said above is what Sonarr does.

x264 and x265 aren’t different qualities, they’re the same quality with different encodings. We are not going to conflate the quality system with 2x the qualities.

Preferring x264 over x265 or vice versa would be covered by this issue.

I’m not really sure what wouldn’t be hard, but if you say so…


#7

The world revolves the two types of qualities so they should be treated as such. Because you don’t want to treat it as such suggests you are too lazy. I guess others will have to make the change to your code so they can benefit from deciding “I only want x265 for these tv shows, and x264 for these other tv shows”. What we want is choice and not headaches because someone is too lazy provide “choice”. :slight_smile:


#8

You can already do this…

Either reject x265 or accept x264 (or both) and link it to the series you want via the x264 tag that also needs to be on the series.

Too lazy too look around the UI vs the guy that that actually implemented the feature…


#9

Restrictions can enforce a 265 selection only, but can they help an upgrade from a 264 to a 265 encoded file? I’ll take a look at it and see what comes.

In an Agile project, the Product Owner would simply add this to the backlog driven by user priority, has this happened? I know https://github.com/Sonarr/Sonarr/issues/385 details the requirement as an enhancement but there does not appear any way for users to give weight to a given requirement, especially given it is closed.

Keep up the good work, love the product.


#10

hey, this is great! i didn’t know about restrictions!

a few questions: because this content is sometimes flagged hevc or h265, is there a way to account for that?

also, maybe this is way too over my head, but is there a way to have already existing content “upgrade” to this, OR, say it’s the night a show airs—i’d love for whatever’s available fast to come in as soon as it can, but then upgrade to this after. is this doable?


#11

Restrictions are currently very umm… strict. So if you add hevc, the release must have this word, always.
You’re looking for a “should contain” restriction, where the hevc release would be rated higher but others are acceptable as well. That doesn’t exist in sonarr currently.


#12

is there any, um, roadmap for this?


#13

Another user here who has asked for this and would love to see it. If you are also someone who would like this “freferred, but not forced/only functionality” add your comments!