This is a post I really should have gotten up earlier as some of the techniques in it are already outdated with newer versions of mpv and mesa. Still, I felt it was important to document some of this, and I'll probably do a followup with the newer methods in the future.
https://battlepenguin.com/tech/how-to-play-videos-in-hdr-on-linux-for-a-home-theater/