Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erazortt authored Mar 29, 2024
1 parent 8fbf10b commit a88e20d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ The stream created by `DoViBaker` is a pure PQ12 stream. That means it is a stre
* --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)"
* --max-cll "1442,329"

The above values are just an example and the acual values must be taken from the stream. The values for `L` of the `master-display` flag are the `_dovi_static_master_display_max_luminance` and `_dovi_static_master_display_min_luminance` frame property set by `DoViBaker` respectivly multiplied by a factor of 10000. Not all DolbyVision substreams carries these values however, in which case you will need to read them from the Base Layer stream by [MediaInfo](https://mediaarea.net/MediaInfo) for example. The values above for `G`, `B`, `R` and `WP` are for the most usually used `Display P3` color gamut.
The values for the `max-cll` flag are the `_dovi_static_max_content_light_level` and `_dovi_static_max_avg_content_light_level` respectively. Again, not all DolbyVision substreams carries those, in which case you will need to rely on the values from you Base Layer.
The above values are just an example and the acual values must be taken from the stream. The values for `L` of the `master-display` flag are the `_dovi_static_master_display_max_luminance` and `_dovi_static_master_display_min_luminance` frame property set by `DoViBaker` respectivly multiplied by a factor of 10000. Not all DolbyVision substreams carry these values however, in which case you will need to read them from the Base Layer stream by [MediaInfo](https://mediaarea.net/MediaInfo) for example. The values above for `G`, `B`, `R` and `WP` are for the most usually used `Display P3` color gamut.
The values for the `max-cll` flag are the `_dovi_static_max_content_light_level` and `_dovi_static_max_avg_content_light_level` respectively. Again, not all DolbyVision substreams carry those, in which case you will need to rely on the values from you Base Layer.

## Trims
It is possible to apply the trims available in the DolbyVision substream. Select which trim to apply using the `trimPq` argument and set `targetMaxNits` and `targetMinNits` as necessary. Be warned however, only the typical CM v2.9 processing is implemented thus far, and most streams don't have very optimized parameters, producing suboptimal results. Thus this feature is experimental only!
Expand Down

0 comments on commit a88e20d

Please sign in to comment.