记录数据(深度和音频) - 适用于Windows v2的Kinect [英] Record data (depth and audio) - Kinect for Windows v2

查看:95
本文介绍了记录数据(深度和音频) - 适用于Windows v2的Kinect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在尝试使用此类记录kinect中的数据:  KStudioEventStreamSelectorCollection可以访问IR,Depth,UncompressedColor。我也想要音频,但我想我不能用它来获取它


目前我可以用这些数据创建一个XEF或XRF文件。但是生成的文件的大小太大,大约每10秒1GB。 


所以,我有两个问题/问题:


1st - 有没有办法减小生成文件的大小?


第二 - 有没有办法录制音频并将其与其他数据放在一起,创建一个xef文件什么?



我知道Kinect Studio可以做到这一点,所以我认为这是可能的。但我不知道如何。



谢谢

解决方案

1。不,不是真的,如果你正在录制Color,它是一种原始的非压缩格式,与其他流相比会非常大。如果您不需要颜色,请不要记录。


2。由于Kinect Studio是围绕这些相同api的shell,而Audio是该工具的一个功能,因此您也可以记录它。看起来KStudioEventStreamDataTypeId缺失了。您应该可以使用
创建一个Guid对象以及以下值,然后传入此内容。 

 Guid Audio = new Guid(0x787c7abd ,0x9f6e,0x4a85,0x8d,0x67,0x63,0x65,0xff,0x80,0xcc,0x69); 


Hi,

I am trying to record data from the kinect by using this class: KStudioEventStreamSelectorCollection to get access to IR, Depth, UncompressedColor. I also want audio, but I think i can not use this to get it

At the moment I can create a XEF or XRF file with those data. However the size of the generated file is too big, something around 1GB per 10 seconds. 

So, I have two problems/questions:

1st - Is there an way to decrease the size of the generated file?

2nd - Is there an way to also record audio and put it together with the other data, creating a xef file with everything?

I know that Kinect Studio can do this, so I think it is possible. But I do not know how.

Thank you

解决方案

1. No not really, if you are recording Color it is a raw uncompressed format which will be very large in comparison to other streams. If you don't have a need for color, don't record it.

2. Since Kinect Studio is a shell around these same api's, and Audio is a function of the tool then you will be able to record this as well. It looks like the KStudioEventStreamDataTypeId is missing. You should be able to create a Guid object with the following value and pass this in. 

Guid Audio = new Guid(0x787c7abd, 0x9f6e, 0x4a85, 0x8d, 0x67, 0x63, 0x65, 0xff, 0x80, 0xcc, 0x69);


这篇关于记录数据(深度和音频) - 适用于Windows v2的Kinect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆