View Full Version : Is using dolbyvision 1 enough to keep HDR, even when cropping black bars?


Cmptr
26th July 2026, 18:54
I'll be using FFMPEG to transcode and compress blurays to hevc.

I was wondering if using `-dolbyvision 1` along with `-libx265-params dolby-vision-profile=7:hdr10=1:hdr10-opt=1` will be able to keep all hdr data? I will also be cropping the black bars as well. Will this be an issue? Is there any other params I should add? Or should I use the dovi scripts?

Some blurays do use dovi profile 7, and I know it is auto converted to 8. Is it still okay to do use the flags above? Or again, would it be more ideal to use dovi scripts, or some other method?

(I know I need repeat headers, and to specify vbv. Ill be using level 5.1)

microchip8
31st July 2026, 15:51
You may need to extract the RPU and feed it to x265. I haven't done any DoVi encodings as for me HDR10 is enough. DoVi is way too complex with little benefits over HDR10, which is universally supported and mandatory for UHD blu-ray (DoVi is optional)

Cmptr
4th August 2026, 06:10
You may need to extract the RPU and feed it to x265. I haven't done any DoVi encodings as for me HDR10 is enough. DoVi is way too complex with little benefits over HDR10, which is universally supported and mandatory for UHD blu-ray (DoVi is optional)

I cant do that using ffmpeg. The --dolby-vision-rpu is CLI.

I have noticed that using -dolbyvision 1 seems to somehow inject 2 different RPU's. Whats strange is that I think one of them are actually profile 7.

Can dolby vision not be added the transcode? Or does it have to be transcoded in?

Z2697
4th August 2026, 07:00
RPU occupies a NALU type, it can be injected anytime