Skip to content

Trouble acquiring stream on Raspberry Pi (Raspbian) #12

Description

@DoctorWhoof

Hi, thanks so much for this crate!
I managed to get it running without issues on MacOS, and I can compile on a raspberry Pi.

When I run the program on a raspberry Pi "device.streams()" returns an empty vector, even though I get these devices listed when I print out "ctx.devices()":

Available devices:
    Description { uri: "v4l:///dev/video0", product: "mmal service 16.1" }
    Description { uri: "v4l:///dev/video22", product: "bcm2835-isp" }
    Description { uri: "v4l:///dev/video21", product: "bcm2835-isp" }
    Description { uri: "v4l:///dev/video15", product: "bcm2835-isp" }
    Description { uri: "v4l:///dev/video14", product: "bcm2835-isp" }

There's a camera connected and it is functional, I believe it's the "/dev/video0", listed above. Is there anything I'm missing?
The repo with the program, a single main.rs file, is here:

https://github.com/DoctorWhoof/motion-detect

Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions