Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

Timecode Decoding on Linux

NatNet, VRPN, TrackD, and Plugins

by dario.turchi » Wed Aug 16, 2017 8:45 am

I am writing a OptiTrack client application on Ubuntu linux using python. I would need to decode the timecode stamps provided within the streamed Mocap frame. It seems to me that the SDK package provides only windows libraries (regardless the fact that they are for c++).
Is there any tool that would allow me to decode the timecodes on a Linux platform (python modules, c++ libraries, opensource projects, etc.) ?

Many thanks
Posts: 8
Joined: Tue Aug 08, 2017 10:28 am

by steven.andrews » Thu Aug 17, 2017 1:11 pm

Hi dario.turchi,

Streaming to a linux environment requires direct depacketization of the data, as our libraries only support Windows. The most useful resources for this will be the PythonClient and the PacketClient samples, both of which demonstrate how to go about this.

You can find some information on these samples here. ... ketization ... e_Projects

Steven Andrews
OptiTrack | Senior Customer Support Engineer
NaturalPoint Employee
NaturalPoint Employee
Posts: 412
Joined: Mon Jan 19, 2015 11:52 am

Return to OptiTrack Data Streaming