Synchronize audio/video callback api (for DeckLink playback)

This forum is about all development around libVLC.
Mauro
Blank Cone
Blank Cone
Posts: 15
Joined: 22 Feb 2011 10:47

Synchronize audio/video callback api (for DeckLink playback)

Postby Mauro » 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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Synchronize audio/video callback api (for DeckLink playb

Postby Jean-Baptiste Kempf » 13 May 2013 16:57

Did you try VLC 2.1.0 and decklink output modules?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Mauro
Blank Cone
Blank Cone
Posts: 15
Joined: 22 Feb 2011 10:47

Re: Synchronize audio/video callback api (for DeckLink playb

Postby Mauro » 13 May 2013 23:23

Ok, I'll try the decklink output module, but I wonder if the audio/video callback apis will be called anyway. As I need to overlay some graphics before sending the frame to the decklink card.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests