Azure-Kinect-Sensor-SDK icon indicating copy to clipboard operation
Azure-Kinect-Sensor-SDK copied to clipboard

Most efficient recording strategy for multiple devices - any solution that records to RAM?

Open DrMaxP opened this issue 2 years ago • 2 comments

So, I have a semi-stable system with 8 Azure Kinects. Opening 8 Azure Kinect Viewer instances shows that all are streaming at 30fps (RGB+Depth/IR) - if I switch the viewer to 3D mode, which is less resource intensive.

I've started playing with the recorder command line utility, just recording from one device and then playing back the mkv file in the viewer. For one device, this shows that it's playing back at around 20fps - which is really surprising. Is that because the recording utility could only achieve 20fps or is it a playback issue? The system it's on is pretty high spec - i9-12900K, 4090 GPU, 64GB RAM, WD Black 850 NVMe SSD - so I'm really surprised by this playback/record speed - given it can stream 8 devices.

This leads me to another suggestion - are there any recording apps that will 'record' to RAM and only write to persistent storage when the recording is finished? That should be about as efficient as you can get and with 128GB of RAM you should be able to record at least 1-2 minutes even across several devices. If not, I guess I'll need to look into coding this.

DrMaxP avatar Apr 16 '23 09:04 DrMaxP

Hey! I'm working on a multi-capture solution, and in my experience, storage speed is not the bottle neck here, at least if you have an NVME SSD (even a cheap one) in your system. I guess the recorder command line utility is just not very performant.

The capture solution I'm working on saves either pointclouds or raw images (jpg and tiff depth) to disk. Pointcloud saving is pretty expensive, but if you just want to save the raw data, it is very fast. You can try out the latest branch here, but beware that it is still pretty much in development and might have some bugs.

https://github.com/Elite-Volumetric-Capture-Sqad/LiveScan3D/tree/development

ChristopherRemde avatar Jun 14 '23 14:06 ChristopherRemde

Thanks, I'll definitely take a look.

DrMaxP avatar Jun 14 '23 18:06 DrMaxP