x265 supports lossless as well (though I believe it's not part of the H.265 standard). It's what I use for video capture.