Not sure on the H3 or H5 i haven't tested them, but there is lots of boxes that will do both and 4K just depends on what you want to pay,
I have just got the Dreambox 900HD Ultra, £275 runs sweet once its set up, but processor is an ARM version so not a lot of images for it, i used the openatv 6.2.
Read up on the giga blue, Technomate or VU+solo