View my account

I want to save .bag file lowest volume

Comments

3 comments

  • MartyG

    Hi Ctnam  The Real sense SDK has an instruction called save_single_frameset for saving a single frame as a bag file.  A RealSense user created a Python script for this function at the link below.

    https://github.com/soarwing52/RealsensePython/blob/master/separate%20functions/single_frameset.py

     

    In the bag's controls in the Viewer's options side-panel, a circular arrow option next to the 'Speed: x1' setting is the Disable Repeat option.  Left-click on it to turn its colour from blue (looping is on) to white (looping is off). 

    0
    Comment actions Permalink
  • Ctnam

    Hi MartyG. Thank you for your help. 
    I'm trying to use 'save_single_frameset' Actually, it's not working out.

    Anyway I load the my bag file and i click the stop button or pause button. 
    I guess the reason... because my .bag file was very short so the it repeat very quickly. It causes a lag.

     

    I'm trying 'Speed x 0.25. stop or pause button, repeat stop all of them. 

    Do you know the solution to show just single frame? or very shorty video? 

    0
    Comment actions Permalink
  • MartyG

    Pausing the live stream will not prevent multiple frames from being recorded to a bag file. The best chance of capturing a single frame in the Viewer with your quick stop-start technique may be to set the stream to 6 FPS instead of 30 so that it only captures 6 frames during the period of 1 second.

    0
    Comment actions Permalink

Please sign in to leave a comment.