WCS does not support this codec yet. There is the ticket WCS-3106 about it. We let you know when H265 support will be implemented.
As workaround, use H264 instead.
I would like to know the progress on support for H265 video streams. Please can you provide an update? Also, how can I view the details and progress on WCS-3106 (or any other ticket) ?