Skip to content

uvc_bindings.InitError: Can't start isochronous stream: Error:'Mode not supported'. #96

@ErfolgreichCharismatisch

Description

I am iterating through different modes on my raspberry pi with

for mode in cap.available_modes:
    was = f"{cap.name} running at {mode}"

and I get the frame in a loop:

frame = cap.get_frame_robust() 
fd.write(frame.jpeg_buffer)

Now when going to higher resolutions and framerates, even though the supported boolean is set, I get

Traceback (most recent call last):
  File "/home/pi/display/testLibUVC.py", line 42, in <module>
    frame = cap.get_frame_robust()
            ^^^^^^^^^^^^^^^^^^^^^^
  File "uvc_bindings.pyx", line 675, in uvc_bindings.Capture.get_frame_robust
  File "uvc_bindings.pyx", line 689, in uvc_bindings.Capture.get_frame
  File "uvc_bindings.pyx", line 651, in uvc_bindings.Capture._start
uvc_bindings.InitError: Can't start isochronous stream: Error:'Mode not supported'.

For lower res it works. Where's the bottleneck?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions