Synchronize audio/video callback api (for DeckLink playback)
Posted: 13 May 2013 16:50
Hi,
I'm using vlc callbacks to get decoded audio/video frames and give them to a Decklink card.
I do not use timestamps, I use the synchronous playback APIs of the DekLink, which play audio samples/video frames as soon as they are called.
The only problem is that the audio starts 2 seconds before video.
I can solve the problem setting VLC to delay the audio 2 seconds, but I'd like a better solution.
Is there a way to tell vlc to synchronize audio/video callbacks?
Thanks for any help
I'm using vlc callbacks to get decoded audio/video frames and give them to a Decklink card.
I do not use timestamps, I use the synchronous playback APIs of the DekLink, which play audio samples/video frames as soon as they are called.
The only problem is that the audio starts 2 seconds before video.
I can solve the problem setting VLC to delay the audio 2 seconds, but I'd like a better solution.
Is there a way to tell vlc to synchronize audio/video callbacks?
Thanks for any help