OpenNI2 icon indicating copy to clipboard operation
OpenNI2 copied to clipboard

Recording/playing in RGB 888 does not work with Primesense/Xtion Pro

Open nh2 opened this issue 10 years ago • 2 comments

I have an Xtion Pro and also a Primesense camera.

If in NiViewer, I set Device -> Streams -> Depth -> Video Mode -> 640 x 480 and Device -> Streams -> Color -> Video Mode -> 640 x 480 @ 30 (RGB 888), and press s to start recording and after a while x to stop recording, the produced Captured.oni cannot be played back with ./NiViewer Captured.oni.

It hangs at the first frame of the playback, displaying the first depth frame and a completely black color frame.

It works if I switch to YUV and Grayscale, but RGB 888 never works.

Is this supposed to work or do my cameras only support YUV?

nh2 avatar May 20 '14 14:05 nh2

It might also be worth mentioning that all of this works in the OpenNI 1 NiViewer, which doen't let you choose the color format.

nh2 avatar May 20 '14 15:05 nh2

Confirm this issue in OpenNI 2.3 (develop branch). Have the sample problem with Kinect Sensor.

KHeresy avatar May 21 '14 01:05 KHeresy