Closed patchido closed 5 months ago
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.
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: 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