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.

AM5708: How to synchronize 2-input asynchronous video data

Part Number: AM5708

Hi,

I would like to use the AM5708 to superimpose the two video inputs into a single video output.
The two video inputs are input to the AM5708 asynchronously, so how do I synchronize the process?
For example, is there a function to embed frame numbers etc. into each video input data?


Best Regards,
H.U

  • Can anyone advise on this case?
    I would like to know if the H/W has this capability or if it is something that is handled by the S/W.

    Best Regards,
    H.U

  • Hi,

    Probably, you could use synchronize based on the the time at which frames are captured. Lets say, if both the capture are happening at 30fps, then a single  frame would be captured from both the inputs in 33ms, so you could use time at which frames are captured to sync them.

    Rgds,

    Brijesh

  • Hi Brijesh,

    Thank you for your reply.

    Could you be more specific about "synchronize based on the time at which the frames are captured"?
    Does this mean that I need to use the AM5708's internal timer or something similar to measure the capture timing?

    Best Regards,
    H.U

  • Hi,

    Capture driver typically outputs timestamp at which buffer is captured. For example, if you are using Fvid2_Frame, frame.timestamp variable will provide you time at which this frame is captured. you could use it to develop logic to synchronize frames. 

    Regards,

    Brijesh