Skip to content

wyzdwdz/asshdr

Repository files navigation

asshdr

Recolorize ASS subtitle for HDR contents.

Build Requirements

Package Manager ---- Conan version 2.0

How to build

Linux

conan install . -b missing -s build_type=Release -c tools.system.package_manager:mode=install
source ./build/Release/generators/conanbuild.sh
cmake --preset conan-release
cmake --build --preset conan-release -j
cmake --install build/Release --prefix install

Windows

conan install . -b missing -s build_type=Release -c tools.system.package_manager:mode=install
call .\build\generators\conanbuild.bat
cmake --preset conan-default
cmake --build --preset conan-release -j
cmake --install build --prefix install

How to use

Usage:     asshdr [options...] [<files>]
Examples:  asshdr <files>
           asshdr -i <files>
           asshdr -o <dir> -i <files>
           asshdr -b <num> -o <dir> -i <files>
Options:
  -i, --input,       <files>           Input .ass files
  -o, --output       <dir>             Output directory
                                      (Default: same directory as input)
  -b, --brightness   <num (0-1000)>    Target brightness for recoloring
                                      (Default: 203)
  -h, --help                           Get help info