Decklink SDK Scheduled Audio Playback
Posted: Tue Jun 13, 2017 6:48 am
We are using the Decklink SDK functions ScheduleVideoFrame and ScheduleAudioSamples for Playback.
Scheduling Audio appropriate to Video is no problem when using Framrates of 25/50. The number of Samples is always equal for each frame. ( e.g. 25fps -> 1 frame = 1920 samples )
With a framerate of 29.97/59.94 it is quite impossible to schedule audio exactly to the timestap of a frame.
Currently we shedule one sample more after n frames to achieve 48000 samples per second.
Questions:
Does the driver automatically detects this uneven scheduling of audio and produces correct playback?
Is there way to request how many samples must be scheduled at a certain time to cover a defined timespan?
Scheduling Audio appropriate to Video is no problem when using Framrates of 25/50. The number of Samples is always equal for each frame. ( e.g. 25fps -> 1 frame = 1920 samples )
With a framerate of 29.97/59.94 it is quite impossible to schedule audio exactly to the timestap of a frame.
Currently we shedule one sample more after n frames to achieve 48000 samples per second.
Questions:
Does the driver automatically detects this uneven scheduling of audio and produces correct playback?
Is there way to request how many samples must be scheduled at a certain time to cover a defined timespan?