Log in

View Full Version : x265 HDR options


Nico8583
31st August 2019, 21:44
Hi,
I would like to know if --hdr and --hdr-opt are good options to encode HEVC stream ?
And I would like to try to encode HDR10+ stream, so I think I must use --dhdr10-info option but is it necessary to add also --dhdr10-opt ? And also --hdr and --hdr-opt ?
Thank you !

benwaggoner
3rd September 2019, 19:22
Hi,
I would like to know if --hdr and --hdr-opt are good options to encode HEVC stream ?
If you are encoding HDR, absolutely!

And I would like to try to encode HDR10+ stream, so I think I must use --dhdr10-info option but is it necessary to add also --dhdr10-opt ? And also --hdr and --hdr-opt ?
Thank you !
The --dhdr options are just about metadata, and so are complementary to the others. You should use both if you have HDR10+ metadata in a json sidecar file. Note x265 won't generate that metadata for you.

Nico8583
3rd September 2019, 20:41
Thank you !
I will extract the metadata with hdr10plus_parser.exe and add it with --dhdr10-info, right ? Or is there a new method ?
And so I will use --hdr --hdr-opt --dhdr10-opt --dhdr10-info <json> to my commandline ?
Thank you.

microchip8
4th September 2019, 03:01
if max-cll or master-display is enabled, the hdr option gets automatically enabled too. you only need to enable hdr-opt (which is not automatically enabled)

Nico8583
5th September 2019, 13:45
Thank you !
Is there a better way to extract metadata than hdr10plus_parser.exe ?