--- Camera.py 2025-08-18 22:11:44.196140193 +0200
+++ Camera.py 2025-08-18 22:07:18.531758889 +0200
@@ -146,6 +146,8 @@
for prop_id, prop_value in self.props.items():
self.camera.set(prop_id, prop_value)
+ self.camera.set(cv.CAP_PROP_FOURCC, cv.VideoWriter_fourcc(*'MJPG'))
+
if self.camera is None:
return
s, self.image = self.camera.read()
Note: I like bCNC - a very fine tool! But I was never able to get the camera working. UI freezed. Till now:
Added above line and the camera can be used.
The fix is working on a x86_64 host and a raspberry pi 5.
It works for me ... but maybe I'm not able to add the correct parameters in the .bCNC config file. A detailed configuration help for Camera settings would be helpful.
Many thx for providing this CNC tool!
BR, Toni
Note: I like bCNC - a very fine tool! But I was never able to get the camera working. UI freezed. Till now:
Added above line and the camera can be used.
The fix is working on a x86_64 host and a raspberry pi 5.
It works for me ... but maybe I'm not able to add the correct parameters in the .bCNC config file. A detailed configuration help for Camera settings would be helpful.
Many thx for providing this CNC tool!
BR, Toni