Created
March 6, 2022 17:02
-
-
Save kiakiraki/9bd3a13160c105da2ed6eceb4ce62195 to your computer and use it in GitHub Desktop.
Convert HDR metadata with YouTubeHDR/hdr_metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$OutputPath = [System.IO.Path]::GetFileNameWithoutExtension($Args[0])+".mkv" | |
.\mkvmerge.exe ` | |
-o $OutputPath ` | |
--colour-matrix 0:9 ` | |
--colour-range 0:1 ` | |
--colour-transfer-characteristics 0:16 ` | |
--colour-primaries 0:9 ` | |
--max-content-light 0:1000 ` | |
--max-frame-light 0:300 ` | |
--max-luminance 0:1000 ` | |
--min-luminance 0:0.01 ` | |
--chromaticity-coordinates 0:0.68,0.32,0.265,0.690,0.15,0.06 ` | |
--white-colour-coordinates 0:0.3127,0.3290 ` | |
$Args[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{元のファイル名}.mkv
として出力される