Force cameras to restart to prevent mp4 corruption on windows reboot/shutdown

ahmadmob

n3wb
Aug 8, 2021
8
9
Jordan
Is there a way to force all cameras to restart the moment I restart or shutdown windows to prevent mp4 corruption for currently recorded files? I am using blue iris 5.9.9.94 with mp4 and direct-to-disk. I am using it as a service and all but when I reboot or shutdown windows, all the current mp4 recordings become corrupted. I know that using BVR instead of MP4 prevents this issue from happening but for a certain cameras I have to use mp4. This only started happening after I updated from BI 5.7.9.4 to 5.9.9.94, with 5.7.9.4 (and all previous versions) mp4 files didn't get corrupted on manual reboot/shutdown.

Thanks in advance!

Edit: I think I partially solved it (works 90% of the time now) by setting the WaitToKillServiceTimeout in Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control from 5000ms to 60000ms so now the Blue Iris Service is properly ended before shutting down or rebooting. Looks like the new BI service needs more time to terminate compared to older versions.

It would be highly appreciated if someone knows a definitive fix for this issue.
 
Last edited: