jellyfin / Swiftfin

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

HDR Playback of AV1.MKV with PGS subtitles. #1050

Open caffinatedutkarsh opened 4 months ago

caffinatedutkarsh commented 4 months ago

Describe the bug

Playback Setup:

Server setup

The issue

I tried playing a HDR movie encoded in AV1 with the container type of MKV, it looked completely washed out and no HDR signal was detected on TV. I checked the info in on the server dahboard and it reported that video was being played directly. I turned on the Tone mapping so colours looked a lot better but still not HDR signal was detected on the TV.

I then opened samsungs builtin web browser and tried using the web client. When the same movie was played via webcliet the movie was playing great and TV detected HDR signal but no subtitles were shown. As soon as I enabled subtitles the HDR signal was lost again and colours went back to being washed out if the tonemapping is kept disabled. If I enable tone mapping the colours would come back but the TV doesnt detects HDR signnal.

Why am I not being able to play the video in HDR with the subtitles on?

Application version

1.0.1

Where did you install the app from?

App Store

Device information

Apple TV 3d Gen 128 GB

OS version

TvOS 17.4

Jellyfin server version

10.8.13

EnjoyBacon7 commented 2 months ago

Not that I'll be able to help, but I am curious, if the tvOS version of the app has the choice between the native and the swift fin player, does the native player help with HDR? (It will require transcoding server side). If played on an iPhone or a fairly recent Mac, does HDR work?

I believe the swift fin player is unable to play HDR because it is based on VLCkit which doesn't support HDR.