From what I've gathered, h.265 encoding is usually junk in cheaper cameras, and added just so they can claim it has it.
Do your own testing. I tried h.265 and motion was absolute garbage. The moving object and the background it just passed through would be a pixelated mess, with everything...