rs-convert tool has no output from L515 .bag file.
Hello,
I am trying to use de rs-convert tool to convert a .bag file recorded from the realsense-viewer and the L515 camera into a .ply file by running:
rs-convert -i test.bag -l /Desktop/rosbag
After this command i get the following output:
100%
PLY converter
316 frame(s) processed
there is no error shown in the terminal so it would seem that the convert tool worked, but there is no output or .ply file on the selected folder. All i get is a .log file with the following output:
30/03 15:58:27,365 WARNING [139742749693696] (playback_device.cpp:198) Playback device does not provide a matcher
30/03 15:58:27,382 WARNING [139742758086400] (playback_device.cpp:198) Playback device does not provide a matcher
30/03 15:58:27,395 WARNING [139742741300992] (playback_device.cpp:198) Playback device does not provide a matcher
I also tried to convert the .bag file into .png and .csv and got the same results. I am recording the .bag files in a virtual machine running Ubuntu 18.04.
Any help would be great, Thank you,
Samuel.
-
Hello Samuel,
Thank you for contacting us.
Try to use this conversion tool to convert streams from bag files to images.
Regards,
Zulkifli Halim
Intel Customer Support -
Hello Zulkifli,
Thank you for your answer, but i only tried to convert the bag file into images to test the rs-convert tool. The initial goal is to convert the bag files into .ply or point cloud files. Do you know of a similar tool that can generate this types of output?
Thank you in advance,
Samuel.
-
Hello Samuel,
This has been an issue with rs-convert in the past, with some modes such as png generating files and others such as ply or CSV not creating, even though the program is visibly converting and reports the number of converted frames at the end of the process
The case in the link below highlights some of the RealSense users who have experienced this issue.
There was a C++ script developed by another community member for loading a bag and converting it to ply.
Regarding other options to try, you are likely to find a greater number of existing scripts to refer to if you save live camera frames to ply instead of bag data. For example, the SDK has a Python sample program called export_ply_example.py:
Regards,
Zulkifli
Please sign in to leave a comment.
Comments
4 comments