librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

rs-convert unable to convert to PLY

Open HarshSharma12 opened this issue 7 years ago • 11 comments


Required Info
Camera Model D415
Firmware Version 05.10.13.00
Operating System & Version Win 10 Home
Platform PC
SDK Version 2.18.0

Issue Description

I recorded a video using the camera and when I try to extract the frames using rs-convert, it works as expected when trying to convert to PNG but if I specify the -l option to convert to PLY nothing happens. It executes for a few seconds and then exits without saving anything. Generated log files are also empty. Same behaviour is observed when trying to convert to BIN or CSV with the only difference being it outputs the number of frames processed but nothing is saved.

captura

I already tried it by saving the file in different locations so it does not look like a permissions issue.

HarshSharma12 avatar Feb 06 '19 00:02 HarshSharma12

I think that's a bug, we will look into it.

dorodnic avatar Feb 06 '19 06:02 dorodnic

+1. Having the exact same issue with conversion to bin and csv. My camera model is SR300.

neumannjan avatar Feb 12 '19 11:02 neumannjan

I have the exact same issue using a D435. Converting to all the other formats works just fine.

Weird thing is I get the "100%" message, but no files.

amaanda avatar Feb 13 '19 11:02 amaanda

+1 no file

yanite avatar Mar 07 '19 02:03 yanite

@dorodnic I cloned the repo to a new folder and I still have the same issue with the ply conversion.

amaanda avatar Mar 07 '19 13:03 amaanda


It should work as well as v2.19.0. Are we missing something?

build$ rs-convert -i ./20190308_113002.bag -l out/
100%
PLY converter
 90  frame(s) processed

build$ ls -l out/
total 1153144
-rw-r--r-- 1 12570346 Mar  8 11:32 _817.ply
-rw-r--r-- 1 13009133 Mar  8 11:32 _818.ply
.
.
-rw-r--r-- 1 13174367 Mar  8 11:35 _949.ply
-rw-r--r-- 1 13668060 Mar  8 11:35 _950.ply

build$ git log
commit 43e30ddeccdfd01641e4da6e2748760dc472df01 (HEAD)
Merge: 3dae1c41 7e91ffcc
Author: Sergey Dorodnicov <[email protected]>
Date:  Mon Mar 4 21:39:43 2019 +0200

    Merge pull request #3318 from dorodnic/bug_fixes

    Bug fixes

@amaanda Do you record RGB as well as Depth ? I had the same issue and have solved it by recording both.

ynakayji avatar Mar 20 '19 11:03 ynakayji

@ynakayji no, I only had Depth and Infrared channels. Didn't think of that. Thanks!

amaanda avatar Mar 20 '19 12:03 amaanda


It could also work with depth and the Infrared channel if the infrared is outputting RGb8 format on the D415 camera.

NO file +1 Jetson tx2 ubuntu 16 viewer v2.16.0

nvidia@tegra-ubuntu:/usr/local/bin$ rs-convert -i '/home/nvidia/Documents/20190412_142928.bag' -l '/home/nvidia/Documents/ply.ply' 
100%
PLY converter

nvidia@tegra-ubuntu:/usr/local/bin$ rs-convert -i '/home/nvidia/Documents/20190412_142928.bag' -l out/
100%
PLY converter

sophie-shin avatar Apr 12 '19 05:04 sophie-shin

Hi, having the same issue and, I don't have the ability to recapture with RGB channels. Please help.

flowb avatar Oct 12 '19 16:10 flowb