Log in

View Full Version : Using H.265 AMD VCE in HandBrake looses HDR metadata


MalickT
15th November 2020, 20:23
Hello. I´m using HandBrake to encode videos. I´m using H.265 AMD VCE as Video Codec. Using AMD VCE is 10 times faster than using my CPU. Unfortunately the result video is without HDR. Is this a bug or I have to modify settings?

ShortKatz
16th November 2020, 00:09
Current HandBrake can not encode HDR, because it does not have a 10-bit pipeline. This will change in the future version of HandBrake (for now only for x265 and QSV HEVC).

MalickT
16th November 2020, 09:31
Hmm. I once used a laptop with Intel Graphics card and I managed to encode H.265 with HDR using graphics card for encoding and result video did have HDR. Also when I use CPU to do the encoding (AMD Ryzen) the HDR remains. So HandBrake can encode HDR but not not when using AMD VCE

Perhaps there is a way I can extract the HDR metadata video before I encode the video using AMD VCE and then re-mux the HDR somehow?

RanmaCanada
16th November 2020, 19:11
VCE does not support HDR, and it also does not support 10 bit encoding, which is a requirement for HDR AFAIK. VCN (successor to VCE) does support 10 bit, but no word on HDR.

benwaggoner
17th November 2020, 22:23
VCE does not support HDR, and it also does not support 10 bit encoding, which is a requirement for HDR AFAIK. VCN (successor to VCE) does support 10 bit, but no word on HDR.
Main10 is a hard requirement for all HDR standards (I did an 8-bit HDR prototype some years back, and I don't recommend it!). But encoders are rarely hard-coded to a particular EOTF, so a 10-bit encoder will yield HDR video with an HDR input.

It was some years before x265 added specific tuning options for HDR and SDR content.