Synchronized tracking data and video frames
Posted: Mon Feb 25, 2013 9:16 am
Hi all,
This forum is great and had solved many of my doubts. I really appreciate it.
Here is one question that I couldn't find answer within the forum: How to stream out marker tracking data and video frames synchronously using multiple Optitrack cameras?
I am using three FLEX13 cameras, and I'm trying to using two of them to stream tracking data through NatNet (while TT is broadcasting) and using the third one to save video frames through camera SDK.
I've already got both (tracking data streaming via NatNet and video frame saving in SDK) to work, but only separately. I couldn't get them to work at the same time, not to mention synchronously yet.
What I'm doing: I put Cam1 and Cam2 (connected to OptiHub2) in my camera group in TT to broadcast tracking data into NatNet, while Cam3 is removed from TT camera group and controlled only through camera SDK. However, once I start SDK to pull images from Cam3, since the SDK will try to detect all the cameras that are connected to the computer, it will cause both Cam1 and Cam2 to stop streaming data in Tracking Tools.
I'm wondering if anyone know how to solve this issue? I'm using NatNet because I need both 6DOF data of a rigidbody and 3DOF data of unlabeled single markers, but I don't necessarily have to use camera SDK if there's another way to save .avi videos from the camera. I would really really appreciate you guys' help. Thank you very much!!!
This forum is great and had solved many of my doubts. I really appreciate it.
Here is one question that I couldn't find answer within the forum: How to stream out marker tracking data and video frames synchronously using multiple Optitrack cameras?
I am using three FLEX13 cameras, and I'm trying to using two of them to stream tracking data through NatNet (while TT is broadcasting) and using the third one to save video frames through camera SDK.
I've already got both (tracking data streaming via NatNet and video frame saving in SDK) to work, but only separately. I couldn't get them to work at the same time, not to mention synchronously yet.
What I'm doing: I put Cam1 and Cam2 (connected to OptiHub2) in my camera group in TT to broadcast tracking data into NatNet, while Cam3 is removed from TT camera group and controlled only through camera SDK. However, once I start SDK to pull images from Cam3, since the SDK will try to detect all the cameras that are connected to the computer, it will cause both Cam1 and Cam2 to stop streaming data in Tracking Tools.
I'm wondering if anyone know how to solve this issue? I'm using NatNet because I need both 6DOF data of a rigidbody and 3DOF data of unlabeled single markers, but I don't necessarily have to use camera SDK if there's another way to save .avi videos from the camera. I would really really appreciate you guys' help. Thank you very much!!!