-
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
The captured video did not reach the specified frame rate #9659
Comments
Hi @nevynwong Are you using depth and RGB, or depth only please? |
I use both of them. Is this because of the long duration? |
If both RGB and depth streams are used then there is a chance that the FPS may lag. If you have auto-exposure enabled then disabling the RGB option Auto-Exposure Priority may enable the FPS to remain consistently at the FPS that you have set it to. This can be tested with the RealSense Viewer's RGB controls. |
I set that up, too. Whether it will also be related to computer configuration? |
If you are using Windows then you could bring up the Windows Task Manager interface, which is accessed with the Ctrl-Alt-Delete keyboard shortcut, and left-click on its 'Performance' option to view CPU and memory usage in real-time as your program is running. This will let you see whether the CPU has a very high percentage usage, or if the amount of computer memory available is reducing over time (known as a 'memory leak'). A high CPU usage or a memory leak (or both) could negatively impact the program's performance. If you are playing back a bag file with a script then you could also drag-and-drop the bag file into the center panel of the RealSense Viewer to play it back and compare its FPS performance to the method that you have been using to read the bag. |
I need to record the data for processing, and it is 60fps, can not be played back in the Viewer, will produce flash. |
If only the depth camera was used to collect the data, would this happen? |
It may be less likely to, but depth-only streams sometimes experience this kind of FPS lag too. What method are you using to record the data, please (e.g C# script). |
Here is my c# script. namespace National_Tester
} |
I must emphasize that my knowledge of C# coding in the SDK is limited, so thanks in advance for your patience. As a starting point, you could try reversing the order of the Spatial and Temporal filters, as Intel's post-processing documentation recommends applying Spatial and then Temporal (whilst your script applies Temporal and then Spatial). |
Thanks very much for the image. The difference between these two FPS types is explained in the link below. |
Hi @nevynwong Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
The video I collected was set at 60 frames, but in fact the results kept changing. Most of the time, there were only 20 or 30 frames per second, and the video I collected did not reach the specified frame rate. My videos are long, usually 30 minutes.
The text was updated successfully, but these errors were encountered: