Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd March 2021, 20:15 | #1 | Link |
Registered User
Join Date: Feb 2021
Posts: 12
|
Pass hdr10 master-display metadata to x265
AFAIK --master-display and --max-cll are the only HDR10 metadata options that can be different for different hdr10 sources. If you want to reencode such sources with x265 or ffmpeg using x265, you'll need to pass that metadata from the source to the encoder.
While max-cll is easily obtainable by querying the source with mediainfo, the string needed for the master-display option is not. As I became too lazy to extract and convert that string manually everytime, I made a little tool that generates a master-display string to be used with x265's --master-display parameter directly. It supports manual input in cd/mē and information extraction via ffmpeg from the source file (which must have an hevc video stream). Let's assume you just made a backup of a 4K blu-ray with makemkv. If you want to obtain the master-display string for x265 you just have to use this simple command: Code:
convertmdinfo -i /path/to/my/movie.mkv https://github.com/jwdev42/convertmdinfo |
Tags |
ffmpeg, hdr10, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|