Hi,
we developed a Windows’ service to automate daily video export. We started from your “Export Sample” of the SDK.
Milestone is used to remote a camera that is connected by a VPN over Internet. Sometimes happens that the connection is lost and the camera saves the video into an on-board sd-card. When the connection is restored, Milestone downloads the video in a folder with the name of the camera and the suffix “EDGE”. In this case when the software exports the video it lacks the part that has been downloaded.
The code we use to export the video is this:
VideoOS.Platform.Data.IExporter _Exporter = new VideoOS.Platform.Data.DBExporter(true)
{
EncryptionStrength = VideoOS.Platform.Data.EncryptionStrength.AES128,
Encryption = true,
Password = \_Password,
IncludePlayer = true,
SignExport = true,
PreventReExport = true,
IncludeBookmarks = true
};
\_Exporter.Init();
\_Exporter.Cancel();
\_Exporter.EndExport();
\_Exporter.Close();
\_res = \_Exporter.StartExport(\_StartDate.ToUniversalTime(), \_EndDate.ToUniversalTime());
We tried to export the “PIC file format” and in this case the video is complete but the export process takes a lot of time to produce the output and also it needs a lot of time to open it.
Is there any setting to export the complete video using blkFormat?
Thanks,
Luca