Skip to content

[v1] HDR-to-SDR tone-mapped transcoding #632

Closed

Description

@neurekadev

Summary

Administrators can optionally enable hardware and/or software HDR-to-SDR tone mapping so compatible HDR10, HDR10+, HLG, and Dolby Vision sources can be transcoded for SDR-only clients during streaming and prepared downloads. Direct HDR playback remains unchanged, and both settings are disabled by default.

User value / why v1

Without tone mapping, SDR-only clients cannot play HDR sources that require video transcoding. This is foundational playback compatibility and should be part of v1 rather than a later enhancement.

API surface

  • GET /api/v1/playback/capability advertises hdr_to_sdr_tonemap@1 when an enabled, validated executor is available.
  • POST /api/v1/playback/start and POST /api/v1/playback/{session_id}/replan may return that transformation, dynamic_range: "sdr", and an hdr_tone_mapped warning.
  • GET /api/v1/admin/settings/effective and PUT /api/v1/admin/settings expose playback.transcode_hardware_tone_map_enabled and playback.transcode_software_tone_map_enabled.
  • Existing download and Jellyfin-compatible playback endpoints use the same recipe without new client request fields.

Client impact (android / apple / web)

  • Android: None; existing capability negotiation and HLS playback apply.
  • Apple: None; existing capability negotiation and HLS playback apply.
  • Web: Add two administrator toggles under Playback → Transcoding. No player changes required.

Rough size (server-side)

L

AI Disclosure

  • Tool(s): OpenAI Codex
  • Model(s): 5.6 Sol (Extra High)
  • Involvement: AI-assisted

Activity

  1. added
    v1.0-proposed
    on Aug 13, 2026
  2. neurekadev commented on Aug 13, 2026

    @neurekadev
    ContributorAuthor

    I'll personally be working on this issue and opening a PR soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    v1.0-proposed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions