- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am aware of the rs-convert tool, however I do not understand how to install the tool.
Could I have some assistance please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whilst RealSense programming is not one of my specialist areas, i can point you in the right direction. You can configure the camera to use a pre-recorded file such as a bag instead of a live stream. The link below, which details the SDK's record and playback functions, has a sample script for setting up cfg configuration instructions at the start of a script to use a bag file.
If you go to the link below, a playback script can be found under the 'Playing from file' heading, directly above the point on the page that the link jumps to. Scroll the page up a little to find it.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ROS website has a tutorial on converting the contents of a bag into image files and then encoding them into an OGG Theora format video.
http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data
Alternatively, if you want to try rs-convert then there is help at the link below.
https://github.com/IntelRealSense/librealsense/issues/2671
If you are using Windows though, there is also a pre-built executable-file version of Convert in the SDK folder location Intel RealSense SDK 2.0 > Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the reply, I have worked out to convert however,
I currently have an algorithm that does foreground and background subtraction based on Depth Values from a live stream from the camera,
How would I do this on pre-recorded data from a .BAG file?
I am assuming converting the depth stream to a PNG or video will neglect the depth data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whilst RealSense programming is not one of my specialist areas, i can point you in the right direction. You can configure the camera to use a pre-recorded file such as a bag instead of a live stream. The link below, which details the SDK's record and playback functions, has a sample script for setting up cfg configuration instructions at the start of a script to use a bag file.
If you go to the link below, a playback script can be found under the 'Playing from file' heading, directly above the point on the page that the link jumps to. Scroll the page up a little to find it.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page