I am using couple cameras and NTP time server to sync time, in the Smart Client when playback all cameras videos are sync, but when in the SDK selecting the same time and videos exported, all cameras become not sync.
For example selected export start time 17:44:50, in the Smart Client when looking there all videos are sync and can see the same laser position from the different angles, but then video exported, laser is in the different positions for all cameras at the start time.
Also video is exports about 0.6 second earlier. For example selected start time 17:44:50.39, but it exports from 17:44:49.844 time.
Please tell me, if you do the export using the Smart Client’s regular support functionality. Do you see the same issue in playback then? -or is the issue only there when using MIP SDK to export?
When using regular support functionality, default Smart Client export, the cameras seems to be in sync, but the exported video starts about 0.6 second before the start time.
I am using SKD 2017 R3 version.
VideoOS.Platform.Data.IExporter _exporter;
bool started = _exporter.StartExport(startTime, endTime);
The issue with cameras sync is only in the MIP SDK export and export starts 0.6 seconds earlier than selected start time.
In general exports will start with the beginning of the GOP when using MPEG4, H264 or similar, this might explain why the exports starts at another time than what you ask for. This is the expected behavior.
Could you please test with the newest MIP SDK? (2017R3 is old)
As ‘In general exports will start with the beginning of the GOP’, Could you let me know will it always do this, or it can this be configured to use another way?
It is impossible unfortunately. However when you use MJPEG for camera codec it could improve the gap. This is because in MJPEG every frame is a key frame .