feat(hybrid): generate Dolby Vision from the decoded video

--generate-dv now takes an HDR10 base and measures L1 with FFmpeg when there is no usable HDR10+ metadata. -r HDR10 or -r HDR10P with the flag runs as a hybrid of that base alone, --sample shifts the DV RPU to match the base, and the REST API accepts generate_dv with any range.
This commit is contained in:
imSp4rky
2026-11-10 05:30:03 -07:00
parent b4418fa731
commit d12bf31b6b
11 changed files with 682 additions and 131 deletions
+4 -2
View File
@@ -1164,8 +1164,10 @@ async def download(request: web.Request) -> web.Response:
generate_dv:
type: boolean
description: >-
With HYBRID in range, make Dolby Vision from the HDR10+ metadata when a title has no
Dolby Vision track (default - false). Needs hdr10plus_tool on the server.
With HYBRID in range, make Dolby Vision from the HDR10+ metadata or the decoded video
when a title has no Dolby Vision track (default - false). With HDR10 or HDR10P in range
and no HYBRID, make it for that base and ignore a Dolby Vision track. With none of the
three in range, the field has no effect.
worst:
type: boolean
description: Select the lowest bitrate track within the specified quality. Requires `quality` (default - false)