mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-01 21:45:10 +00:00
feat(core): add HDR Vivid hybrids and a MonaLisa command builder
This commit is contained in:
+13
-11
@@ -105,7 +105,7 @@ By default a missing requested resolution is an error. Two flags change that:
|
||||
|
||||
A `quality` in the config counts as a requested resolution. When `--best-available` finds none of the
|
||||
requested resolutions, `--worst` also picks from the lowest resolution. In hybrid mode, that is the
|
||||
lowest resolution that has an HDR10 or HDR10+ base.
|
||||
lowest resolution that has an HDR10, HDR10+ or HDR Vivid base.
|
||||
|
||||
```shell title="Never fail on a missing resolution"
|
||||
unshackle dl -q 2160 --best-available EXAMPLE 0ABC123
|
||||
@@ -152,7 +152,7 @@ unshackle dl -v hevc,avc EXAMPLE 81234567
|
||||
| `HDR10P` | HDR10+ (`-r HDR10+` also works) |
|
||||
| `VIVID` | HDR Vivid (`-r "HDR Vivid"` also works) |
|
||||
| `DV` | Dolby Vision |
|
||||
| `HYBRID` | Fetch both an HDR10/HDR10+ base and a DV track, then merge them |
|
||||
| `HYBRID` | Fetch both an HDR10/HDR10+/HDR Vivid base and a DV track, then merge them |
|
||||
|
||||
```shell title="Grab HDR10 and Dolby Vision in one run"
|
||||
unshackle dl -q 2160 -r HDR10,DV EXAMPLE '...'
|
||||
@@ -179,18 +179,20 @@ MP4, see [3D output](output-and-naming.md#3d-output).
|
||||
|
||||
!!! warning "HYBRID requires dovi_tool"
|
||||
`-r HYBRID` makes a single hybrid track by injecting the Dolby Vision RPU
|
||||
metadata onto an HDR10/HDR10+ base layer with **dovi_tool**.
|
||||
metadata onto an HDR10/HDR10+/HDR Vivid base layer with **dovi_tool**.
|
||||
It requires the `dovi_tool` binary, resolved from unshackle's `binaries/` folder,
|
||||
the `binaries` folder of your user data directory, or your `PATH`. A hybrid needs a DV track plus an HDR10 or
|
||||
HDR10+ base. With no DV track, the title fails, unless you add `--generate-dv` (see below).
|
||||
When HDR10+ is present, unshackle prefers it over HDR10 as the base layer. The base must be
|
||||
HEVC; a title whose HDR10/HDR10+ tracks are all in another codec fails before it downloads.
|
||||
the `binaries` folder of your user data directory, or your `PATH`. A hybrid needs a DV track plus an HDR10,
|
||||
HDR10+ or HDR Vivid base. With no DV track, the title fails, unless you add `--generate-dv` (see below).
|
||||
unshackle prefers HDR10+ as the base layer, then HDR10. It uses an HDR Vivid track only when the title has
|
||||
no HEVC HDR10 or HDR10+ track, and only a track with a PQ base. The base and the DV track must have the
|
||||
same frame rate, and the DV track must not be profile 8.4 (HLG). The base must be
|
||||
HEVC; a title whose HDR10/HDR10+/HDR Vivid tracks are all in another codec fails before it downloads.
|
||||
If the hybrid step fails for one resolution, unshackle logs an error, skips that resolution
|
||||
and goes on with the other resolutions of the title. When no hybrid file at all was made,
|
||||
the title fails.
|
||||
|
||||
A track that is `DV+HDR10P`, `HDR10+DV` or `HDR10P+DV` in `--list` already carries Dolby Vision and an HDR10
|
||||
or HDR10+ base, so it is already a hybrid. At a resolution that has one, `-r HYBRID` selects it
|
||||
A track that is `DV+HDR10P`, `HDR10+DV`, `HDR10P+DV` or `VIVID+DV` in `--list` already carries Dolby Vision and
|
||||
an HDR10, HDR10+ or PQ HDR Vivid base, so it is already a hybrid. At a resolution that has one, `-r HYBRID` selects it
|
||||
and muxes it as it is, with no base track and no dovi_tool step. A track that carries HDR10+
|
||||
comes first, then the highest bitrate (the lowest with `--worst`). The other resolutions get a
|
||||
hybrid that unshackle makes.
|
||||
@@ -201,13 +203,13 @@ MP4, see [3D output](output-and-naming.md#3d-output).
|
||||
#### Dolby Vision without a DV track
|
||||
|
||||
When a title has no DV track, `-r HYBRID --generate-dv` makes a Dolby Vision Profile 8.1 track
|
||||
for its HDR10 or HDR10+ base. When a title has a DV track, unshackle uses that track and ignores
|
||||
for its HDR10, HDR10+ or HDR Vivid base. When a title has a DV track, unshackle uses that track and ignores
|
||||
the flag. When it has none, the flag also makes unshackle ask the service for its HDR10+ tracks.
|
||||
|
||||
| Base | Source of the Dolby Vision brightness values |
|
||||
| --- | --- |
|
||||
| HDR10+, with `hdr10plus_tool` installed | The HDR10+ metadata |
|
||||
| HDR10, or HDR10+ without `hdr10plus_tool`, or an HDR10+ label with no metadata in the track | The decoded video |
|
||||
| HDR10, HDR Vivid, or HDR10+ without `hdr10plus_tool`, or an HDR10+ label with no metadata in the track | The decoded video |
|
||||
|
||||
A track that the service labels HDR10 but that carries HDR10+ metadata counts as HDR10+
|
||||
(see [`hdr10plus_probe`](../reference/configuration/download.md#hdr10plus_probe)).
|
||||
|
||||
Reference in New Issue
Block a user