PriamX
November 18, 2021, 6:46pm
1
Question:
How does Sonarr determine the quality profile of a media file? Plex and Sonarr are sometimes not in agreement. For example, the first image shows Sonarr’s interpretation of the quality profile for a given file at 720p. The second image shows Plex’s interpretation of that same file at 480p.
Using ‘mediainfo’ on the command line shows the actual resolution of that media file is 1248x520p
I’m not saying there’s a problem here, I’m just looking for some understanding on why the discrepancy.
Thank you!
Seems maybe plex is wrong - sonarr is default to file name & mediainfo ?
What’s mediainfo say on the file
_logger.Trace("Resolution {0}x{1} considered 2160p", width, height); return AugmentQualityResult.ResolutionOnly(2160, Confidence.MediaInfo); } if (width >= 1800 || height >= 1000) { _logger.Trace("Resolution {0}x{1} considered 1080p", width, height); return AugmentQualityResult.ResolutionOnly(1080, Confidence.MediaInfo); } if (width >= 1200 || height >= 700) { _logger.Trace("Resolution {0}x{1} considered 720p", width, height); return AugmentQualityResult.ResolutionOnly(720, Confidence.MediaInfo); } if (width > 0 && height > 0) { _logger.Trace("Resolution {0}x{1} considered 480p", width, height); return AugmentQualityResult.ResolutionOnly(480, Confidence.MediaInfo); }
720p is defined as
if (width >= 1200 || height >= 700)
Where || is OR in C# (specifically or if and only if the left is false)
system
Closed
January 19, 2022, 12:28am
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.