Frame drop cause

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

sarbjit.longia

  • Posts: 2
  • Joined: Tue Mar 31, 2015 12:26 am

Frame drop cause

PostTue Mar 31, 2015 12:31 am

Hi,

I am writing an applicaiton that uses decklink to display the audio and video frames. Occasionally I get frame drop from decklink and I am trying to understand as how does decklink SDK decides which frame to drop.

I am using schedule callback mechanism to schedule audio and video frames. In the callback there are 3 possible cases

1. Frame dropped
2. Frame delayed
3. Frame displayed Successful

I am scheduling the video frames using the video frame counter which schedules the frame at (count * rameDuration) value where count is incremented after a frame is scheduled. Now how do I handle cases 1 & 2 above so that I dont loose Av sync. I am facing problme that after running for about 2-3 hours the audio and video drifts apart.

Any sample code will be appreciated.

Return to Software Developers

Who is online

Users browsing this forum: Julusian and 20 guests