There's no simple way to use the tool for cropped video, you have to edit the code.
Also, using the RPU with x265 to transcode might end up with some desyncs due to the way x265 is inserting the metadata back.
Unfortunately I don't think there is a solution for that, other than inserting the metadata after transcoding.
See
https://github.com/quietvoid/dovi_to...ment-803652617
Now those desyncs are not always visible in playback, but they're still there.
For HDR10+ the same desync issue is present. For cropped video, the metadata is supposedly resolution agnostic and hopefully the analysis is done on the active image area only.
So it should work in theory,
I'm curious to know how streaming services make use of x265's RPU insertion. There has to be some predicting the transcode's decoding order somehow, to make sure the RPU is synced throughout.
Though I've had artifacts with Dolby Vision on Netflix as well, so maybe they don't bother syncing either.