This is absolutely driving me crazy. I have a Dahua NVR with 6 cameras. I keep setting the video encoding settings to H264 because I am also using Scrypted to get the video into Homekit. Everything works fine when the settings stay at H264. After a few minutes the settings seem to auto revert back to H265. I can't figure out why. I check the NVR settings and they also seem to revert to H265, so my guess is the NVR is overriding the camera settings. Any idea why the NVR (or the camera) settings would keep reverting?? This is seriously driving me crazy.