Video source is x265 HDR 2160p, i want to convert it to SDR 1080p. here is something i found that we can convert HDR to SDR. but will the color looks good? or better use 1080p SDR source for encode? my main goal is to encode in small file size.
currently i already using
according to the stackoverflow suggestion i have to use `format=yuv420p10le` to make HDR to SDR. will bt709 make any kind of conflict?Code:colorprim=bt709:transfer=bt709:colormatrix=bt709
+ Reply to Thread
Results 1 to 9 of 9
10bit isn't necessary, you can go to 8bit also.
The HDR content will need to be tone mapped to SDR. It is not as simple as encoding the content with colour options set to BT709. I don't know enough when it comes to tone mapping however I have used Hybrid in the past which worked successfully for tone mapping. I know that in someway StaxRip can also do tone mapping. Might be worth trying out either of those programs so you can analyse the scripts they create for HDR to SDR tone mapping.
The UHD source is generally preferrable, but the result of HDRtoSDR tonemapping might be quite poor, in which case the 1080p SDR authored source would be the better choice.
You could encode as HDR and do the SDR tonemapping at software playback also.
HDR to SDR with AviSynth:
Last edited by jagabo; 2nd Jul 2022 at 12:02.
okay thank you all, i will try the suggested method.
thank you @JKyle @jagabo for the suggestion.