Closed xtomasnemec closed 1 year ago
And this does not happen when not using the plugin? The plugin doesn't affect the stream other than setting the specific settings, and this would normally be related to issues outside of this plugin.
No @The-EG
What settings have you set? Can you narrow it down to specific settings? Again, this is normally indicative of an issue with the streamer or camera itself and not this plugin.
Maybe said another way: if I can't reproduce this, I can't fix it.
I only changed the bitrate settings to: Constant Bitrate, Video bitrate: 25000000
I think i could set sudo service webcamd restart
to run at boot but i don't know how to do that.
Ah, so it does this until you restart webcamd
?
yes
Ok, not much I can do about that from the plugin. That is not uncommon with the raspicams unfortunately, sometimes the camera service gets started a bit too soon.
You could create a custom system command that will add an item in OctoPrint's system menu (along side shutdown and restart): https://docs.octoprint.org/en/master/configuration/config_yaml.html#system At least then you wouldn't have to ssh in when it happens:
You'd need to add the following to octoprint's config.yaml in the proper section:
system:
actions:
- action: Restart Webcam
command: sudo service webcamd restart
confirm: You are about to restart the webcam.
name: Restart Webcam
I added .sh to /etc/init.d/ and that should work
I added the command to event manger
Observed behavior Colors are not displaing properly They are working properly when i use![Snímek obrazovky 2023-03-20 181832](https://user-images.githubusercontent.com/40271551/226418504-beb4c734-ff95-4a91-9116-780d240d9cc1.png)
sudo service webcamd restart
OctoPrint Version 1.8.7
CameraSettings Plugin Version 0.4.1
Camera Pi Camera V2.1
Linux/OctoPi Octopi 1.0.0
Other Plugins No