jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.41k stars 1.28k forks source link

Dolby Vision with HDR fallback has incorrectly sized enhancement layer #5783

Open ChrisRosser opened 4 months ago

ChrisRosser commented 4 months ago

Describe The Bug When Playing Dolby Vision content with HDR10 fallback with a non-standard aspect ratio the enhancement layer is incorrectly sized over the base layer. It looks like the black bars top and bottom are exactly double the width on the enhancement layer (maybe some offset being applied twice?)

Steps To Reproduce

Play Dolby Vision content with HDR10 fallback.

Expected Behavior Enhancement layer should perfectly match the underlying base layer.

Logs

Screenshots image

System (please complete the following information):

Additional Context

ChrisRosser commented 4 months ago

https://github.com/jellyfin/jellyfin-webos/issues/239

also mentioned here.

ChrisRosser commented 4 months ago

I can confirm the issue is present with prefer fMP4 enabled and disabled. This setting doesn't appear to make any difference to this particular problem. The key issue appears to be aspect ratio.

File that works perfectly: Codec: HEVC AVC: No Profile: Main 10 Level: 150 Resolution: 3840x2160 Aspect ratio: 16:9 Anamorphic: No Interlaced: No Framerate: 24 Bitrate: 18942 kbps Bit depth: 10 bit Video range: HDR Video range type: DOVIWithHDR10 DV title: DV Profile 8.1 (HDR10) DV version major: 1 DV version minor: 0 DV profile: 8 DV level: 6 DV rpu preset flag: 1 DV el preset flag: 0 DV bl preset flag: 1 DV bl signal compatibility id: 1 Colour space: bt2020nc Colour transfer: smpte2084 Colour primaries: bt2020 Pixel format: yuv420p10le Ref frames: 1

Problem file: Codec: HEVC AVC: No Profile: Main 10 Level: 153 Resolution: 3840x1608 Aspect ratio: 2.40:1 <<<<<< This is the only real difference between these two files. Anamorphic: No Interlaced: No Framerate: 23.976025 Bitrate: 25653 kbps Bit depth: 10 bit Video range: HDR Video range type: DOVIWithHDR10 DV title: DV Profile 8.1 (HDR10) DV version major: 1 DV version minor: 0 DV profile: 8 DV level: 6 DV rpu preset flag: 1 DV el preset flag: 0 DV bl preset flag: 1 DV bl signal compatibility id: 1 Colour space: bt2020nc Colour transfer: smpte2084 Colour primaries: bt2020 Pixel format: yuv420p10le Ref frames: 1

jellyfin-bot commented 2 days ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.