Opciones que hay que agregar al x265 para cuando se quiere codificar un video a 10bit/12bit compatible con HDR: Agregar el perfil d e color primario BT.2020
para codificacion a 10bit de color
-- colorprim "bt2020" -- transfer "bt2020-10" --colormatrix "bt2020"
para codificacion a 12bit de color
-- colorprim "bt2020" -- transfer "bt2020-12" --colormatrix "bt2020"
Esta tabla es del encoder x264 pero en el x265 es basicamente lo mismo
https://mailman.videolan.org/pipermail/ ... 10168.html+++ b/x264.c
@@ -746,16 +746,18 @@ static void help( x26_param_t *defaults, int longhelp )
H2( " --range <string> Specify color range [\"%s\"]\n"
" - %s\n", range_names[0], stringify_names( buf, range_names ) );
H2( " --colorprim <string> Specify color primaries [\"%s\"]\n"
- " - undef, bt709, bt470m, bt470bg\n"
- " smpte170m, smpte240m, film\n",
+ " - undef, bt709, bt470m, bt470bg, smpte170m,\n"
+ " smpte240m, film, bt2020\n",
strtable_lookup( x264_colorprim_names, defaults->vui.i_colorprim ) );
H2( " --transfer <string> Specify transfer characteristics [\"%s\"]\n"
- " - undef, bt709, bt470m, bt470bg, linear,\n"
- " log100, log316, smpte170m, smpte240m\n",
+ " - undef, bt709, bt470m, bt470bg, smpte170m,\n"
+ " smpte240m, linear, log100, log316,\n"
+ " iec61966-2-4, bt1361e, iec61966-2-1,\n"
+ " bt2020-10, bt2020-12\n",
strtable_lookup( x264_transfer_names, defaults->vui.i_transfer ) );
H2( " --colormatrix <string> Specify color matrix setting [\"%s\"]\n"
- " - undef, bt709, fcc, bt470bg\n"
- " smpte170m, smpte240m, GBR, YCgCo\n",
+ " - undef, bt709, fcc, bt470bg, smpte170m,\n"
+ " smpte240m, GBR, YCgCo, bt2020nc, bt2020c\n",
strtable_lookup( x264_colmatrix_names, defaults->vui.i_colmatrix ) );
Y ademas hay que agregar al x265 version 3.0.
--dolby-vision-profile DolbyVisionProfile [8.1]
--dolby-vision-rpu DolbyVisionRpuFile Any String
--dolby-Vision-profile <integer/float>
Profile 5 single layer with Dolby Vision-only support
Profile 8.1 single layer with HDR10 compatibility
Profile 8.2 single layer with SDR compatibility

Por ejemplo si usan
--dolby-vision-profile 5 el video solo mostrara HDR en un aparato certificado para Dolby Vision, si usan
--dolby-vision-profile 8.1 el video mostrara el HDR en aparatos con certificado Dolby Vision o con certificado para HDR/HDR10.
Dolby Vision profile 5 HDR vs SDR

Dolby Vision profile 8.1’s HDR10 vs Conventional HDR10

Dolby Vision profile 8.2’s SDR vs Conventional SDR

Y asi una serie de parametros estandar del x264 para un video para crear tu propio BluRayDisc-Video
http://www.x264bluray.com/home/720p-encoding.