Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VideoRangeType to video conditions #7947

Merged
merged 3 commits into from
Jun 17, 2022

Conversation

nyanmisaka
Copy link
Member

@nyanmisaka nyanmisaka commented Jun 16, 2022

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 #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
jellyfin/jellyfin-web#3713

Changes

  • Add VideoRangeType to video conditions

Issues
Should fixes jellyfin/jellyfin-roku#552 if roku client implement this.

This is used to distinguish whether the client supports specific VideoRangeType,
such as SDR, HDR10, HLG and DOVI. Usage is similar to Video Profile condition.
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs Outdated Show resolved Hide resolved
MediaBrowser.Model/Dlna/StreamBuilder.cs Outdated Show resolved Hide resolved
MediaBrowser.Model/Dlna/StreamInfo.cs Show resolved Hide resolved
MediaBrowser.Model/Dlna/StreamBuilder.cs Outdated Show resolved Hide resolved
MediaBrowser.Model/Entities/MediaStream.cs Outdated Show resolved Hide resolved
MediaBrowser.Model/Entities/MediaStream.cs Outdated Show resolved Hide resolved
MediaBrowser.Model/Entities/MediaStream.cs Outdated Show resolved Hide resolved
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
@crobibero crobibero merged commit f1d56aa into jellyfin:release-10.8.z Jun 17, 2022
@nyanmisaka nyanmisaka deleted the video-range-condition branch June 17, 2022 16:11
jellyfin-bot pushed a commit that referenced this pull request Jun 29, 2022
(cherry picked from commit f1d56aa)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants