Open nh2 opened 10 years ago
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.
I have an Xtion Pro and also a Primesense camera.
If in NiViewer, I set
Device -> Streams -> Depth -> Video Mode -> 640 x 480
andDevice -> Streams -> Color -> Video Mode -> 640 x 480 @ 30 (RGB 888)
, and presss
to start recording and after a whilex
to stop recording, the producedCaptured.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?