GithubHelp home page GithubHelp logo

Comments (6)

LongLiveCHIEF avatar LongLiveCHIEF commented on May 28, 2024

/dev/ttyACM0 is not a video device.

from octoprint-docker.

LongLiveCHIEF avatar LongLiveCHIEF commented on May 28, 2024

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.

remb0 avatar remb0 commented on May 28, 2024

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.

LongLiveCHIEF avatar LongLiveCHIEF commented on May 28, 2024

Did you look at the docker-compose.yml file? https://github.com/OctoPrint/octoprint-docker/blob/master/docker-compose.yml

from octoprint-docker.

remb0 avatar remb0 commented on May 28, 2024

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.

LongLiveCHIEF avatar LongLiveCHIEF commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.