View my account

Convert .bag file to .ply

Comments

7 comments

  • MartyG

    Hi Alexis Matton  If you have not specified a path for a folder on the computer that the rs-convert tool can find the bag file in, have you placed the bag file in the same folder that rs-convert is in, please?

    For example, an rs-convert instruction without a file path that would require the bag file to be in the same folder as rs-convert would be:

    rs-convert.exe -v test -i Alex.bag

    0
    Comment actions Permalink
  • Alexis Matton

    Hi Marty, thank you for the quick reply. And Yes, i have placed the bag file in the same folder than the rs-converter.exe file. I have tried the command line you gave me and i have this error : RealSense error calling rs2_context_add_device(ctx:0000024EC3580150, file:A):
        Failed to create ros reader: Error opening file: Alex.bag 

    0
    Comment actions Permalink
  • MartyG

    -v exports frames in csv format.  Can you test whether the same occurs with the -l flag for exporting ply files, please?

    rs-convert.exe -l test -i Alex.bag

     

    Also, please confirm that the file is called Alex.bag and does not have another name or lower-case letters such as alex.bag

    0
    Comment actions Permalink
  • Alexis Matton

    Same error with the new command line and i have verified : the name of the file is Alex.bag with a uppercase letter.

    0
    Comment actions Permalink
  • MartyG

    I note that in your Command Prompt Windows image you are not in the SDK Tools directory when inputting the rs-convert command but the 'Gamer-Arekushi' directory instead.

    After copying the bag to the Tools folder as you have already done, the command below should be input into the Command Prompt window to change its directory to Tools.

    cd C:\Program Files (x86)\Intel RealSense SDK 2.0\tools

     

    After you are in the Tools directory, input the ply export command.

    rs-convert.exe -l test -i Alex.bag

    0
    Comment actions Permalink
  • Alexis Matton

    Oh sorry for being so stupid. It works now. Thanks you very much.

    0
    Comment actions Permalink
  • MartyG

    It's no problem at all.  You are very welcome!

    0
    Comment actions Permalink

Please sign in to leave a comment.