#video #multimedia

app hdrcopier

A tool for copying colorspace and HDR metadata from one file to another

9 releases

0.3.2 Jul 29, 2022
0.3.1 Apr 5, 2022
0.2.3 Jan 31, 2022
0.2.2 Dec 17, 2021
0.1.1 Dec 9, 2021

#47 in #video

28 downloads per month

MIT license

986 lines



  • mkvtoolnix CLI
  • mediainfo CLI
  • ffprobe


Copy metadata

hdrcopier copy [input] [target]

  • input = file to copy metadata from
  • target = file to copy metadata into

The tool will parse the metadata from the input file, then update the target file with that metadata.

Display metadata

hdrcopier show [input]

Will display metadata on the screen, by default in a human-readable format.

Optionally, a --format flag can be passed to format the metadata to be passed directly to an encoder.


If you have a video that you know is HDR, but this tool fails to parse the metadata, please create an issue. If you can include a link to the video, that's extremely helpful. If not, please post the full CLI output from both mkvinfo and mediainfo for the file.


~48K SLoC