Ubuntu has the H.265 decoder ... you should be able to load this library for any Debian or Debian derived OS.
https://launchpad.net/~strukturag/+archive/ubuntu/libde265
I loaded it using the PPA, OrangePi+ Ubuntu Wily. You will have to edit the Additional Repository entry to set to Vivid.