-
-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: set max resolution for common video codecs
Instead of relying on the max resolution for the H264 codec decoder as a global setting when computing device capabilities, set the max supported resolution for the most common video codecs by querying the decoder. Video codecs that support this are: AVC (H264), HEVC (H265), AV1. This change avoids unnecessary transcodings because, on some devices, the AVC decoder might support a lower maximum resolution compared to other decoders that the device supports. For example, if the AVC decoder supports up to 2K resolution decoding, and the HEVC supports up to 4K resolution decoding, Jellyfin would have transcoded a 4K HEVC media stream.
- Loading branch information
1 parent
5160482
commit c47166a
Showing
2 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters