Hi, I am using Intel realsesne d415 device. I find that the depth video is running at 30fps, similarly when I look at the RGB data it is less than 30fps for the same video. How is it possible?
-
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
- Consider checking out SDK examples.
- Have you looked in our documentations?
- Is you question a frequently asked one?
- Try searching our GitHub Issues (open and closed) for a similar issue.
-
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
| Required Info | |
|---|---|
| Camera Model | { R200 / F200 / SR300 / ZR300 / D400 } |
| Firmware Version | (Open RealSense Viewer --> Click info) |
| Operating System & Version | {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS |
| Kernel Version (Linux Only) | (e.g. 4.14.13) |
| Platform | PC/Raspberry Pi/ NVIDIA Jetson / etc.. |
| SDK Version | { legacy / 2.>.> } |
| Language | {C/C#/labview/nodejs/opencv/pcl/python/unity } |
| Segment | {Robot/Smartphone/VR/AR/others } |
Issue Description
<Describe your issue / question / feature request / etc..>
[Realsense Customer Engineering Team Comment] hi @ankith001,
yes, RGB and depth are separate camera so different frame rate for depth and RGB is possible.
[Realsense Customer Engineering Team Comment] hi @ankith001,
do you need more support on this topic?
I'm experiencing a similar issue on D435: when I stream RGB, ir, and Depth at 30 fps at 1280x720, I realize that I do not achieve the desired framerate. Streaming 5 minutes of video at 30fps should yield approximately 9000 frames, but I only achieve 6204 depth frames, 5834 ir frames, and 6180 rgb frames. When I run either only depth and ir or only rgb, I get near the full framerate.
My code is as follow:
length = 1280
width = 720
fps = 30
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, length, width, rs.format.z16, fps)
config.enable_stream(rs.stream.infrared, length, width, rs.format.y8, fps)
config.enable_stream(rs.stream.color, length, width, rs.format.rgb8, fps)
config.enable_record_to_file('./path2bag')
try:
pipeline.start(config)
time.sleep(60*5)
finally:
pipeline.stop()
[Realsense Customer Engineering Team Comment] Hi @upxela,
The similar issue with #2216. Checking the fix.
I still don’t know why do we get two different answers from realsense team. We still are facing the issue of different frames. Please verify and let us know about the issue.
On Mon, Sep 24, 2018 at 10:47 PM RealSense Customer Engineering < [email protected]> wrote:
[Realsense Customer Engineering Team Comment] Hi @upxela https://github.com/upxela,
The similar issue with #2216 https://github.com/IntelRealSense/librealsense/issues/2216. Checking the fix.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/2255#issuecomment-424214913, or mute the thread https://github.com/notifications/unsubscribe-auth/AZMN-BCIQoOhclhCFBJkkxFSdfiteFOSks5uecNigaJpZM4WAii_ .
-- Thanks, Ankith
[Realsense Customer Engineering Team Comment] hi @ankith001,
The previous response is for the bag record/playback issue. To further clarify your issue about the difference between depth FPS and RGB FPS, can you let me know how large FPS difference you see? which librealsense version and firmware do you use?
[Realsense Customer Engineering Team Comment] Hi @ankith001,
Another check is to verify the impact of the exposure. See #2436.
Hi,
I see around 7-10 FPS difference between depth and RGB FPS.
On Mon, Sep 24, 2018 at 11:58 PM RealSense Customer Engineering < [email protected]> wrote:
[Realsense Customer Engineering Team Comment] hi @ankith001 https://github.com/ankith001,
The previous response is for the bag record/playback issue. To further clarify your issue about the difference between depth FPS and RGB FPS, can you let me know how large FPS difference you see? which librealsense version and firmware do you use?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/2255#issuecomment-424228828, or mute the thread https://github.com/notifications/unsubscribe-auth/AZMN-PzZX8OHNS7oy-4a5wiSZwmttqT-ks5uedQLgaJpZM4WAii_ .
-- Thanks, Ankith
[Realsense Customer Engineering Team Comment] Hi @ankith001,
You can control RGB AE or Auto-Exposure Priority to see how it works.
I have enabled Auto Exposure-Priority. But still, I face the decrease in my FPS both in depth and RGB. It's 1 in 50 times I get 30 FPS for depth and RGB.
Thanks, Ankith
On Wed, Sep 26, 2018 at 10:36 PM RealSense Customer Engineering < [email protected]> wrote:
[Realsense Customer Engineering Team Comment] Hi @ankith001 https://github.com/ankith001,
You can control RGB AE or Auto-Exposure Priority to see how it works.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/2255#issuecomment-424964751, or mute the thread https://github.com/notifications/unsubscribe-auth/AZMN-LnqaQiCpwhOqbw2_Z4_a5-5If2Zks5ufGPqgaJpZM4WAii_ .
[Realsense Customer Engineering Team Comment] Hi @ankith001, To keep the required FPS, you can try below:
- This can be forced by disabling Exposure Priority control (this way auto-exposure will not reduce RGB FPS).
- Disable auto exposure.
Thanks, How to ensure I get constant FPS even in Depth. Because the FPS in depth also varies
Thanks, Ankith
On Tue, Oct 2, 2018 at 1:11 AM RealSense Customer Engineering < [email protected]> wrote:
[Realsense Customer Engineering Team Comment] Hi @ankith001 https://github.com/ankith001, To keep the required FPS, you can try below:
- This can be forced by disabling Exposure Priority control (this way auto-exposure will not reduce RGB FPS).
- Disable auto exposure.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/2255#issuecomment-426186948, or mute the thread https://github.com/notifications/unsubscribe-auth/AZMN-Pj4Rt7U4TErylvDIBNnUGnl9JOZks5ugx-2gaJpZM4WAii_ .
[Realsense Customer Engineering Team Comment] Hi @ankith001,
What's your test scene to have the varying FPS for Depth and Color? You can also disable auto exposure for depth to keep FPS. But, you need to manually control the exposure value according to your test scene.
[Realsense Customer Engineering Team Comment] Hi @ankith001,
How is your test result? Is the issue clarified?
[Realsense Customer Engineering Team Comment] Hi @ankith001,
How is your test result? Is the issue clarified?