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

Recorded video requires too much storage space

Open 1216704928 opened this issue 4 years ago • 5 comments

Describe the bug

I plan to record the mkv video first, store the video locally, and then input the video locally to track the human skeleton, but if I record the rgb, ir, and depth data streams, the saved mkv file is very large, which requires 4G in one minute. RAM. So I want to ask if there is any solution? I thought of a way to record only the rgb and depth data streams. Can human bone tracking only input the rgb and depth data streams, and not the ir data stream? I only input the rgb and depth data streams, the program will have errors, but because the k4abt_tracker_enqueue_capture () function is a dll format file, I ca n’t. I plan to record the mkv video first, store the video locally, and then save the video locally Input, track human bones, but if you record rgb, ir and depth data streams, the saved mkv file is very large and requires 4G of memory in one minute. So I want to ask if there is any solution? I thought of a way to record only the rgb and depth data streams. Can human bone tracking only input the rgb and depth data streams, and not the ir data stream? I only input the rgb and depth data streams, the program will have errors, but since the k4abt_tracker_enqueue_capture () function is from a dll format file, I cannot view the function.

Expected behavior

Logs

Screenshots

Desktop (please complete the following information):

  • OS with Version:
  • SDK Version:
  • Firmware version:

Additional context

1216704928 avatar Dec 20 '19 11:12 1216704928

Body tracking only requires the depth recording. You do not need to record the rgb camera (unless you have other reasons to record the rgb camera). We are investigating options to compress depth both at rest and in transit.

qm13 avatar Dec 21 '19 04:12 qm13

I only input a video that contains the depth and rgb data streams, but does not include the ir data stream, but an error occurs. If I only enter the depth data stream without the ir data stream, it seems that it is not possible to track human bones. An error occurs, why is it wrong?

error

1216704928 avatar Dec 21 '19 07:12 1216704928

You need to input the depth and IR streams. You do not need the RGB stream.

qm13 avatar Dec 21 '19 19:12 qm13

@1216704928 did you found a way to reduce file size of recording ?

sam1006 avatar Mar 31 '22 16:03 sam1006

@qm13 I want to record rgb (1080), ir and depth data at 15fps of a 2 hour activity. But the file size on 1 min video is around 4GB. Is there anyway to reduce or compress the file size while recording? Shall be grateful for your help.

Thanks..!

sam1006 avatar Mar 31 '22 16:03 sam1006