Dirk Farin

Results 455 comments of Dirk Farin

Yes, use `heif_enc --matrix_coefficients=0 -p chroma=444` to save in RGB space.

At the moment, you'll have to use the C function for that (#305). Like this: ```` heif_color_profile_nclx nclx; nclx.matrix_coefficients = (heif_matrix_coefficients) nclx_matrix_coefficients; nclx.transfer_characteristics = (heif_transfer_characteristics) nclx_transfer_characteristic; nclx.color_primaries = (heif_color_primaries) nclx_colour_primaries;...

Did you also set the encoder parameters to lossless? > On Windows File Explorer and XnViewMP the file got purple tint I guess that the Windows decoder cannot handle matrix_coefficients=0....

I have tried the following with a couple of images ```` heif-enc input.png -o output.heif -p lossless=true --matrix_coefficients=0 -p chroma=444 heif-convert output.heif output.png convert input.png input.ppm convert output.png output.ppm diff...

Take care: chroma=444 is an encoder option to use 4:4:4 in the encoded bitstream. It is not used here as a definition of the input color space.

Use ```` heif_encoder_set_parameter_string(heif_encoder*, "chroma", "444"); ````

h265 and especially x265 are probably not very optimized for lossless coding. You can further tweak x265 encoder parameters to spend more time on finding better compressions. Try e.g. ````...

You can write a decoder plugin that uses libhevc. You can start from a copy of `heif_decoder_libde265.cc`. It should not be very difficult. If you have something working, please contribute...

Thanks. Is this reproducible? Is the video available for testing? 2016-06-23 17:17 GMT+02:00 Rishin Goswami [email protected]: > issue > > VLC crashes after playing video for a couple of seconds....