Well, this took way too much vibe-engineering. But I got it working. Big thanks to this poster for supplying just enough info: HDR HEVC transcode with PGS burn-in results in black video - #5 by MatyasCzech His general directions are correct, but it took way too long to work out the actual details.