I tried to export video with MIP SDK like Xporotect smart client.
When I used MIP SDK—Export Sample, I didn’t have the option to “Include Xprotect Smart Client—player.”
I attached photos of SC’s export example and MIP SDK’s export example.
How do I export video with the Xprotect Smart Client player by using MIP SDK?
Thank you,
Nadav.
The Smart Client contains the Smart Client and can easily make a copy of itself to accompany the export.
The MIP SDK does not contain the Smart Client and this poses a challenge.
You can make an integration where you either require the Smart Client to be installed or supply the files and then copy the files.
Where to put the Smart Client files is not described in the documentation, so I recommend that you do an export from Smart Client and see where they are placed when doing the export in Smart Client.
Thank you for your answer,
What do I need to program in MIP SDK to export all files like export from Smart client?
In MIP SDK I exported only the camera files (I attached the picture last comment).
I attached a picture of 3 files.
Please export from Smart Client and make your observations..
It is not good,
because the MIP SDK—Export Sample exports the files without the CSP file and other files.
I can’t run the files I exported from MIP SDK—Export Sample with the Player or Client that you suggested.
The main idea is to export video with our software as Xprotect Smart Client—player and send it to other computers without the client of Milestone installed already. So the check box “Include Xprotect Smart Client—player” is important.
as I see it I have two options
- Video File Viewer from ComponentSample - it runs the cache.xml file and then chooses the camera that I want. this option is not good enough.
- MIP SDK-samples-plugin - I checked and I found that link:
https://github.com/milestonesys/mipsdk-samples-plugin/tree/main/DataExport
Which describes: the MIP SDK-samples-plugin (with DataExport project).
If I use Data Export it will open the Smart Client export window with the settings to export with Xprotect Smart Client?
The customer wants to see a playback player with the same features as the SC player.
Please advise me what is the best way.
When I run the Export sample my first observation is a Project.SCP in the folder I export to!
If you have a Smart Client (SC) already installed you can double-click on that file and your SC will open and load the exported footage.
So for your integration: If you need to have the SC copied together with the exported data you can do it.
I made a quick proof of concept! I made a SC and a Export sample export (Export format database).
In the SC Export I replaced the Project.SCP file and the Data folder with the same file and folder from the Export sample export, and now I could run the SmartClient-Player.exe but this time with the footage from the Export sample export.
Basically the recipe is to make a SC export take all the files and folders except the Project.SCP file and the Data folder, take the Project.SCP file and the Data folder from the MIP SDK export and put it in the right place.
I hope this new explanation is better and you realize what I was trying to explain earlier.
Thank you for your answer.
I have one problem: When I export from the MIP SDK—Export Sample, the CSP file doesn’t export.
I attached a photo of the files I exported from MIP SDK—Export Sample.
Please review the photo “MIP Sample” and tell me what to change to export the CSP file from MIP SDK—Export Sample
or what to write in the code.
Thank you.
Something is amiss. Can you please verify that you have the same sample? -
https://github.com/milestonesys
Maybe you have mistake found something that isn’t the sample or a very, very old version?
Please at the same time verify that you are using the newest NuGet building this.
https://www.nuget.org/profiles/milestonesys
Also I have a Project.SCP file, not a CSP file. Not sure what that might be.. Typo perhaps?
Thank you for your answer.
I am confused with the file SCP in the last question.
It is work!
I learned I must have SC on the computer to export with the Project.SCP in the export sample.
Thank you very much!