OpenNI2
OpenNI2 copied to clipboard
Recording/playing in RGB 888 does not work with Primesense/Xtion Pro
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?
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.
Confirm this issue in OpenNI 2.3 (develop branch). Have the sample problem with Kinect Sensor.