Skip to content

GizmoBal/HDRplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HDRplot

Description

There are at least two good reasons to measure the HDR grade of a hevc/mkv video file.

  1. Some remuxes miss the HDR metadata maxCLL/maxFALL. As you are supposed to provide this metadata when encoding, you sometimes need to measure them. The function measure_hdr10_content_light_level in awsmfunc does that. HDRplot comes on top of measure_hdr10_content_light_level and therefore provides that functionality.

  2. When you want to inject the DoVi/HDR10+ metadata of a web-dl into a HDR remux, you have to check previously that the HDR grades match. One way to do that is to check that the brightness match on screenshots taken from both sources. The other way is to plot the HDR grades of the 2 sources. This is what HDRplot does, based on measure_hdr10_content_light_level. For this functionality, an essential feature is the possibility to tonemap a DoVi P5 video file to HDR before drawing the plot. Such a functionality is already implemented in DoVi_Scripts, but DoVi_Scripts is not available for Linux/macOS. HDRplot aims at providing a cross-platform alternative within VapourSynth.

Requirements

This script needs a working installation of VapourSynth with the ffms2 indexer. It also requires to have compiled the vs-placebo plugin with option dovi. Finally, ffmpeg, dovi_tool and mediainfo must be on path.

Features

  • Can measure the HDR grades of any HDR10/HDR10+/DoVi hevc/mkv video file.
  • In case of a DoVi P5 file, a preliminary tonamap to PQ/HDR10 will be performed.
  • Plot the CLL/FALL values of each frame. Compute maxCLL and maxFALL.
  • Extract the Master Display Luminance Parameters and the main DoVi parameters and print them on the plot.

Screenshots

Barbie-remux Barbie-webdl

About

Plot HDR grade of a hevc/mkv video file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages