Skip to content

CLI utility to work with HDR10+ in HEVC files.

License

Notifications You must be signed in to change notification settings

boohboot/hdr10plus_tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hdr10plus_tool Tests Artifacts

CLI utility to work with HDR10+ in HEVC files.
Previously named hdr10plus_parser, now it's more than just a parser.  

Options that apply to the commands:

  • --verify Checks if input file contains dynamic metadata.
  • --skip-validation Skip profile conformity validation. Invalid metadata is set to profile N/A.

Commands

  • extract

    Extracts the HDR10+ metadata from HEVC SEI messages to a JSON file.
    Also calculates the scene information for compatibility with Samsung tools.

    If no output is specified, the file is only parsed partially to verify presence of metadata.

    Examples:

    • hdr10plus_tool extract video.hevc -o metadata.json
    • ffmpeg -i "input.mkv" -map 0:v:0 -c copy -vbsf hevc_mp4toannexb -f hevc - | hdr10plus_tool extract -o metadata.json -
    • Extract without validating: hdr10plus_tool --skip-validation extract video.hevc -o metadata.json  
  • inject

    Interleaves HDR10+ metadata NAL units before slices in an HEVC encoded bitstream.
    --verify has no effect with this command.

    • Example: hdr10plus_tool inject -i video.hevc -j metadata.json -o injected_output.hevc
       

Sample files

Tears of Steel samples encoded with x265 using --dhdr10-info for tests.

Sample JSON metadata available here: https://bitbucket.org/multicoreware/x265_git/downloads/

About

CLI utility to work with HDR10+ in HEVC files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%