mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12529] [MERGED] Make Live TV compatibility profiles customizable #13234
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/12529
Author: @gnattu
Created: 8/28/2024
Status: ✅ Merged
Merged: 9/8/2024
Merged by: @crobibero
Base:
master← Head:customizable-livetv-tuner📝 Commits (5)
fba6eccMake Live TV compatibility profiles customizable726f1a8Use Math.Min467c90eUse non nullable value031f001Rename RequiresTsContainerTranscoding to UseMostCompatibleTranscodingProfile for clear intent80ef57eAdd default value for UseMostCompatibleTranscodingProfile📊 Changes
6 files changed (+29 additions, -21 deletions)
View changed files
📝
Jellyfin.Api/Helpers/StreamingHelpers.cs(+6 -19)📝
MediaBrowser.Model/Dlna/StreamBuilder.cs(+1 -0)📝
MediaBrowser.Model/Dto/MediaSourceInfo.cs(+7 -0)📝
MediaBrowser.Model/LiveTv/TunerHostInfo.cs(+9 -0)📝
src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs(+2 -0)📝
src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs(+4 -2)📄 Description
This allows the previously hard-coded compatibility profiles for Live TV to be customizable on a per-tuner basis. Notably:
Selective enabling of the fMP4 transcoding container to support HEVC and HDR content if the tuner is compatible and will not cause playback issues like A/V out of sync.
Option to enable or disable HTTP shared streaming (one stream from Jellyfin to the tuner, with multiple clients from Jellyfin). This is useful when the tuner has a stream count limit, but it also caused a lot of playback issues as not all tuners/streams are happy with this.
User-customizable fallback streaming bitrate. This is particularly helpful when
ffprobecannot reliably determine the source stream bitrate, making the client request an excessively high transcoding bitrate that could overload the hardware encoder.These changes also allow the plugins that implements
ILiveTvServicethat can only supply aMedaSourceInfoto use the compatibility profiles. By specifyingUseMostCompatibleTranscodingProfileandFallbackMaxStreamingBitrate.Changes
Issues
Replaces #12483 but this is for 10.10
Fixes #11847
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.