Coder Social home page Coder Social logo

Comments (7)

ludiazv avatar ludiazv commented on August 27, 2024

WebCam service changed with in recent versions of octopi. Commands in #9 are not sufficient now. Another service must be started called streamer_select.service which is disabled by default. Run pi/scripts/citrico-config and enable webcam service and reboot. This service will on every boot active webcamd or hls_streamer (experimental) on each boot based on the configuration file.

A quick fix is also to create the file that webcamd service needs to start:
sudo touch /etc/octopi_streamer/mjpeg

from octocitrico.

murmlei avatar murmlei commented on August 27, 2024

Thank you for the advice. For some reason I can't figure out how to turn on the streamer_select.service through the citrico-config. Any navigational key I hit just changes between the listed items or 'OK' and 'Cancel', pressing enter just turns on all the features already turned on.

With the sudo touch /etc/octopi_streamer/mjpeg I get a 'cannot touch '/etc/octopi_streamer/mjpeg': No such file or directory.

from octocitrico.

ludiazv avatar ludiazv commented on August 27, 2024

does /etc/octopi_streamer directory exists? Create it if not and then run the touch command

from octocitrico.

murmlei avatar murmlei commented on August 27, 2024

I created the /etc/octopi_streamer directory and ran the touch command, but still in OctoPrint I'm getting an error of the server not running.

from octocitrico.

murmlei avatar murmlei commented on August 27, 2024

I have managed to start the service, which I can confirm from the citrico-config tool. Unfortunately the webcam is still not showing up.

from octocitrico.

ludiazv avatar ludiazv commented on August 27, 2024

Can you provide the logs of webcamd.service? Is this service enabled?

Also check #11. As in some cases you have to modify boot.txt with correct video device with the option -d in camera_usb_option

from octocitrico.

murmlei avatar murmlei commented on August 27, 2024

It works now!

I looked at the webcam.service logs and it seemed like it was trying to find the camera in the wrong place.

Changing camera_usb_options="-d /dev/video1 -r 1920x1080 -f 30" in octopi.txt seemed to make it work now.

Thank you very much for all your help!

from octocitrico.

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.