-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L515-Export images from recorded bag file, but each time the output images' quantities are different. How to resolve the problem? #11066
Comments
Hi @Ceciliammm Please try inserting the two lines below on the line after your pipeline.start(config) line to define set_real_time as 'false'. When accessing a bag file, this can make playback of frames more stable and reliable than when set_real_time is at its default setting of 'true'.
So the code should look like this:
|
Hi, @MartyG-RealSense , whether I put these two lines before or after pipeline.start(config), the images' quantity changes each time.
|
It is common for the number of frames exported from a bag file to change from session to session. It occurs even on the RealSense SDK's official bag extraction tool rs-convert. As you are using three stream types simultaneously (depth, infrared and color), you may achieve more stability if you increase the frame queue size value to add latency to the pipeline and so reduce the risk of frame drops. Code for doing so in Python can be found at #6448 |
Hi @Ceciliammm Do you require further assistance with this case, please? Thanks! |
no, thank you very much! |
You are very welcome. Thanks very much for the update! As you do not require further assistance, I will close this case. Thanks again! |
My codes are shown below:
The text was updated successfully, but these errors were encountered: