Hi!
We trying to avoid additional conversion to Mjpeg while downloading recorded videos with privacy masking using DBExporter. There is a SetPrivacyMaskLifted(bool) method which, according to documentation, should turn off liftable privacy masking, but it doesn’t affect downloaded files.
Could you guide us how to use SetPrivacyMaskLifted properly or advice something that helps us to solve our problem (additional conversion to Mjpeg)?
SetPrivacyMaskLifted unfortunately cannot be used for already exported material. It has to be used before doing the export and hence making the mask lifted for the export.
That’s actually how we try to use it - call SetPrivacyMaskLifted before exporting. But it does not affect newly downloaded files. Or it should only affect video recorded after SetPrivacyMaskLifted call?
We just tested it and it turns out there is a bug so that this will not apply to DBExporter (does work for AVIExporter and MKVExporter though :-/).
We have a fix for it, which will be included in 2022 R1 release, and will also make a hotfix available for the SDK as soon as possible.
I am sorry for the inconvenience this is causing.
Milestone developed a hot fix for this issue.
Note that the fix is in the form of a new MIP SDK installer, when using it you must reference and use the new dlls directly as there is no fixed version in NuGet.
Get the fix here - https://supportcommunity.milestonesys.com/s/article/XProtect-2021-R2-cumulative-patch-installers?language=en_US