IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.62k stars 4.83k forks source link

rs-convert unable to convert to PLY #3214

Closed HarshSharma12 closed 5 years ago

HarshSharma12 commented 5 years ago

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.

dorodnic commented 5 years ago

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

neumannjan commented 5 years ago

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

amaanda commented 5 years ago

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.

yanite commented 5 years ago

+1 no file

amaanda commented 5 years ago

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

RealSenseCustomerSupport commented 5 years ago

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 <sergey.dorodnicov@intel.com>
Date:  Mon Mar 4 21:39:43 2019 +0200

    Merge pull request #3318 from dorodnic/bug_fixes

    Bug fixes
ynakayji commented 5 years ago

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

amaanda commented 5 years ago

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

RealSenseCustomerSupport commented 5 years ago

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

sophie-shin commented 5 years ago

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
flowb commented 5 years ago

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