#Issues with webcam OV5648 in mainsailos and crowsnest

20 messages · Page 1 of 1 (latest)

wheat fable
#

I added the IV5648 to my setup
Version see screenshot
Crowsnest.conf
[crowsnest]
log_path: ~/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true

[[cam OV5648_USB]
mode: mjpg # rtsp/mjpg
port: 8085 # Port
device: /dev/video0#/dev/v4l/by-id/usb-Vimicro_Corp._HBVCAM_FHD_CAMERA-video-index1 #/dev/video1 #/dev/video0 #/dev/v4l/by-id/usb-Sonix_Technology_Co.__Ltd._USB_2.0_1080P_Camera_SN0001-video-index0 # See Log for available ...
resolution: 1600x1200 #640x480 #1600x1200 #2048x1536 #1920x1080 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, ohterwise ignored/coerced.
custom_flags: --host=0.0.0.0 #--encoder=OMX # You can run the Stream Services with custom flags. # --host=0.0.0.0 --slowdown
v4l2ctl: focus_auto=0,focus_absolute=180,power_line_frequency=1,sharpness=4 # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.

the device thets notices, see screens, also lsusb lists the device, but when i want to set it up, i do not get a picture/video
see sceens

when i try to access "http://mainsailos/webcam/?action=stream" directly within my network i always get 502 bad Gateway nginx/1.18.0

any ideas?

quartz flicker
#

Why not sending directly your config? Or even better a log?

#

Currently there are multiple errors and I don't know if that's just some copy paste error or if you really did those

#

Also the sensor has nothing to do with your issue. Multiple cams can have the same sensor, so in the end, it depends on the manufacturer what is done with the sensor

cerulean umbraBOT
#

Ahoi @wheat fable!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

wheat fable
quartz flicker
#

Run cd ~/crowsnest && make update to fix the current problem

quartz flicker
#

After that is finished reboot and send a new log

wheat fable
#

did it, reports make[2]: Leaving directory '/home/pi/crowsnest/bin/camera-streamer'
Build 'camera-streamer' ... [SUCCESS]
make[1]: Leaving directory '/home/pi/crowsnest'

quartz flicker
#

Nvm

wheat fable
quartz flicker
#

You got some old crowsnest version

#

Sry, missed that somehow

wheat fable
#

v4.1.9-1-gd75a3aeb

#

so updatemanager is not getting the right verions?

quartz flicker
#

No, your current install is a v3 install

#

The update process for that is messed up

wheat fable
#

okay ill try the guide thx so far

quartz flicker
#

Follow the instructions I sent, to correctly update