Skip to content
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

Webcam isnt showing up. #237

Closed
patchido opened this issue Jan 27, 2024 · 1 comment
Closed

Webcam isnt showing up. #237

patchido opened this issue Jan 27, 2024 · 1 comment

Comments

@patchido
Copy link

patchido commented Jan 27, 2024

What happened

I have tried configuring my webcam so many ways with no success. i am using a btt pi v1.2 board. and my camera is a Steren brand.(just a cheap one)

my ls /dev/v4l/by-path/*
/dev/v4l/by-path/platform-5310000.usb-usb-0:1:1.0-video-index0 /dev/v4l/by-path/platform-5310000.usb-usb-0:1:1.0-video-index1

my crowsnest.conf(using 8081 since 8080 has fluidd web interface
[crowsnest] log_path: /home/biqu/printer_data/logs/crowsnest.log log_level: debug # Valid Options are quiet/verbose/debug delete_log: true # Deletes log on every restart, if set to true no_proxy: false

[cam 1] mode: ustreamer # ustreamer - Provides mjpg and snapshots. (All devices) # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only) enable_rtsp: true # If camera-streamer is used, this enables also usage of an rtsp server rtsp_port: 8554 # Set different ports for each device! port: 8081 # HTTP/MJPG Stream/Snapshot Port device: /dev/v4l/by-path/platform-5310000.usb-usb-0:1:1.0-video-index0 # See Log for available ... resolution: 3840x2160 # widthxheight format max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced. #custom_flags: # You can run the Stream Services with custom flags. #v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.

my logs:
[01/27/24 23:10:20] crowsnest: INFO: Detect available Devices [01/27/24 23:10:20] crowsnest: INFO: Found 1 total available Device(s) [01/27/24 23:10:20] crowsnest: INFO: Found 1 available v4l2 (UVC) camera(s) [01/27/24 23:10:20] crowsnest: /dev/v4l/by-id/usb-GENERAL_GENERAL_WEBCAM-video-index0 -> /dev/video0 [01/27/24 23:10:20] crowsnest: Supported Formats: [01/27/24 23:10:20] crowsnest: [0]: 'MJPG' (Motion-JPEG, compressed) [01/27/24 23:10:20] crowsnest: Size: Discrete 3840x2160

i am able to get shots from the camera through comand line (so the camera actually works on my board
fswebcam -r 1280x720 --no-banner /home/biqu/printer_data/config/image.jpg

What did you expect to happen

camera should be able to work since i can get a picture through command line

How to reproduce

its difficult to reproduce without the hardware.

Additional information

No response

@patchido patchido added the bug Something isn't working label Jan 27, 2024
@mryel00 mryel00 added not an Issue and removed bug Something isn't working labels Jan 27, 2024
Copy link

Ahoi!

It looks like this ticket is a request for help (or similar).
Many helpful people will not see your message here and you are
unlikely to get a useful response.

We use the Github Issue-Tracker only for development related
topics, like feature requests, bug reports etc. To get help,
please join our Discord-Server or ask in Github Discussions:

This ticket will be automatically closed.

Fair wind and a following sea!
~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.

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

No branches or pull requests

2 participants