Playing videos on macOS with different codecs

ofVideoPlayer only seems to work with a very select set of codecs (I’m assuming this is related to the switch from quicktime to AVFoundation). I have a lot of different video files in various formats - does anyone have a workaround/alternative that can play anything/can have codecs added?

Which codecs do you want to work with?

Apple proRes or h264 works fine.
HAP or HPV, you can find it as an addon.