I want to save .bag file lowest volume
Hi
Im using intel realsense d415 and d435.
When i use the 'Intel.RealSense.Viewer' i want to save the bag file just single frame.
im trying the settings to save ROS Bag file- always compress and I pressed the recording button and immediately stopped it. but i think it saved almost 2 frame.
It most be high resolution, so i cant change low resolution.
I trying to use VS by C++ or Python, there's no solution to save just 'single frame bag file'.
it does not mean single png and csv file . i want to save .bag file (because i want to open the file using intel RS viewer....
+ When i open very short bag file then It keeps repeating itself and cannot be stopped.
do you know the solution too?
Plz help me Thx.
-
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).
-
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?
-
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.
Please sign in to leave a comment.
Comments
3 comments