IntelRealSense / realsense_sdk_zr300

Toolkit built on top of the Intel® RealSense™ Cross Platform API (librealsense)
Apache License 2.0
55 stars 39 forks source link

Recorded streams lose color #22

Closed thejihuijin closed 7 years ago

thejihuijin commented 7 years ago

I'm trying to use the record/playback code with the Intel Realsense R200 on ubuntu 16.04.

I added glfw windows to view the stream in the playback code. When I record more than 250 frames, the images start getting darker/losing color as seen below: image

Original/Beginning: image

Why do the colors fade? This is not an issue I face when streaming from the camera directly. Any advice/help would be greatly appreciated.

thanks

zivsha commented 7 years ago

Hi,

Is this happening only when you are using playback? or are you seeing the same thing during record?

thejihuijin commented 7 years ago

Hi just to provide a little more information:

It happens during record when I add the GLFW windows as well. I've recently received the SR300 camera and have tested the code with that camera. It also sees a fade to grey issue towards the end of the recording.

EDIT: The SR300 glfw window retained color throughout the recording session but the playback was grey.

thejihuijin commented 7 years ago

I ran a few more tests and suspect the issue has to do more with my machine's specs than the code itself so I closed the issue.

I saved the images to file during playback and they were fine, so it was probably my graphics card failing to render it properly.

On a different note, I don't know if this was intended or not but when using the feature rs::record::device->pause_record(), it still "writes" blank frames to file.

zivsha commented 7 years ago

On a different note, I don't know if this was intended or not but when using the feature rs::record::device->pause_record(), it still "writes" blank frames to file.

Does this still happen after you fixed the first issue?

zivsha commented 7 years ago

@thejihuijin please reopen the issue if you're still having issues