8000 CoBang QR Reader works with USB webcam but not with MIPI CSI camera (rpicam) · Issue #138 · hongquan/CoBang · GitHub
[go: up one dir, main page]

Skip to content

CoBang QR Reader works with USB webcam but not with MIPI CSI camera (rpicam) #138

Open

Description

@hirenvp

I installed the CoBang QR code reader using pi-apps on Raspberry Pi.

  • The application works correctly when using a USB webcam.
  • However, when I try to use a MIPI CSI camera, the app does not work.
  • I attempted to stream the MIPI camera using the rpicam tool, but the video stream is not recognized or routed to the CoBang application.

I would like to understand:

  • Does the CoBang app support only USB webcams?
  • Is there any way to configure CoBang to work with a MIPI CSI camera (via libcamera / rpicam)?

Activity

  1. hongquan commented on Dec 25, 2025

    @hongquan
    Owner

    Hi.

    CoBang supports libcamera, but indirectly via Pipewire. In some old version of Ubuntu / Debian (which Raspberry Pi OS is based on), the Pipewire + libcamera had a bug that makes some models of camera not working, if you remove the libcamera, the camera would work again. So as long as your camera is supported by Pipewire + libcamera, CoBang will work, too.

    Could I know your OS version, Pipewire and libcamera version.

    I don't have an Raspberry Pi with camera on my hand, so I cannot test with MIPI CSI camera.

  2. hongquan commented on Dec 25, 2025

    @hongquan
    Owner

    Could I know which exact software you used for streaming video? By leveraging GStreamer, CoBang should work with video stream, but I haven't added the "discovery" feature or UI to adding video URL. If I know which software you use, which protocol it uses, I can start adding this feature.

  3. hirenvp commented on Dec 25, 2025

    @hirenvp
    Author

    Operating System: Raspberry Pi Debian Trixie
    Kernel Version: 6.18
    libcamera Version: v0.6.0+rpt20251202
    PipeWire: 1.4.2

  4. hongquan commented on Dec 25, 2025

    @hongquan
    Owner

    Your software stack looks very new. I think PipeWire + libcamera should work well with the Pi camera.

    Could you run CoBang with debug logging enabled:

    G_MESSAGES_DEBUG=cobang cobang

    I want to see the log, there may be helpful info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0