labstreaminglayer / App-LabRecorder

An application for streaming one or more LSL streams to disk in XDF file format.
MIT License
123 stars 45 forks source link

Timestamps of Kinect recording is different from other streams #100

Open Clementp69 opened 1 year ago

Clementp69 commented 1 year ago

I am recording different streams with the Lab recorder and for all, except the Kinect stream, timestamps have the same reference. The Kinect stream time recorded with the lab recorder is not synchronized with other streams encompassing brain signals and behavioral events. The Kinect stream has its own timestamp.

Do you know why? Can I fix this?

Thanks for your response. Clément

cboulay commented 1 year ago

What application is the origin of your Kinect stream?

Looking at the LSL KinectMocap stream, it's using automatic timestamps which should be good: https://github.com/labstreaminglayer/App-KinectMocap/blob/master/src/main.cpp#L138

Clementp69 commented 1 year ago

Thanks for your quick response.

But I am wondering how do you compile the main.cpp to get a .exe file ? Do you have a repository like : https://github.com/labstreaminglayer/App-AudioCapture where I can easily find the .exe ?

cboulay commented 1 year ago

So are you saying that you did not use the KinectMocap application originally? Then what did you use? If there's another application out there that is doing this incorrectly then we should attempt to fix it.

As for building the KinectMocap app yourself, here are some generic instructions.