Hi there,
We developed a component, which would pull video stream and do some analysis and send metadata back. And a plugin to retrieve metadata and draw overlay is in place. The problem is that the algorithm running in the component is time consuming, so there is significant lagging between the live video and the overlay. Is it possible to synchronize the live video stream and the corresponding overlay by timestamps or other mechanism?
Thanks in advance.
Hi,
If you are using the SDK image viewer components there is no way to ‘hold back’ the video if you are running in live mode.
If you are doing your own drawing you can of course hold back the video as long as you want, but from your description this does not seem to be the case.
An alternative is to use playback mode instead and then play back the video a little delayed. In this case you can compare timestamps of the video and the metadata and overlay the right one related to the video.
Best regards,
Peter