Skip to content

Conversation

@dfederm
Copy link
Owner

@dfederm dfederm commented Feb 12, 2026

The device profile sent to the Jellyfin server had issues preventing 4K, HDR, and Dolby Vision content from playing correctly on Xbox. Max video width was hardcoded to 1920, HEVC was limited to "main" profile at level 4.0 (missing Main 10 for HDR10, and too low for 4K), H.264 was capped at level 4.2, AV1 and audio codecs were hardcoded as always-supported rather than queried, and Dolby Vision was never actually attempted for dual-layer formats.

Notable changes:

  • Dynamic resolution detection from HDMI display modes (3840 on Xbox One S+) instead of hardcoded 1920
  • HEVC Main 10 at level 5.1 for 4K HDR10 decode
  • H.264 raised to level 5.1 to match Xbox hardware
  • AV1 and audio codecs (AAC, MP3, AC3, EAC3, MP2) now queried via CodecQuery instead of assumed
  • Dolby Vision prioritized for DOVIWithHDR10/DOVIWithHLG display mode selection
  • ~190 lines removed: dead browser-ported code, always-true booleans inlined, duplicate blocks merged, AudioGraph leak fixed, pragma typo fixed

@dfederm dfederm merged commit d5059a9 into main Feb 12, 2026
1 check passed
@dfederm dfederm deleted the fix-deviceprofilemanager branch February 12, 2026 09:16
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.

1 participant