This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem about pelco cammer angle information sync with DM8168 each Capture Link video frame

Hi all:

 I want to sync each frame from dm8168 capture link with pelco cammer angle position to do

my alg in dsp, I get the pelco cammer angle position in period 33 ms, and the video frame rate

is 25fps, but the question is how can i sync the video frame with capture link captured video frames,

as when the frame is entry dsp ,time delay has happened, and frame also changed by dei link,

So can anyone has some good ideas about this job?

best regards

xavier

  • Can you provide more info. From where are you getting the angle position every 33ms. Do you have to synchronize the position info with the video frame  before you process the frame in your alg ?

  • Hi Badri:

    I get the angle information through ttyO1 which connects with a RS232 uart owned by pelco camera,

    i receive the angle position of the pelco camera to do my alg in dsp side

  • 1.Use Avsync_getWallTime() and associate this timestamp with the angle info as soon as you get it from the tty01.

    2. The captured frame already has the Avsync_getWallTime associated with it in the SystemFrameInfo.ts64 field.

    3. All links including DEI link will correctly copy the timestamp from input frame to output frame.

    4.In your algLink you need to synchronize the angle info with the frame timestamp info by comparing timestamp delta.

    Regarding mismatch in frame rate between capture and camera angle info (25 vs 33) there is nothing much that can be done.

    One option is to configure the DEI with inputFps = 50, outputFps = 30 instead of inputFps = 50, outputFps = 25 which is default. This will cause 30 frames to be output / sec from DEI. Frame interval will still not be 33 ms though.This is possible only if you use DEI output in algLink and not for encoding.

  • Hi Badri:

    how to get the system ts64 time from dsp side,which fun to be called?

    i want to get the current system time in dsp side,

    best regards

    xavier