locked
Synchronization between the ColorStream and the AudioSource RRS feed

  • Question

  • Hello all,

    I have a simple question (maybe too simple..):

    I want to create an application that can record a video using the Kinect. I successfully created a thread that create an AVI video from the ColorStream, and I'd like to record a wav file that is synchronized with this video. Unfortunately, the AVI file generated has an audio sync issues (or video sttuter).

    Is there an existing method that recored a video+audio from the kinect (as any simple web-cam can)?

    Any help would be appriciated,

    Thanks in advance!

    Liram

    Thursday, June 14, 2012 3:02 PM

Answers

  • The Kinect SDK does not provide a way to record audio and video. The video frames are timestamped and your audio will be sampled at the rate selected rate.

    If you are generating an AVI from the provided data, then your have to ensure your (A)udio and (V)ideo samples are (I)nterleaved correctly in the file. You should not be generating a seperate wav file as this will cause your sycrionization issues during playback. During playback, if you have 2 seperate sources for video and audio, then they will run at seperate clock rates. It would depend on your playback engine.



    Thursday, June 14, 2012 10:17 PM