I am wondering if there is a way to control the start/stop recording feature in Kinect Studio, such that a video is recorded only when a specific event occurs over a long period of time. One idea I had was to find a way to interface to Kinect Studio from Visual Studio, but I cannot seem to find a way to do this.
Thanks for your help in advance.
What you need is KSUtil, a command line tool that ships with Kinect Studio and by which you can record Kinect data programmatically.
You can you a syntax like this:
KSUtil.exe -record <xef_file_path> <duration> –stream depth ir body
More info about KSUtil are available on MSDN.