mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #7947] [MERGED] Add VideoRangeType to video conditions #11395
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#11395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/7947
Author: @nyanmisaka
Created: 6/16/2022
Status: ✅ Merged
Merged: 6/17/2022
Merged by: @crobibero
Base:
release-10.8.z← Head:video-range-condition📝 Commits (3)
be72001Add VideoRangeType to video conditions477b922Apply suggestions from code review0b6fbebApply suggestions from code review📊 Changes
14 files changed (+190 additions, -30 deletions)
View changed files
📝
Emby.Dlna/Didl/DidlBuilder.cs(+2 -0)📝
Emby.Dlna/PlayTo/PlayToController.cs(+1 -0)📝
Jellyfin.Api/Helpers/StreamingHelpers.cs(+2 -1)📝
MediaBrowser.Controller/MediaEncoding/BaseEncodingJobOptions.cs(+6 -0)📝
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs(+14 -0)📝
MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs(+42 -0)📝
MediaBrowser.Model/Dlna/ConditionProcessor.cs(+3 -0)📝
MediaBrowser.Model/Dlna/ContentFeatureBuilder.cs(+2 -0)📝
MediaBrowser.Model/Dlna/DeviceProfile.cs(+3 -1)📝
MediaBrowser.Model/Dlna/ProfileConditionValue.cs(+2 -1)📝
MediaBrowser.Model/Dlna/StreamBuilder.cs(+41 -4)📝
MediaBrowser.Model/Dlna/StreamInfo.cs(+23 -0)📝
MediaBrowser.Model/Entities/MediaStream.cs(+48 -23)📝
MediaBrowser.Model/Session/TranscodeReason.cs(+1 -0)📄 Description
This is used to distinguish whether the client supports specific VideoRangeType, such as SDR, HDR10, HLG and DOVI.
Since it's basically a copy-paste from the Video Profile condition, usages are similar.
@dmitrylyzo has tried to add the "IsHdr" condition in https://github.com/jellyfin/jellyfin/pull/7199, but I think that's isn't enough for various HDR types mentioned above.
With this PR, clients can declare supported video range types by querying device attributes. Server will follow the condition from clients to make a right decision between using Transcoding, DirectPlay, DirectStreaming or Remuxing.
Web
https://github.com/jellyfin/jellyfin-web/pull/3713
Changes
Issues
Should fixes https://github.com/jellyfin/jellyfin-roku/issues/552 if roku client implement this.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.