D2Edev / onvifjava

ONVIF java library
MIT License
8 stars 4 forks source link

H265 #1

Closed wbasterfield closed 6 years ago

wbasterfield commented 6 years ago

Profile . getVideoEncoderConfiguration()

Does not work if the camera encoding is set to H265

D2Edev commented 6 years ago

as far as I understand, h.265 is not included on Onvif currently, only release candidate exists (https://www.onvif.org/profiles/profile-t/). My library and the one on which it's based are built on current specifications, which do not know anything about h.265, see https://www.onvif.org/ver10/media/wsdl/media.wsdl, GetVideoEncoderConfiguration method description and respective bean VideoEncoderConfiguration described here https://www.onvif.org/ver10/schema/onvif.xsd, check Encoding field: "Used video codec, either Jpeg, H.264 or Mpeg4- enum { 'JPEG', 'MPEG4', 'H264' }" Well, option is to use alternative bean from Media 2 extension - VideoEncoder2Configuration which Encoding setting is not limited to fixed set of values, but currently I have no possibility to experiment with that and don't have h265 cam either...

wbasterfield commented 6 years ago

No problem I'll stick with H 264 for now.