View my account

Unable to load recorded sequence into realsense2 viewer.

Comments

9 comments

  • MartyG

    Hi Jallanhall  The Zero Order Filter is a depth "post-processing" filter specific to the L515 that was added in SDK version 2.31.0 and is set to 'On' by default.

    'Post-processing' means that it is a filter that changes the data captured by the camera to change it in a specific way (filling holes in the image, for example).  The documentation link below explains about post-processing filters in the SDK.

    https://dev.intelrealsense.com/docs/depth-post-processing 

     Looking through the SDK's code, it seems that the error that you got is triggered when the Zero Order mode cannot be enabled.

    This is an issue I will have to consult with the developer team on.  I apologise for the delay in the meantime.

    0
    Comment actions Permalink
  • Jallanhall

    Is there a way to open the .bag file to make changes that would allow the file to load?

    0
    Comment actions Permalink
  • MartyG

    The RealSense SDK does have a tool called rs-convert for converting a bag to other formats, if the tool could access the bag when the RealSense Viewer cannot import it.

    https://github.com/IntelRealSense/librealsense/tree/master/tools/convert 

    A RealSense user called UnaNancyOwen created an alternative tool called Bag2Image that works in a similar way to exact frames from a bag created in the RealSense SDK as PNG images..

    https://github.com/UnaNancyOwen/rs_bag2image 

    Alternatively the other site that has the L515 could recreate the bag and make sure that they are not using a Zero Order Filter when they create it, and ask them to test import of the bag into the Viewer without the camera plugged in before they send the bag to you.

     

    Edit: I remembered that the SDK also has a bag reader program called rosbag reader that was contributed by a RealSense community member:

    https://github.com/IntelRealSense/librealsense/issues/2215 

     

    There is also a bag reader program called read_bag_example.py in the Python language:

    https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/read_bag_example.py 

    0
    Comment actions Permalink
  • Jallanhall

    Thank you for the resources. 

    For the other site to recreate the bag, would they need to re-record the footage? or can they just open the file and make the changes.  

    My other question is would they need to switch off only the Zero Order Filter or is the problem with all post-processing filters?

    0
    Comment actions Permalink
  • MartyG

    The other site would have to re-record the footage.

    An unusual characteristic of this case is why post-processing settings that were active during the recording would matter at all.  This is because the bag does not save changes made to the camera data such as post-processing and alignment.  You have to load the bag in and then apply those changes in real-time.  

    If post-processing changes are not saved, then the safest option may be for the other site to disable the 'Post Processing' filter set completely in the Viewer.  This can be done by turning red (off) the activation icon beside the option 'Post-Processing' at the top of the filter list.

    0
    Comment actions Permalink
  • Jallanhall

    Other site has not used post-processing, and said they are able to open the files without having camera plugged in. 

     

    Would a short term solution be to re-install an earlier version of realsense sdk prior to 2.31 ?

     

     

    0
    Comment actions Permalink
  • MartyG

    It is not likely that the SDK version has a bearing on the ability to play a bag, as the SDK has a download page of sample bag files that are not limited to use with particular SDK versions.  Having said that, it may be worth trying a sample file with your Viewer to test whether there is a problem with your Viewer's bag playback rather than the L515 bag. 

    https://github.com/IntelRealSense/librealsense/blob/master/doc/sample-data.md 

    0
    Comment actions Permalink
  • Jallanhall

    Hi Marty,

    I am able to load other .bag files, but none of the samples looks like it is from a 515 lidar camera.  

    The reason I thought downgrading the sdk would work is because you mentioned the postprocessing is automatically turned on in version 2.31+.  The other party is on 2.29 and does not have a problem opening files and has not used post-processing.

    I downloaded the updated 2.35.2 SDK which says it includes support for 515 and mac, but the viewer merely crashes when I attempt to load in the .bag file.  A part of me thinks it could be because the file is several gigs large, but that seems to be the nature of these files so not sure why that would have an effect.  

     

    0
    Comment actions Permalink
  • MartyG

    After discussions with Intel, I have confirmed that I am leading your support case. I will continue the discussion on the RealSense GitHub version of this case to make it easier to officially handle.  I will post a new comment there.  Could you continue the support discussion at the GitHub please instead of posting here?  Thanks!

    https://github.com/IntelRealSense/librealsense/issues/6531 

    0
    Comment actions Permalink

Please sign in to leave a comment.