[PR #14314] [MERGED] Use square root scaling for high framerate videos' bitrate requirements #13752

Closed
opened 2025-12-22 10:02:50 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/14314
Author: @gnattu
Created: 6/15/2025
Status: Merged
Merged: 6/15/2025
Merged by: @crobibero

Base: masterHead: resolution-square-root-scaling


📝 Commits (2)

  • 55bdc12 Use square root scaling for high framerate videos' bitrate requirements
  • a0cde06 Add comment

📊 Changes

1 file changed (+6 additions, -1 deletions)

View changed files

📝 MediaBrowser.Model/Dlna/ResolutionNormalizer.cs (+6 -1)

📄 Description

The previous linear scaling model is inefficient for modern codecs for high frame rate(>30fps) videos. It may force an extremely low resolution like 540p, under poor network conditions(<5Mbps). High frame rates benefit from H264’s temporal inter-frame compression, and human perception of quality diminishes with increasing frame rates. Square root scaling for high framerate videos fits the use case better.

Changes

Issues

Fixes #14238


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/14314 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 6/15/2025 **Status:** ✅ Merged **Merged:** 6/15/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `resolution-square-root-scaling` --- ### 📝 Commits (2) - [`55bdc12`](https://github.com/jellyfin/jellyfin/commit/55bdc12cf7e6fd9aaf76394409ba4162e3aa0084) Use square root scaling for high framerate videos' bitrate requirements - [`a0cde06`](https://github.com/jellyfin/jellyfin/commit/a0cde06ec6a2cfe1d27e1fe04cc7c39256923d02) Add comment ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Model/Dlna/ResolutionNormalizer.cs` (+6 -1) </details> ### 📄 Description The previous linear scaling model is inefficient for modern codecs for high frame rate(>30fps) videos. It may force an extremely low resolution like 540p, under poor network conditions(<5Mbps). High frame rates benefit from H264’s temporal inter-frame compression, and human perception of quality diminishes with increasing frame rates. Square root scaling for high framerate videos fits the use case better. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #14238 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 10:02:50 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#13752
No description provided.