Items with no label
3335 Discussions

d415 intel realsense depth sensors

AKuma106
Beginner
1,809 Views

I am trying to convert the depth video data(.bag) from the d415 sensor to any playback format for my offline processing steps. I tried using http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data rosbag/Tutorials/Exporting image and video data - ROS Wiki.

But I was not able to do it. If there are any methods to do it, please let me know.

Thank you

0 Kudos
6 Replies
MartyG
Honored Contributor III
420 Views

There is a Librealsense tool called Convert for converting bag files to other formats.

https://github.com/IntelRealSense/librealsense/tree/master/tools/convert librealsense/tools/convert at master · IntelRealSense/librealsense · GitHub

0 Kudos
AKuma106
Beginner
420 Views

I will go through the link. Thank you for the support

0 Kudos
AKuma106
Beginner
420 Views

I am getting the following error when I used the link provided.

RealSense error calling rs2_pipeline_wait_for_frames(pipe:0x21ccd60):

Frame didn't arrived within 5000

I am not sure what is the problem over here. I am using a prerecorded bag file to convert it into the png format

0 Kudos
MartyG
Honored Contributor III
420 Views

There is a case with this error currently on the RealSense GitHub site. I recommend leaving a comment about your problem on that existing case so you can get advice too. In the meantime, unplugging the camera and plugging it back in to reset the camera usually clears the error temporarily.

https://github.com/IntelRealSense/librealsense/issues/2168 Frame didn't arrived within 5000 · Issue # 2168 · IntelRealSense/librealsense · GitHub

0 Kudos
AKuma106
Beginner
420 Views

Yes, I would leave my comment on that link. But I am using the prerecorded video while trying to convert the video into the png format. I am not sure how is my problem related to the problem on Github?

I have a question do I need to plug in the camera while using the convert file or can I use the prerecorded video file for converting it without plugging the camera?

0 Kudos
MartyG
Honored Contributor III
420 Views

As you have the same error, even if it may not be the same cause, it is better to group cases together under the same page to make it easier for Intel's support staff to answer each person, instead of having to go to various different individual cases.

I have not used the Convert tool myself, but as it is only using pre-recorded files, you probably do not need the camera plugged in to do the conversion.

0 Kudos
Reply