OPciones que hay que agregar al x264 para cuando se quiere codificar un video a 10bit/12bit compatible con HDR: Agregar el perfild 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"
https://mailman.videolan.org/pipermail/ ... 10168.html+++ b/x264.c
@@ -746,16 +746,18 @@ static void help( x264_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 asui una serie de parametros estandar del x264 para un video para crear tu propio BluRayDisc-Video
http://www.x264bluray.com/home/720p-encoding.