Comments (6)
/dev/ttyACM0
is not a video device.
from octoprint-docker.
You usually don't need to set CAMERA_DEV
at all. The defaults will work for most people right out of the box.
from octoprint-docker.
thank you very much for your fast answer.
I changed the ttyacm0 from stack to /dev/ttyvideo0
and removed the camera-dev.
I had it working on my raspberry without docker. but I decided to try to update python to 3.8. after that octoprint wasn't working and wanted to try the docker system.
But now I stuck into a working octoprint without cam. in the portainer log console I see:
`Init v4L2 failed !! exit fatal
i: init_VideoIn failed
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
: Desired Resolution: 640 x 480
i: Frames Per Second.: -1
i: Format............: YUYV
i: JPEG Quality......: 80
i: TV-Norm...........: DEFAULT
libv4l2: error setting pixformat: Invalid argument
Unable to set format: 1448695129 res: 640x480
Init v4L2 failed !! exit fatal
i: init_VideoIn failed`
from octoprint-docker.
Did you look at the docker-compose.yml file? https://github.com/OctoPrint/octoprint-docker/blob/master/docker-compose.yml
from octoprint-docker.
I have tried the docker compose indeed, and I have nothing changed to it. so that's default.
but I see in my loggings: i: Using V4L2 device.: (null)
can you please tell me what I have to check change or look at?
I know that it's not a error in your work but a failure of my knowledge. Thanks for you patience and help.
from octoprint-docker.
From your original post it looked like you were mixing up configuration settings that probably don't need to be changed for your hardware.
The most likely cast is that you need to add start_x=1
kernel boot parameter to your raspberry pi to get your camera to work. https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md. After doing that, reboot, and try again, making sure you have /dev/video0:/dev/video0
as a device
in your compose file.
If that doesn't work, can you join either the discord.ocotprint.org #support-docker channel, or the octoprint support forum? This is for bugs and development, and those other 2 places are the best way for me to help you in real time.
from octoprint-docker.
Related Issues (20)
- marlin-binary-protocol missing
- Config_Directory not properly initiated HOT 3
- Q: what is the preffered method of updating the octoprint-docker container? HOT 1
- [BUG] octoprint/octoprint:latest or :1.8.6 not up to date HOT 4
- Q: octoprint-docker on Windows HOT 2
- Multiple Webcam Support
- [BUG] Multi camera support uses wrong port HOT 1
- Can't get webcam working
- Multiple processes of mjpg streamer started HOT 7
- [BUG] Webassets are not loaded when X-Script-Name is set HOT 3
- [BUG] Loading error: Passive login failed. raspi 4 HOT 8
- Docker container with camera-streamer HOT 3
- Shutdown/Reboot commands HOT 3
- [BUG] `undefined` tag is present on Dockerhub HOT 1
- AttributeError: 'Babel' object has no attribute 'app' HOT 5
- [BUG] validating /<path>/docker-compose.yml: (root) Additional property payload is not allowed HOT 2
- upgrade to bookworm release python HOT 3
- [BUG] and proposed fix for "PermissionError: [Errno 1] Operation not permitted" due to libseccomp2 HOT 1
- [BUG] mjpg_steamer fails and needs to be restarted
- Q: How do I use with CasaOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-docker.