Hi Everyone, I have a weird behavior and coming to the source to find-out what is the trick .
I have crownest configured for the Camera. booting the printer, I get a grey square instead of the camera view.
IF I go to config file, add a space for ex in some comment area, save ( with automatic restart), after few times 2 or 3, or ..6 ! ) I finally get the proper camera picture. Anyone would have insight on the possible cause ?
do not know if it may be linked to klipper or mainsail. ( or both ..)
Thanks for your help
#Crownest : Camera stream is working chaoticaly
1 messages · Page 1 of 1 (latest)
Ahoi @kindred sluice!
Welcome to the Mainsail support-forum!
There is a problem with the tags you selected for this post. Please fix them to fit your question.
For further information on tags please check the readme: #readme message
To change the tags of this post:
- Open the
...menu on the top right corner of this post. - Find
Edit tags - Select the checkbox of the correct tags.
Usually you just need to select one tag!
If you still have no idea which one to choose, feel free to ask here.
Note: This is an automated message
Thanks for your cooperation!
Ahoi @kindred sluice!
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
Config file :
[crowsnest]
log_path: /home/pi/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
no_proxy: false
[cam 1]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
#mode: ustreamer # camera-streamer - Provides webrtc, mjpg and snapshots. ( rpi + Raspi OS based only)
enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554 # Set different ports for each device!
port: 8080 # HTTP/MJPG Stream/Snapshot Port
#resolution: 640x480 # widthxheight format
#max_fps: 15
device: /dev/v4l/by-id/usb-HD_WEBCAM_HD_WEBCAM_201207-video-index0 # See Log for available ...
#device: /dev/v4l/by-path/platform-5200000.ehci1-controller-usb-0:1.2:1.0-video-index0
resolution: 640x480 # 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.
and log file when it is working : 4 16:30:52] crowsnest: brightness 0x00980900 (int) : min=1 max=255 step=1 default=128 value=128
[09/20/24 16:30:52] crowsnest: contrast 0x00980901 (int) : min=1 max=255 step=1 default=128 value=128
[09/20/24 16:30:52] crowsnest: saturation 0x00980902 (int) : min=1 max=255 step=1 default=128 value=128
[09/20/24 16:30:52] crowsnest: white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
[09/20/24 16:30:52] crowsnest: gain 0x00980913 (int) : min=1 max=100 step=1 default=50 value=50
[09/20/24 16:30:52] crowsnest: power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=1
[09/20/24 16:30:52] crowsnest: 0: Disabled
[09/20/24 16:30:52] crowsnest: 1: 50 Hz
[09/20/24 16:30:52] crowsnest: 2: 60 Hz
[09/20/24 16:30:52] crowsnest: white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4650 value=4650 flags=inactive
[09/20/24 16:30:52] crowsnest: sharpness 0x0098091b (int) : min=1 max=255 step=1 default=128 value=128
[09/20/24 16:30:52] crowsnest: exposure_auto 0x009a0901 (menu) : min=0 max=3 default=0 value=0
[09/20/24 16:30:52] crowsnest: 0: Auto Mode
[09/20/24 16:30:52] crowsnest: 2: Shutter Priority Mode
[09/20/24 16:30:52] crowsnest: exposure_absolute 0x009a0902 (int) : min=5 max=2500 step=1 default=5 value=5 flags=inactive
[09/20/24 16:30:52] crowsnest: exposure_auto_priority 0x009a0903 (bool) : default=0 value=0
[09/20/24 16:30:52] crowsnest: Try to start configured Cams / Services...
[09/20/24 16:30:54] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue ...
[09/20/24 16:30:55] crowsnest: V4L2 Control: No parameters set for [cam 1]. Skipped.
[09/20/24 16:30:57] crowsnest: Starting ustreamer with Device /dev/video0 ...
[09/20/24 16:30:58] crowsnest: ... Done!
Note: We only accept .log and .txt files as log files.
That's not a log file, that's just some area that you think looks good
And the best thing is, that's even a log part when it work, so basically useless to troubleshoot your problem
Wait it gets even better, that's from 20.09, so nearly two weeks old
@midnight bolt : it's all my problem, it is chaotic. Will provide .txt and log files just fresh
here are the 2 files, from last boot of the printer ( ie , video was not working )
config and logs
Don't ping me please