jellyfin / Swiftfin

Native Jellyfin Client for iOS and tvOS
Mozilla Public License 2.0
2.24k stars 250 forks source link

HDR not playing #1051

Open caffinatedutkarsh opened 3 weeks ago

caffinatedutkarsh commented 3 weeks ago

Describe the bug

Playback Setup:

Server setup

The issue

I tried playing a HDR movie encoded in HEVC x265 with the container type of MKV, it does not play. It shows a not sign at the bottom and nothing happens as shown in the attached photo. The Apple Tv is running on 4k SDR and match content dynamic range and frame rate is switched on. When I change the Apple Tv output to 4k HRD and switch on the native player with fmp4 with HLS the video starts playing but no subtitles get rendered. 257676554-d0f9c485-15f7-459d-8146-47a3816cf5b4

Application version

1.0.1

Where did you install the app from?

App Store

Device information

Apple TV 4K 3rd Gen

OS version

TvOS 17.4

Jellyfin server version

10.8.13

ryanmatthews commented 1 week ago

Slightly different setup, but same issue.

Playback Setup Apple TV 4K running tvOS 17.4 on an HD Panasonic TV (No 4K, no HDR etc) running current Swiftfin (1.0.1)

Server Setup Jellyfin 10.9.2 running in Docker on an N100 NUC. QSV and OpenCL are enabled and confirmed working in the container

Video Details: Title: 4K HEVC HDR Codec: HEVC AVC: No Profile: Main 10 Level: 150 Resolution: 3836x1600 Aspect ratio: 2.40:1 Anamorphic: No Interlaced: No Framerate: 23.976025 Bitrate: 15184 kbps Bit depth: 10 bit Video range: HDR Video range type: DOVI DV title: DV Profile 5 DV version major: 1 DV version minor: 0 DV profile: 5 DV level: 6 DV rpu preset flag: 1 DV el preset flag: 0 DV bl preset flag: 1 DV bl signal compatibility id: 0 Pixel format: yuv420p10le Ref frames: 1

If I play the movie using the standard player, it doesn't seem to do the tone mapping at all and I see the expected messed up coloring (green/purple hues). If I attempt to enable the native player which I would have expected to force a transcode/tone map then I get the same screen as @caffinatedutkarsh which shows the 🚫 symbol and playback never begins.